From 905113a53cfd392c5c8818b45ba3996b2b78936b Mon Sep 17 00:00:00 2001 From: Richard Anaya Date: Fri, 27 Sep 2024 07:29:04 -0700 Subject: [PATCH] generating new html --- 00_ar.html | 81 +++++++ 00_de.html | 83 +++++++ 00_es.html | 83 +++++++ 00_fa.html | 77 +++++++ 00_fi.html | 88 ++++++++ 00_fr.html | 83 +++++++ 00_gr.html | 76 +++++++ 00_hu.html | 82 +++++++ 00_id.html | 77 +++++++ 00_ie.html | 53 +++++ 00_it.html | 80 +++++++ 00_ja.html | 81 +++++++ 00_ko.html | 77 +++++++ 00_pl.html | 75 +++++++ 00_pt-br.html | 77 +++++++ 00_ro.html | 86 +++++++ 00_ru.html | 80 +++++++ 00_th.html | 76 +++++++ 00_tr.html | 75 +++++++ 00_ua.html | 76 +++++++ 00_vi.html | 80 +++++++ 00_zh-cn.html | 77 +++++++ 00_zh-tw.html | 77 +++++++ 02_ar.html | 54 +++++ 02_de.html | 55 +++++ 02_en.html | 54 +++++ 02_es.html | 54 +++++ 02_fa.html | 54 +++++ 02_fi.html | 54 +++++ 02_fr.html | 54 +++++ 02_gr.html | 54 +++++ 02_hu.html | 56 +++++ 02_id.html | 54 +++++ 02_ie.html | 53 +++++ 02_it.html | 54 +++++ 02_ja.html | 54 +++++ 02_ko.html | 54 +++++ 02_pl.html | 54 +++++ 02_pt-br.html | 54 +++++ 02_ro.html | 54 +++++ 02_ru.html | 54 +++++ 02_th.html | 54 +++++ 02_tr.html | 54 +++++ 02_ua.html | 54 +++++ 02_vi.html | 54 +++++ 02_zh-cn.html | 54 +++++ 02_zh-tw.html | 54 +++++ 03_ar.html | 57 +++++ 03_de.html | 53 +++++ 03_en.html | 58 +++++ 03_es.html | 58 +++++ 03_fa.html | 58 +++++ 03_fi.html | 56 +++++ 03_fr.html | 59 +++++ 03_gr.html | 56 +++++ 03_hu.html | 58 +++++ 03_id.html | 56 +++++ 03_ie.html | 53 +++++ 03_it.html | 58 +++++ 03_ja.html | 57 +++++ 03_ko.html | 58 +++++ 03_pl.html | 57 +++++ 03_pt-br.html | 57 +++++ 03_ro.html | 58 +++++ 03_ru.html | 56 +++++ 03_th.html | 56 +++++ 03_tr.html | 56 +++++ 03_ua.html | 56 +++++ 03_vi.html | 56 +++++ 03_zh-cn.html | 56 +++++ 03_zh-tw.html | 56 +++++ 04_ar.html | 59 +++++ 04_de.html | 62 ++++++ 04_en.html | 60 +++++ 04_es.html | 60 +++++ 04_fa.html | 60 +++++ 04_fi.html | 59 +++++ 04_fr.html | 60 +++++ 04_gr.html | 59 +++++ 04_hu.html | 62 ++++++ 04_id.html | 59 +++++ 04_ie.html | 53 +++++ 04_it.html | 60 +++++ 04_ja.html | 59 +++++ 04_ko.html | 59 +++++ 04_pl.html | 59 +++++ 04_pt-br.html | 59 +++++ 04_ro.html | 60 +++++ 04_ru.html | 59 +++++ 04_th.html | 59 +++++ 04_tr.html | 59 +++++ 04_ua.html | 59 +++++ 04_vi.html | 59 +++++ 04_zh-cn.html | 59 +++++ 04_zh-tw.html | 59 +++++ 05_ar.html | 70 ++++++ 05_de.html | 71 ++++++ 05_en.html | 70 ++++++ 05_es.html | 66 ++++++ 05_fa.html | 69 ++++++ 05_fi.html | 67 ++++++ 05_fr.html | 71 ++++++ 05_gr.html | 66 ++++++ 05_hu.html | 78 +++++++ 05_id.html | 69 ++++++ 05_ie.html | 53 +++++ 05_it.html | 68 ++++++ 05_ja.html | 67 ++++++ 05_ko.html | 68 ++++++ 05_pl.html | 66 ++++++ 05_pt-br.html | 66 ++++++ 05_ro.html | 70 ++++++ 05_ru.html | 66 ++++++ 05_th.html | 67 ++++++ 05_tr.html | 66 ++++++ 05_ua.html | 66 ++++++ 05_vi.html | 68 ++++++ 05_zh-cn.html | 67 ++++++ 05_zh-tw.html | 68 ++++++ 06_ar.html | 54 +++++ 06_de.html | 56 +++++ 06_en.html | 56 +++++ 06_es.html | 54 +++++ 06_fa.html | 56 +++++ 06_fi.html | 54 +++++ 06_fr.html | 55 +++++ 06_gr.html | 54 +++++ 06_hu.html | 55 +++++ 06_id.html | 56 +++++ 06_ie.html | 53 +++++ 06_it.html | 55 +++++ 06_ja.html | 54 +++++ 06_ko.html | 54 +++++ 06_pl.html | 54 +++++ 06_pt-br.html | 54 +++++ 06_ro.html | 56 +++++ 06_ru.html | 54 +++++ 06_th.html | 54 +++++ 06_tr.html | 54 +++++ 06_ua.html | 54 +++++ 06_vi.html | 54 +++++ 06_zh-cn.html | 54 +++++ 06_zh-tw.html | 54 +++++ 07_ar.html | 55 +++++ 07_de.html | 57 +++++ 07_en.html | 58 +++++ 07_es.html | 55 +++++ 07_fa.html | 58 +++++ 07_fi.html | 55 +++++ 07_fr.html | 58 +++++ 07_gr.html | 55 +++++ 07_hu.html | 57 +++++ 07_id.html | 60 +++++ 07_ie.html | 53 +++++ 07_it.html | 56 +++++ 07_ja.html | 56 +++++ 07_ko.html | 56 +++++ 07_pl.html | 55 +++++ 07_pt-br.html | 55 +++++ 07_ro.html | 57 +++++ 07_ru.html | 55 +++++ 07_th.html | 55 +++++ 07_tr.html | 54 +++++ 07_ua.html | 55 +++++ 07_vi.html | 55 +++++ 07_zh-cn.html | 55 +++++ 07_zh-tw.html | 56 +++++ 08_ar.html | 56 +++++ 08_de.html | 55 +++++ 08_en.html | 56 +++++ 08_es.html | 55 +++++ 08_fa.html | 55 +++++ 08_fi.html | 56 +++++ 08_fr.html | 58 +++++ 08_gr.html | 55 +++++ 08_hu.html | 58 +++++ 08_id.html | 55 +++++ 08_ie.html | 56 +++++ 08_it.html | 56 +++++ 08_ja.html | 55 +++++ 08_ko.html | 55 +++++ 08_pl.html | 55 +++++ 08_pt-br.html | 55 +++++ 08_ro.html | 56 +++++ 08_ru.html | 55 +++++ 08_th.html | 55 +++++ 08_tr.html | 55 +++++ 08_ua.html | 55 +++++ 08_vi.html | 56 +++++ 08_zh-cn.html | 55 +++++ 08_zh-tw.html | 55 +++++ 09_ar.html | 57 +++++ 09_de.html | 56 +++++ 09_en.html | 57 +++++ 09_es.html | 55 +++++ 09_fa.html | 56 +++++ 09_fi.html | 57 +++++ 09_fr.html | 56 +++++ 09_gr.html | 55 +++++ 09_hu.html | 55 +++++ 09_id.html | 55 +++++ 09_ie.html | 53 +++++ 09_it.html | 57 +++++ 09_ja.html | 55 +++++ 09_ko.html | 55 +++++ 09_pl.html | 55 +++++ 09_pt-br.html | 55 +++++ 09_ro.html | 57 +++++ 09_ru.html | 56 +++++ 09_th.html | 56 +++++ 09_tr.html | 55 +++++ 09_ua.html | 55 +++++ 09_vi.html | 57 +++++ 09_zh-cn.html | 55 +++++ 09_zh-tw.html | 55 +++++ 100_ar.html | 54 +++++ 100_de.html | 56 +++++ 100_en.html | 56 +++++ 100_es.html | 54 +++++ 100_fa.html | 56 +++++ 100_fi.html | 56 +++++ 100_fr.html | 57 +++++ 100_gr.html | 56 +++++ 100_hu.html | 56 +++++ 100_id.html | 56 +++++ 100_ie.html | 55 +++++ 100_it.html | 56 +++++ 100_ja.html | 56 +++++ 100_ko.html | 55 +++++ 100_pl.html | 56 +++++ 100_pt-br.html | 54 +++++ 100_ro.html | 56 +++++ 100_ru.html | 54 +++++ 100_th.html | 54 +++++ 100_tr.html | 54 +++++ 100_ua.html | 56 +++++ 100_vi.html | 54 +++++ 100_zh-cn.html | 54 +++++ 100_zh-tw.html | 56 +++++ 101_ar.html | 55 +++++ 101_de.html | 58 +++++ 101_en.html | 58 +++++ 101_es.html | 55 +++++ 101_fa.html | 58 +++++ 101_fi.html | 58 +++++ 101_fr.html | 59 +++++ 101_gr.html | 58 +++++ 101_hu.html | 59 +++++ 101_id.html | 58 +++++ 101_ie.html | 58 +++++ 101_it.html | 58 +++++ 101_ja.html | 58 +++++ 101_ko.html | 57 +++++ 101_pl.html | 58 +++++ 101_pt-br.html | 55 +++++ 101_ro.html | 57 +++++ 101_ru.html | 55 +++++ 101_th.html | 56 +++++ 101_tr.html | 55 +++++ 101_ua.html | 58 +++++ 101_vi.html | 55 +++++ 101_zh-cn.html | 55 +++++ 101_zh-tw.html | 58 +++++ 102_ar.html | 55 +++++ 102_de.html | 60 +++++ 102_en.html | 60 +++++ 102_es.html | 55 +++++ 102_fa.html | 60 +++++ 102_fi.html | 60 +++++ 102_fr.html | 65 ++++++ 102_gr.html | 60 +++++ 102_hu.html | 63 ++++++ 102_id.html | 60 +++++ 102_ie.html | 59 +++++ 102_it.html | 60 +++++ 102_ja.html | 60 +++++ 102_ko.html | 60 +++++ 102_pl.html | 60 +++++ 102_pt-br.html | 55 +++++ 102_ro.html | 59 +++++ 102_ru.html | 56 +++++ 102_th.html | 56 +++++ 102_tr.html | 55 +++++ 102_ua.html | 60 +++++ 102_vi.html | 56 +++++ 102_zh-cn.html | 55 +++++ 102_zh-tw.html | 60 +++++ 103_ar.html | 60 +++++ 103_de.html | 62 ++++++ 103_en.html | 62 ++++++ 103_es.html | 60 +++++ 103_fa.html | 62 ++++++ 103_fi.html | 62 ++++++ 103_fr.html | 74 ++++++ 103_gr.html | 62 ++++++ 103_hu.html | 72 ++++++ 103_id.html | 62 ++++++ 103_ie.html | 62 ++++++ 103_it.html | 62 ++++++ 103_ja.html | 62 ++++++ 103_ko.html | 60 +++++ 103_pl.html | 62 ++++++ 103_pt-br.html | 60 +++++ 103_ro.html | 62 ++++++ 103_ru.html | 62 ++++++ 103_th.html | 60 +++++ 103_tr.html | 60 +++++ 103_ua.html | 60 +++++ 103_vi.html | 60 +++++ 103_zh-cn.html | 61 +++++ 103_zh-tw.html | 62 ++++++ 104_ar.html | 52 +++++ 104_de.html | 55 +++++ 104_en.html | 55 +++++ 104_es.html | 51 +++++ 104_fa.html | 55 +++++ 104_fi.html | 55 +++++ 104_fr.html | 55 +++++ 104_gr.html | 55 +++++ 104_hu.html | 55 +++++ 104_id.html | 55 +++++ 104_ie.html | 54 +++++ 104_it.html | 55 +++++ 104_ja.html | 55 +++++ 104_ko.html | 54 +++++ 104_pl.html | 55 +++++ 104_pt-br.html | 51 +++++ 104_ro.html | 55 +++++ 104_ru.html | 53 +++++ 104_th.html | 52 +++++ 104_tr.html | 52 +++++ 104_ua.html | 52 +++++ 104_vi.html | 51 +++++ 104_zh-cn.html | 51 +++++ 104_zh-tw.html | 55 +++++ 106_ar.html | 55 +++++ 106_de.html | 54 +++++ 106_en.html | 55 +++++ 106_es.html | 55 +++++ 106_fa.html | 55 +++++ 106_fi.html | 55 +++++ 106_fr.html | 56 +++++ 106_gr.html | 55 +++++ 106_hu.html | 57 +++++ 106_id.html | 55 +++++ 106_ie.html | 54 +++++ 106_it.html | 55 +++++ 106_ja.html | 55 +++++ 106_ko.html | 55 +++++ 106_pl.html | 55 +++++ 106_pt-br.html | 55 +++++ 106_ro.html | 55 +++++ 106_ru.html | 56 +++++ 106_th.html | 55 +++++ 106_tr.html | 56 +++++ 106_ua.html | 55 +++++ 106_vi.html | 55 +++++ 106_zh-cn.html | 55 +++++ 106_zh-tw.html | 55 +++++ 107_ar.html | 51 +++++ 107_de.html | 51 +++++ 107_en.html | 51 +++++ 107_es.html | 51 +++++ 107_fa.html | 51 +++++ 107_fi.html | 51 +++++ 107_fr.html | 51 +++++ 107_gr.html | 51 +++++ 107_hu.html | 51 +++++ 107_id.html | 51 +++++ 107_ie.html | 51 +++++ 107_it.html | 51 +++++ 107_ja.html | 51 +++++ 107_ko.html | 51 +++++ 107_pl.html | 51 +++++ 107_pt-br.html | 51 +++++ 107_ro.html | 51 +++++ 107_ru.html | 51 +++++ 107_th.html | 51 +++++ 107_tr.html | 51 +++++ 107_ua.html | 51 +++++ 107_vi.html | 51 +++++ 107_zh-cn.html | 51 +++++ 107_zh-tw.html | 51 +++++ 108_ar.html | 51 +++++ 108_de.html | 51 +++++ 108_en.html | 51 +++++ 108_es.html | 51 +++++ 108_fa.html | 51 +++++ 108_fi.html | 51 +++++ 108_fr.html | 51 +++++ 108_gr.html | 51 +++++ 108_hu.html | 51 +++++ 108_id.html | 51 +++++ 108_ie.html | 51 +++++ 108_it.html | 51 +++++ 108_ja.html | 51 +++++ 108_ko.html | 51 +++++ 108_pl.html | 51 +++++ 108_pt-br.html | 51 +++++ 108_ro.html | 51 +++++ 108_ru.html | 51 +++++ 108_th.html | 51 +++++ 108_tr.html | 51 +++++ 108_ua.html | 51 +++++ 108_vi.html | 51 +++++ 108_zh-cn.html | 51 +++++ 108_zh-tw.html | 51 +++++ 109_ar.html | 61 +++++ 109_de.html | 57 +++++ 109_en.html | 59 +++++ 109_es.html | 56 +++++ 109_fa.html | 59 +++++ 109_fi.html | 59 +++++ 109_fr.html | 64 ++++++ 109_gr.html | 59 +++++ 109_hu.html | 63 ++++++ 109_id.html | 59 +++++ 109_ie.html | 56 +++++ 109_it.html | 59 +++++ 109_ja.html | 59 +++++ 109_ko.html | 59 +++++ 109_pl.html | 59 +++++ 109_pt-br.html | 56 +++++ 109_ro.html | 58 +++++ 109_ru.html | 56 +++++ 109_th.html | 57 +++++ 109_tr.html | 56 +++++ 109_ua.html | 59 +++++ 109_vi.html | 56 +++++ 109_zh-cn.html | 57 +++++ 109_zh-tw.html | 59 +++++ 10_ar.html | 55 +++++ 10_de.html | 56 +++++ 10_en.html | 57 +++++ 10_es.html | 55 +++++ 10_fa.html | 57 +++++ 10_fi.html | 55 +++++ 10_fr.html | 56 +++++ 10_gr.html | 55 +++++ 10_hu.html | 56 +++++ 10_id.html | 57 +++++ 10_ie.html | 53 +++++ 10_it.html | 56 +++++ 10_ja.html | 55 +++++ 10_ko.html | 55 +++++ 10_pl.html | 55 +++++ 10_pt-br.html | 55 +++++ 10_ro.html | 57 +++++ 10_ru.html | 55 +++++ 10_th.html | 55 +++++ 10_tr.html | 55 +++++ 10_ua.html | 55 +++++ 10_vi.html | 55 +++++ 10_zh-cn.html | 55 +++++ 10_zh-tw.html | 55 +++++ 110_ar.html | 54 +++++ 110_de.html | 54 +++++ 110_en.html | 54 +++++ 110_es.html | 54 +++++ 110_fa.html | 54 +++++ 110_fi.html | 54 +++++ 110_fr.html | 53 +++++ 110_gr.html | 54 +++++ 110_hu.html | 55 +++++ 110_id.html | 54 +++++ 110_ie.html | 58 +++++ 110_it.html | 54 +++++ 110_ja.html | 54 +++++ 110_ko.html | 54 +++++ 110_pl.html | 54 +++++ 110_pt-br.html | 54 +++++ 110_ro.html | 54 +++++ 110_ru.html | 54 +++++ 110_th.html | 54 +++++ 110_tr.html | 54 +++++ 110_ua.html | 54 +++++ 110_vi.html | 54 +++++ 110_zh-cn.html | 54 +++++ 110_zh-tw.html | 54 +++++ 111_ar.html | 56 +++++ 111_de.html | 57 +++++ 111_en.html | 59 +++++ 111_es.html | 56 +++++ 111_fa.html | 59 +++++ 111_fi.html | 59 +++++ 111_fr.html | 60 +++++ 111_gr.html | 59 +++++ 111_hu.html | 58 +++++ 111_id.html | 59 +++++ 111_ie.html | 55 +++++ 111_it.html | 59 +++++ 111_ja.html | 59 +++++ 111_ko.html | 58 +++++ 111_pl.html | 59 +++++ 111_pt-br.html | 56 +++++ 111_ro.html | 59 +++++ 111_ru.html | 58 +++++ 111_th.html | 57 +++++ 111_tr.html | 57 +++++ 111_ua.html | 59 +++++ 111_vi.html | 57 +++++ 111_zh-cn.html | 56 +++++ 111_zh-tw.html | 59 +++++ 112_ar.html | 54 +++++ 112_de.html | 54 +++++ 112_en.html | 56 +++++ 112_es.html | 54 +++++ 112_fa.html | 56 +++++ 112_fi.html | 56 +++++ 112_fr.html | 57 +++++ 112_gr.html | 56 +++++ 112_hu.html | 56 +++++ 112_id.html | 56 +++++ 112_ie.html | 62 ++++++ 112_it.html | 56 +++++ 112_ja.html | 56 +++++ 112_ko.html | 56 +++++ 112_pl.html | 56 +++++ 112_pt-br.html | 54 +++++ 112_ro.html | 56 +++++ 112_ru.html | 54 +++++ 112_th.html | 54 +++++ 112_tr.html | 54 +++++ 112_ua.html | 56 +++++ 112_vi.html | 54 +++++ 112_zh-cn.html | 54 +++++ 112_zh-tw.html | 56 +++++ 113_ar.html | 63 ++++++ 113_de.html | 63 ++++++ 113_en.html | 63 ++++++ 113_es.html | 63 ++++++ 113_fa.html | 63 ++++++ 113_fi.html | 63 ++++++ 113_fr.html | 65 ++++++ 113_gr.html | 63 ++++++ 113_hu.html | 63 ++++++ 113_id.html | 63 ++++++ 113_ie.html | 56 +++++ 113_it.html | 63 ++++++ 113_ja.html | 63 ++++++ 113_ko.html | 63 ++++++ 113_pl.html | 63 ++++++ 113_pt-br.html | 63 ++++++ 113_ro.html | 63 ++++++ 113_ru.html | 63 ++++++ 113_th.html | 63 ++++++ 113_tr.html | 63 ++++++ 113_ua.html | 63 ++++++ 113_vi.html | 65 ++++++ 113_zh-cn.html | 61 +++++ 113_zh-tw.html | 63 ++++++ 114_ar.html | 56 +++++ 114_de.html | 56 +++++ 114_en.html | 56 +++++ 114_es.html | 56 +++++ 114_fa.html | 56 +++++ 114_fi.html | 56 +++++ 114_fr.html | 57 +++++ 114_gr.html | 56 +++++ 114_hu.html | 57 +++++ 114_id.html | 56 +++++ 114_ie.html | 53 +++++ 114_it.html | 56 +++++ 114_ja.html | 56 +++++ 114_ko.html | 56 +++++ 114_pl.html | 56 +++++ 114_pt-br.html | 56 +++++ 114_ro.html | 56 +++++ 114_ru.html | 56 +++++ 114_th.html | 56 +++++ 114_tr.html | 56 +++++ 114_ua.html | 56 +++++ 114_vi.html | 56 +++++ 114_zh-cn.html | 56 +++++ 114_zh-tw.html | 56 +++++ 115_ar.html | 52 +++++ 115_de.html | 56 +++++ 115_en.html | 54 +++++ 115_es.html | 52 +++++ 115_fa.html | 54 +++++ 115_fi.html | 54 +++++ 115_fr.html | 57 +++++ 115_gr.html | 54 +++++ 115_hu.html | 56 +++++ 115_id.html | 54 +++++ 115_ie.html | 53 +++++ 115_it.html | 54 +++++ 115_ja.html | 54 +++++ 115_ko.html | 54 +++++ 115_pl.html | 54 +++++ 115_pt-br.html | 51 +++++ 115_ro.html | 54 +++++ 115_ru.html | 52 +++++ 115_th.html | 52 +++++ 115_tr.html | 52 +++++ 115_ua.html | 54 +++++ 115_vi.html | 52 +++++ 115_zh-cn.html | 52 +++++ 115_zh-tw.html | 54 +++++ 116_ar.html | 53 +++++ 116_de.html | 54 +++++ 116_en.html | 53 +++++ 116_es.html | 53 +++++ 116_fa.html | 53 +++++ 116_fi.html | 53 +++++ 116_fr.html | 54 +++++ 116_gr.html | 53 +++++ 116_hu.html | 54 +++++ 116_id.html | 53 +++++ 116_ie.html | 53 +++++ 116_it.html | 53 +++++ 116_ja.html | 53 +++++ 116_ko.html | 53 +++++ 116_pl.html | 53 +++++ 116_pt-br.html | 53 +++++ 116_ro.html | 53 +++++ 116_ru.html | 53 +++++ 116_th.html | 53 +++++ 116_tr.html | 53 +++++ 116_ua.html | 53 +++++ 116_vi.html | 53 +++++ 116_zh-cn.html | 53 +++++ 116_zh-tw.html | 53 +++++ 117_ar.html | 53 +++++ 117_de.html | 54 +++++ 117_en.html | 57 +++++ 117_es.html | 55 +++++ 117_fa.html | 57 +++++ 117_fi.html | 57 +++++ 117_fr.html | 57 +++++ 117_gr.html | 57 +++++ 117_hu.html | 55 +++++ 117_id.html | 57 +++++ 117_ie.html | 57 +++++ 117_it.html | 57 +++++ 117_ja.html | 57 +++++ 117_ko.html | 55 +++++ 117_pl.html | 57 +++++ 117_pt-br.html | 52 +++++ 117_ro.html | 57 +++++ 117_ru.html | 56 +++++ 117_th.html | 56 +++++ 117_tr.html | 54 +++++ 117_ua.html | 57 +++++ 117_vi.html | 54 +++++ 117_zh-cn.html | 54 +++++ 117_zh-tw.html | 57 +++++ 118_ar.html | 53 +++++ 118_de.html | 53 +++++ 118_en.html | 55 +++++ 118_es.html | 52 +++++ 118_fa.html | 55 +++++ 118_fi.html | 55 +++++ 118_fr.html | 56 +++++ 118_gr.html | 55 +++++ 118_hu.html | 56 +++++ 118_id.html | 55 +++++ 118_ie.html | 55 +++++ 118_it.html | 55 +++++ 118_ja.html | 55 +++++ 118_ko.html | 55 +++++ 118_pl.html | 55 +++++ 118_pt-br.html | 53 +++++ 118_ro.html | 55 +++++ 118_ru.html | 53 +++++ 118_th.html | 53 +++++ 118_tr.html | 52 +++++ 118_ua.html | 53 +++++ 118_vi.html | 53 +++++ 118_zh-cn.html | 53 +++++ 118_zh-tw.html | 55 +++++ 119_ar.html | 55 +++++ 119_de.html | 56 +++++ 119_en.html | 56 +++++ 119_es.html | 55 +++++ 119_fa.html | 56 +++++ 119_fi.html | 56 +++++ 119_fr.html | 59 +++++ 119_gr.html | 56 +++++ 119_hu.html | 58 +++++ 119_id.html | 56 +++++ 119_ie.html | 56 +++++ 119_it.html | 56 +++++ 119_ja.html | 56 +++++ 119_ko.html | 56 +++++ 119_pl.html | 56 +++++ 119_pt-br.html | 55 +++++ 119_ro.html | 56 +++++ 119_ru.html | 56 +++++ 119_th.html | 56 +++++ 119_tr.html | 55 +++++ 119_ua.html | 55 +++++ 119_vi.html | 55 +++++ 119_zh-cn.html | 55 +++++ 119_zh-tw.html | 56 +++++ 11_ar.html | 55 +++++ 11_de.html | 55 +++++ 11_en.html | 55 +++++ 11_es.html | 55 +++++ 11_fa.html | 55 +++++ 11_fi.html | 55 +++++ 11_fr.html | 56 +++++ 11_gr.html | 55 +++++ 11_hu.html | 57 +++++ 11_id.html | 55 +++++ 11_ie.html | 55 +++++ 11_it.html | 55 +++++ 11_ja.html | 55 +++++ 11_ko.html | 55 +++++ 11_pl.html | 55 +++++ 11_pt-br.html | 55 +++++ 11_ro.html | 55 +++++ 11_ru.html | 55 +++++ 11_th.html | 55 +++++ 11_tr.html | 55 +++++ 11_ua.html | 54 +++++ 11_vi.html | 55 +++++ 11_zh-cn.html | 55 +++++ 11_zh-tw.html | 55 +++++ 12_ar.html | 59 +++++ 12_de.html | 61 +++++ 12_en.html | 61 +++++ 12_es.html | 57 +++++ 12_fa.html | 61 +++++ 12_fi.html | 57 +++++ 12_fr.html | 61 +++++ 12_gr.html | 57 +++++ 12_hu.html | 63 ++++++ 12_id.html | 63 ++++++ 12_ie.html | 51 +++++ 12_it.html | 60 +++++ 12_ja.html | 60 +++++ 12_ko.html | 61 +++++ 12_pl.html | 57 +++++ 12_pt-br.html | 57 +++++ 12_ro.html | 61 +++++ 12_ru.html | 57 +++++ 12_th.html | 60 +++++ 12_tr.html | 58 +++++ 12_ua.html | 59 +++++ 12_vi.html | 58 +++++ 12_zh-cn.html | 61 +++++ 12_zh-tw.html | 60 +++++ 14_ar.html | 55 +++++ 14_de.html | 56 +++++ 14_en.html | 55 +++++ 14_es.html | 55 +++++ 14_fa.html | 55 +++++ 14_fi.html | 55 +++++ 14_fr.html | 56 +++++ 14_gr.html | 55 +++++ 14_hu.html | 57 +++++ 14_id.html | 55 +++++ 14_ie.html | 53 +++++ 14_it.html | 55 +++++ 14_ja.html | 55 +++++ 14_ko.html | 55 +++++ 14_pl.html | 55 +++++ 14_pt-br.html | 55 +++++ 14_ro.html | 55 +++++ 14_ru.html | 56 +++++ 14_th.html | 55 +++++ 14_tr.html | 55 +++++ 14_ua.html | 55 +++++ 14_vi.html | 55 +++++ 14_zh-cn.html | 55 +++++ 14_zh-tw.html | 55 +++++ 15_ar.html | 56 +++++ 15_de.html | 54 +++++ 15_en.html | 56 +++++ 15_es.html | 56 +++++ 15_fa.html | 56 +++++ 15_fi.html | 56 +++++ 15_fr.html | 56 +++++ 15_gr.html | 54 +++++ 15_hu.html | 56 +++++ 15_id.html | 56 +++++ 15_ie.html | 53 +++++ 15_it.html | 56 +++++ 15_ja.html | 55 +++++ 15_ko.html | 56 +++++ 15_pl.html | 56 +++++ 15_pt-br.html | 56 +++++ 15_ro.html | 56 +++++ 15_ru.html | 56 +++++ 15_th.html | 56 +++++ 15_tr.html | 55 +++++ 15_ua.html | 55 +++++ 15_vi.html | 56 +++++ 15_zh-cn.html | 55 +++++ 15_zh-tw.html | 56 +++++ 16_ar.html | 54 +++++ 16_de.html | 53 +++++ 16_en.html | 54 +++++ 16_es.html | 54 +++++ 16_fa.html | 54 +++++ 16_fi.html | 54 +++++ 16_fr.html | 54 +++++ 16_gr.html | 54 +++++ 16_hu.html | 54 +++++ 16_id.html | 54 +++++ 16_ie.html | 53 +++++ 16_it.html | 54 +++++ 16_ja.html | 54 +++++ 16_ko.html | 54 +++++ 16_pl.html | 54 +++++ 16_pt-br.html | 54 +++++ 16_ro.html | 54 +++++ 16_ru.html | 54 +++++ 16_th.html | 54 +++++ 16_tr.html | 54 +++++ 16_ua.html | 54 +++++ 16_vi.html | 54 +++++ 16_zh-cn.html | 54 +++++ 16_zh-tw.html | 54 +++++ 17_ar.html | 55 +++++ 17_de.html | 63 ++++++ 17_en.html | 62 ++++++ 17_es.html | 56 +++++ 17_fa.html | 62 ++++++ 17_fi.html | 62 ++++++ 17_fr.html | 62 ++++++ 17_gr.html | 57 +++++ 17_hu.html | 60 +++++ 17_id.html | 57 +++++ 17_ie.html | 53 +++++ 17_it.html | 57 +++++ 17_ja.html | 59 +++++ 17_ko.html | 59 +++++ 17_pl.html | 57 +++++ 17_pt-br.html | 56 +++++ 17_ro.html | 62 ++++++ 17_ru.html | 59 +++++ 17_th.html | 57 +++++ 17_tr.html | 57 +++++ 17_ua.html | 57 +++++ 17_vi.html | 60 +++++ 17_zh-cn.html | 57 +++++ 17_zh-tw.html | 56 +++++ 18_ar.html | 56 +++++ 18_de.html | 62 ++++++ 18_en.html | 61 +++++ 18_es.html | 55 +++++ 18_fa.html | 61 +++++ 18_fi.html | 61 +++++ 18_fr.html | 60 +++++ 18_gr.html | 55 +++++ 18_hu.html | 60 +++++ 18_id.html | 55 +++++ 18_ie.html | 53 +++++ 18_it.html | 55 +++++ 18_ja.html | 59 +++++ 18_ko.html | 58 +++++ 18_pl.html | 58 +++++ 18_pt-br.html | 55 +++++ 18_ro.html | 61 +++++ 18_ru.html | 58 +++++ 18_th.html | 58 +++++ 18_tr.html | 56 +++++ 18_ua.html | 56 +++++ 18_vi.html | 56 +++++ 18_zh-cn.html | 57 +++++ 18_zh-tw.html | 55 +++++ 19_ar.html | 53 +++++ 19_de.html | 53 +++++ 19_en.html | 53 +++++ 19_es.html | 53 +++++ 19_fa.html | 53 +++++ 19_fi.html | 53 +++++ 19_fr.html | 53 +++++ 19_gr.html | 53 +++++ 19_hu.html | 53 +++++ 19_id.html | 53 +++++ 19_ie.html | 53 +++++ 19_it.html | 53 +++++ 19_ja.html | 53 +++++ 19_ko.html | 53 +++++ 19_pl.html | 53 +++++ 19_pt-br.html | 53 +++++ 19_ro.html | 53 +++++ 19_ru.html | 53 +++++ 19_th.html | 53 +++++ 19_tr.html | 53 +++++ 19_ua.html | 53 +++++ 19_vi.html | 53 +++++ 19_zh-cn.html | 53 +++++ 19_zh-tw.html | 53 +++++ 20_ar.html | 55 +++++ 20_de.html | 61 +++++ 20_en.html | 58 +++++ 20_es.html | 55 +++++ 20_fa.html | 58 +++++ 20_fi.html | 58 +++++ 20_fr.html | 59 +++++ 20_gr.html | 55 +++++ 20_hu.html | 59 +++++ 20_id.html | 55 +++++ 20_ie.html | 53 +++++ 20_it.html | 55 +++++ 20_ja.html | 56 +++++ 20_ko.html | 57 +++++ 20_pl.html | 56 +++++ 20_pt-br.html | 56 +++++ 20_ro.html | 58 +++++ 20_ru.html | 58 +++++ 20_th.html | 56 +++++ 20_tr.html | 55 +++++ 20_ua.html | 56 +++++ 20_vi.html | 56 +++++ 20_zh-cn.html | 57 +++++ 20_zh-tw.html | 55 +++++ 21_ar.html | 51 +++++ 21_de.html | 56 +++++ 21_en.html | 55 +++++ 21_es.html | 51 +++++ 21_fa.html | 55 +++++ 21_fi.html | 54 +++++ 21_fr.html | 54 +++++ 21_gr.html | 51 +++++ 21_hu.html | 54 +++++ 21_id.html | 51 +++++ 21_ie.html | 51 +++++ 21_it.html | 52 +++++ 21_ja.html | 53 +++++ 21_ko.html | 54 +++++ 21_pl.html | 53 +++++ 21_pt-br.html | 51 +++++ 21_ro.html | 55 +++++ 21_ru.html | 54 +++++ 21_th.html | 54 +++++ 21_tr.html | 52 +++++ 21_ua.html | 53 +++++ 21_vi.html | 53 +++++ 21_zh-cn.html | 53 +++++ 21_zh-tw.html | 51 +++++ 23_ar.html | 55 +++++ 23_de.html | 55 +++++ 23_en.html | 55 +++++ 23_es.html | 55 +++++ 23_fa.html | 55 +++++ 23_fi.html | 55 +++++ 23_fr.html | 57 +++++ 23_gr.html | 55 +++++ 23_hu.html | 57 +++++ 23_id.html | 55 +++++ 23_ie.html | 55 +++++ 23_it.html | 55 +++++ 23_ja.html | 55 +++++ 23_ko.html | 55 +++++ 23_pl.html | 55 +++++ 23_pt-br.html | 55 +++++ 23_ro.html | 55 +++++ 23_ru.html | 55 +++++ 23_th.html | 56 +++++ 23_tr.html | 55 +++++ 23_ua.html | 54 +++++ 23_vi.html | 55 +++++ 23_zh-cn.html | 55 +++++ 23_zh-tw.html | 55 +++++ 24_ar.html | 56 +++++ 24_de.html | 57 +++++ 24_en.html | 56 +++++ 24_es.html | 56 +++++ 24_fa.html | 56 +++++ 24_fi.html | 56 +++++ 24_fr.html | 57 +++++ 24_gr.html | 56 +++++ 24_hu.html | 59 +++++ 24_id.html | 56 +++++ 24_ie.html | 53 +++++ 24_it.html | 56 +++++ 24_ja.html | 56 +++++ 24_ko.html | 56 +++++ 24_pl.html | 56 +++++ 24_pt-br.html | 56 +++++ 24_ro.html | 56 +++++ 24_ru.html | 56 +++++ 24_th.html | 56 +++++ 24_tr.html | 56 +++++ 24_ua.html | 58 +++++ 24_vi.html | 56 +++++ 24_zh-cn.html | 56 +++++ 24_zh-tw.html | 56 +++++ 25_ar.html | 56 +++++ 25_de.html | 66 ++++++ 25_en.html | 67 ++++++ 25_es.html | 66 ++++++ 25_fa.html | 67 ++++++ 25_fi.html | 67 ++++++ 25_fr.html | 70 ++++++ 25_gr.html | 56 +++++ 25_hu.html | 68 ++++++ 25_id.html | 67 ++++++ 25_ie.html | 64 ++++++ 25_it.html | 59 +++++ 25_ja.html | 61 +++++ 25_ko.html | 65 ++++++ 25_pl.html | 69 ++++++ 25_pt-br.html | 56 +++++ 25_ro.html | 67 ++++++ 25_ru.html | 66 ++++++ 25_th.html | 66 ++++++ 25_tr.html | 65 ++++++ 25_ua.html | 61 +++++ 25_vi.html | 68 ++++++ 25_zh-cn.html | 62 ++++++ 25_zh-tw.html | 62 ++++++ 26_ar.html | 63 ++++++ 26_de.html | 72 ++++++ 26_en.html | 73 ++++++ 26_es.html | 72 ++++++ 26_fa.html | 73 ++++++ 26_fi.html | 73 ++++++ 26_fr.html | 75 +++++++ 26_gr.html | 64 ++++++ 26_hu.html | 75 +++++++ 26_id.html | 73 ++++++ 26_ie.html | 72 ++++++ 26_it.html | 67 ++++++ 26_ja.html | 69 ++++++ 26_ko.html | 72 ++++++ 26_pl.html | 63 ++++++ 26_pt-br.html | 68 ++++++ 26_ro.html | 72 ++++++ 26_ru.html | 72 ++++++ 26_th.html | 72 ++++++ 26_tr.html | 70 ++++++ 26_ua.html | 68 ++++++ 26_vi.html | 74 ++++++ 26_zh-cn.html | 65 ++++++ 26_zh-tw.html | 69 ++++++ 27_ar.html | 53 +++++ 27_de.html | 53 +++++ 27_en.html | 53 +++++ 27_es.html | 53 +++++ 27_fa.html | 53 +++++ 27_fi.html | 53 +++++ 27_fr.html | 53 +++++ 27_gr.html | 53 +++++ 27_hu.html | 53 +++++ 27_id.html | 53 +++++ 27_ie.html | 53 +++++ 27_it.html | 53 +++++ 27_ja.html | 53 +++++ 27_ko.html | 53 +++++ 27_pl.html | 53 +++++ 27_pt-br.html | 53 +++++ 27_ro.html | 53 +++++ 27_ru.html | 53 +++++ 27_th.html | 53 +++++ 27_tr.html | 53 +++++ 27_ua.html | 53 +++++ 27_vi.html | 53 +++++ 27_zh-cn.html | 53 +++++ 27_zh-tw.html | 53 +++++ 28_ar.html | 55 +++++ 28_de.html | 55 +++++ 28_en.html | 55 +++++ 28_es.html | 55 +++++ 28_fa.html | 55 +++++ 28_fi.html | 55 +++++ 28_fr.html | 56 +++++ 28_gr.html | 55 +++++ 28_hu.html | 56 +++++ 28_id.html | 55 +++++ 28_ie.html | 55 +++++ 28_it.html | 55 +++++ 28_ja.html | 55 +++++ 28_ko.html | 55 +++++ 28_pl.html | 55 +++++ 28_pt-br.html | 56 +++++ 28_ro.html | 55 +++++ 28_ru.html | 55 +++++ 28_th.html | 55 +++++ 28_tr.html | 55 +++++ 28_ua.html | 55 +++++ 28_vi.html | 55 +++++ 28_zh-cn.html | 55 +++++ 28_zh-tw.html | 55 +++++ 29_ar.html | 54 +++++ 29_de.html | 57 +++++ 29_en.html | 54 +++++ 29_es.html | 56 +++++ 29_fa.html | 54 +++++ 29_fi.html | 54 +++++ 29_fr.html | 57 +++++ 29_gr.html | 54 +++++ 29_hu.html | 58 +++++ 29_id.html | 54 +++++ 29_ie.html | 56 +++++ 29_it.html | 54 +++++ 29_ja.html | 54 +++++ 29_ko.html | 54 +++++ 29_pl.html | 54 +++++ 29_pt-br.html | 54 +++++ 29_ro.html | 54 +++++ 29_ru.html | 54 +++++ 29_th.html | 54 +++++ 29_tr.html | 54 +++++ 29_ua.html | 54 +++++ 29_vi.html | 54 +++++ 29_zh-cn.html | 54 +++++ 29_zh-tw.html | 54 +++++ 30_ar.html | 68 ++++++ 30_de.html | 65 ++++++ 30_en.html | 64 ++++++ 30_es.html | 66 ++++++ 30_fa.html | 64 ++++++ 30_fi.html | 64 ++++++ 30_fr.html | 69 ++++++ 30_gr.html | 64 ++++++ 30_hu.html | 69 ++++++ 30_id.html | 64 ++++++ 30_ie.html | 67 ++++++ 30_it.html | 64 ++++++ 30_ja.html | 64 ++++++ 30_ko.html | 64 ++++++ 30_pl.html | 64 ++++++ 30_pt-br.html | 64 ++++++ 30_ro.html | 64 ++++++ 30_ru.html | 64 ++++++ 30_th.html | 64 ++++++ 30_tr.html | 64 ++++++ 30_ua.html | 65 ++++++ 30_vi.html | 64 ++++++ 30_zh-cn.html | 64 ++++++ 30_zh-tw.html | 64 ++++++ 31_ar.html | 51 +++++ 31_de.html | 53 +++++ 31_en.html | 53 +++++ 31_es.html | 54 +++++ 31_fa.html | 53 +++++ 31_fi.html | 53 +++++ 31_fr.html | 54 +++++ 31_gr.html | 51 +++++ 31_hu.html | 55 +++++ 31_id.html | 53 +++++ 31_ie.html | 54 +++++ 31_it.html | 51 +++++ 31_ja.html | 52 +++++ 31_ko.html | 53 +++++ 31_pl.html | 53 +++++ 31_pt-br.html | 52 +++++ 31_ro.html | 53 +++++ 31_ru.html | 52 +++++ 31_th.html | 51 +++++ 31_tr.html | 52 +++++ 31_ua.html | 52 +++++ 31_vi.html | 51 +++++ 31_zh-cn.html | 53 +++++ 31_zh-tw.html | 51 +++++ 33_ar.html | 54 +++++ 33_de.html | 57 +++++ 33_en.html | 56 +++++ 33_es.html | 57 +++++ 33_fa.html | 56 +++++ 33_fi.html | 56 +++++ 33_fr.html | 57 +++++ 33_gr.html | 54 +++++ 33_hu.html | 57 +++++ 33_id.html | 56 +++++ 33_ie.html | 57 +++++ 33_it.html | 54 +++++ 33_ja.html | 57 +++++ 33_ko.html | 56 +++++ 33_pl.html | 54 +++++ 33_pt-br.html | 54 +++++ 33_ro.html | 56 +++++ 33_ru.html | 56 +++++ 33_th.html | 54 +++++ 33_tr.html | 54 +++++ 33_ua.html | 54 +++++ 33_vi.html | 54 +++++ 33_zh-cn.html | 55 +++++ 33_zh-tw.html | 54 +++++ 34_ar.html | 55 +++++ 34_de.html | 59 +++++ 34_en.html | 59 +++++ 34_es.html | 59 +++++ 34_fa.html | 59 +++++ 34_fi.html | 59 +++++ 34_fr.html | 60 +++++ 34_gr.html | 56 +++++ 34_hu.html | 62 ++++++ 34_id.html | 59 +++++ 34_ie.html | 59 +++++ 34_it.html | 58 +++++ 34_ja.html | 58 +++++ 34_ko.html | 59 +++++ 34_pl.html | 57 +++++ 34_pt-br.html | 55 +++++ 34_ro.html | 59 +++++ 34_ru.html | 59 +++++ 34_th.html | 55 +++++ 34_tr.html | 55 +++++ 34_ua.html | 56 +++++ 34_vi.html | 55 +++++ 34_zh-cn.html | 56 +++++ 34_zh-tw.html | 55 +++++ 35_ar.html | 59 +++++ 35_de.html | 60 +++++ 35_en.html | 60 +++++ 35_es.html | 61 +++++ 35_fa.html | 60 +++++ 35_fi.html | 60 +++++ 35_fr.html | 60 +++++ 35_gr.html | 59 +++++ 35_hu.html | 61 +++++ 35_id.html | 60 +++++ 35_ie.html | 60 +++++ 35_it.html | 59 +++++ 35_ja.html | 59 +++++ 35_ko.html | 60 +++++ 35_pl.html | 59 +++++ 35_pt-br.html | 59 +++++ 35_ro.html | 60 +++++ 35_ru.html | 61 +++++ 35_th.html | 59 +++++ 35_tr.html | 58 +++++ 35_ua.html | 59 +++++ 35_vi.html | 59 +++++ 35_zh-cn.html | 59 +++++ 35_zh-tw.html | 59 +++++ 36_ar.html | 60 +++++ 36_de.html | 61 +++++ 36_en.html | 61 +++++ 36_es.html | 63 ++++++ 36_fa.html | 61 +++++ 36_fi.html | 61 +++++ 36_fr.html | 61 +++++ 36_gr.html | 60 +++++ 36_hu.html | 65 ++++++ 36_id.html | 61 +++++ 36_ie.html | 61 +++++ 36_it.html | 61 +++++ 36_ja.html | 61 +++++ 36_ko.html | 61 +++++ 36_pl.html | 61 +++++ 36_pt-br.html | 61 +++++ 36_ro.html | 61 +++++ 36_ru.html | 62 ++++++ 36_th.html | 60 +++++ 36_tr.html | 59 +++++ 36_ua.html | 60 +++++ 36_vi.html | 60 +++++ 36_zh-cn.html | 61 +++++ 36_zh-tw.html | 60 +++++ 37_ar.html | 53 +++++ 37_de.html | 53 +++++ 37_en.html | 53 +++++ 37_es.html | 53 +++++ 37_fa.html | 53 +++++ 37_fi.html | 53 +++++ 37_fr.html | 53 +++++ 37_gr.html | 53 +++++ 37_hu.html | 53 +++++ 37_id.html | 53 +++++ 37_ie.html | 53 +++++ 37_it.html | 53 +++++ 37_ja.html | 53 +++++ 37_ko.html | 53 +++++ 37_pl.html | 53 +++++ 37_pt-br.html | 53 +++++ 37_ro.html | 53 +++++ 37_ru.html | 53 +++++ 37_th.html | 53 +++++ 37_tr.html | 53 +++++ 37_ua.html | 53 +++++ 37_vi.html | 53 +++++ 37_zh-cn.html | 53 +++++ 37_zh-tw.html | 53 +++++ 38_ar.html | 60 +++++ 38_de.html | 60 +++++ 38_en.html | 60 +++++ 38_es.html | 61 +++++ 38_fa.html | 60 +++++ 38_fi.html | 60 +++++ 38_fr.html | 60 +++++ 38_gr.html | 61 +++++ 38_hu.html | 61 +++++ 38_id.html | 60 +++++ 38_ie.html | 60 +++++ 38_it.html | 60 +++++ 38_ja.html | 61 +++++ 38_ko.html | 60 +++++ 38_pl.html | 60 +++++ 38_pt-br.html | 60 +++++ 38_ro.html | 60 +++++ 38_ru.html | 60 +++++ 38_th.html | 60 +++++ 38_tr.html | 58 +++++ 38_ua.html | 60 +++++ 38_vi.html | 60 +++++ 38_zh-cn.html | 61 +++++ 38_zh-tw.html | 60 +++++ 39_ar.html | 74 ++++++ 39_de.html | 75 +++++++ 39_en.html | 75 +++++++ 39_es.html | 76 +++++++ 39_fa.html | 75 +++++++ 39_fi.html | 75 +++++++ 39_fr.html | 78 +++++++ 39_gr.html | 74 ++++++ 39_hu.html | 78 +++++++ 39_id.html | 75 +++++++ 39_ie.html | 75 +++++++ 39_it.html | 75 +++++++ 39_ja.html | 76 +++++++ 39_ko.html | 75 +++++++ 39_pl.html | 72 ++++++ 39_pt-br.html | 74 ++++++ 39_ro.html | 75 +++++++ 39_ru.html | 75 +++++++ 39_th.html | 74 ++++++ 39_tr.html | 75 +++++++ 39_ua.html | 74 ++++++ 39_vi.html | 74 ++++++ 39_zh-cn.html | 76 +++++++ 39_zh-tw.html | 74 ++++++ 40_ar.html | 61 +++++ 40_de.html | 63 ++++++ 40_en.html | 63 ++++++ 40_es.html | 64 ++++++ 40_fa.html | 63 ++++++ 40_fi.html | 63 ++++++ 40_fr.html | 63 ++++++ 40_gr.html | 60 +++++ 40_hu.html | 66 ++++++ 40_id.html | 63 ++++++ 40_ie.html | 63 ++++++ 40_it.html | 60 +++++ 40_ja.html | 63 ++++++ 40_ko.html | 63 ++++++ 40_pl.html | 61 +++++ 40_pt-br.html | 60 +++++ 40_ro.html | 63 ++++++ 40_ru.html | 60 +++++ 40_th.html | 61 +++++ 40_tr.html | 60 +++++ 40_ua.html | 60 +++++ 40_vi.html | 60 +++++ 40_zh-cn.html | 60 +++++ 40_zh-tw.html | 60 +++++ 41_ar.html | 51 +++++ 41_de.html | 54 +++++ 41_en.html | 54 +++++ 41_es.html | 54 +++++ 41_fa.html | 54 +++++ 41_fi.html | 54 +++++ 41_fr.html | 55 +++++ 41_gr.html | 51 +++++ 41_hu.html | 54 +++++ 41_id.html | 54 +++++ 41_ie.html | 55 +++++ 41_it.html | 54 +++++ 41_ja.html | 55 +++++ 41_ko.html | 54 +++++ 41_pl.html | 53 +++++ 41_pt-br.html | 51 +++++ 41_ro.html | 54 +++++ 41_ru.html | 54 +++++ 41_th.html | 52 +++++ 41_tr.html | 51 +++++ 41_ua.html | 52 +++++ 41_vi.html | 51 +++++ 41_zh-cn.html | 53 +++++ 41_zh-tw.html | 52 +++++ 43_ar.html | 53 +++++ 43_de.html | 54 +++++ 43_en.html | 54 +++++ 43_es.html | 53 +++++ 43_fa.html | 54 +++++ 43_fi.html | 54 +++++ 43_fr.html | 55 +++++ 43_gr.html | 53 +++++ 43_hu.html | 55 +++++ 43_id.html | 54 +++++ 43_ie.html | 54 +++++ 43_it.html | 54 +++++ 43_ja.html | 54 +++++ 43_ko.html | 55 +++++ 43_pl.html | 54 +++++ 43_pt-br.html | 53 +++++ 43_ro.html | 54 +++++ 43_ru.html | 53 +++++ 43_th.html | 53 +++++ 43_tr.html | 53 +++++ 43_ua.html | 54 +++++ 43_vi.html | 53 +++++ 43_zh-cn.html | 53 +++++ 43_zh-tw.html | 53 +++++ 44_ar.html | 59 +++++ 44_de.html | 59 +++++ 44_en.html | 59 +++++ 44_es.html | 60 +++++ 44_fa.html | 59 +++++ 44_fi.html | 59 +++++ 44_fr.html | 60 +++++ 44_gr.html | 58 +++++ 44_hu.html | 60 +++++ 44_id.html | 59 +++++ 44_ie.html | 59 +++++ 44_it.html | 59 +++++ 44_ja.html | 59 +++++ 44_ko.html | 59 +++++ 44_pl.html | 62 ++++++ 44_pt-br.html | 59 +++++ 44_ro.html | 59 +++++ 44_ru.html | 59 +++++ 44_th.html | 59 +++++ 44_tr.html | 59 +++++ 44_ua.html | 62 ++++++ 44_vi.html | 60 +++++ 44_zh-cn.html | 58 +++++ 44_zh-tw.html | 59 +++++ 45_ar.html | 58 +++++ 45_de.html | 58 +++++ 45_en.html | 58 +++++ 45_es.html | 58 +++++ 45_fa.html | 58 +++++ 45_fi.html | 58 +++++ 45_fr.html | 59 +++++ 45_gr.html | 58 +++++ 45_hu.html | 60 +++++ 45_id.html | 58 +++++ 45_ie.html | 58 +++++ 45_it.html | 58 +++++ 45_ja.html | 58 +++++ 45_ko.html | 58 +++++ 45_pl.html | 58 +++++ 45_pt-br.html | 58 +++++ 45_ro.html | 58 +++++ 45_ru.html | 58 +++++ 45_th.html | 58 +++++ 45_tr.html | 58 +++++ 45_ua.html | 58 +++++ 45_vi.html | 58 +++++ 45_zh-cn.html | 58 +++++ 45_zh-tw.html | 58 +++++ 46_ar.html | 58 +++++ 46_de.html | 58 +++++ 46_en.html | 58 +++++ 46_es.html | 58 +++++ 46_fa.html | 58 +++++ 46_fi.html | 58 +++++ 46_fr.html | 58 +++++ 46_gr.html | 59 +++++ 46_hu.html | 60 +++++ 46_id.html | 58 +++++ 46_ie.html | 59 +++++ 46_it.html | 58 +++++ 46_ja.html | 58 +++++ 46_ko.html | 58 +++++ 46_pl.html | 58 +++++ 46_pt-br.html | 58 +++++ 46_ro.html | 58 +++++ 46_ru.html | 58 +++++ 46_th.html | 58 +++++ 46_tr.html | 58 +++++ 46_ua.html | 58 +++++ 46_vi.html | 58 +++++ 46_zh-cn.html | 57 +++++ 46_zh-tw.html | 58 +++++ 47_ar.html | 53 +++++ 47_de.html | 53 +++++ 47_en.html | 53 +++++ 47_es.html | 53 +++++ 47_fa.html | 53 +++++ 47_fi.html | 53 +++++ 47_fr.html | 53 +++++ 47_gr.html | 53 +++++ 47_hu.html | 53 +++++ 47_id.html | 53 +++++ 47_ie.html | 53 +++++ 47_it.html | 53 +++++ 47_ja.html | 53 +++++ 47_ko.html | 53 +++++ 47_pl.html | 53 +++++ 47_pt-br.html | 53 +++++ 47_ro.html | 53 +++++ 47_ru.html | 53 +++++ 47_th.html | 53 +++++ 47_tr.html | 53 +++++ 47_ua.html | 55 +++++ 47_vi.html | 53 +++++ 47_zh-cn.html | 53 +++++ 47_zh-tw.html | 53 +++++ 48_ar.html | 54 +++++ 48_de.html | 54 +++++ 48_en.html | 54 +++++ 48_es.html | 54 +++++ 48_fa.html | 54 +++++ 48_fi.html | 54 +++++ 48_fr.html | 54 +++++ 48_gr.html | 53 +++++ 48_hu.html | 55 +++++ 48_id.html | 54 +++++ 48_ie.html | 54 +++++ 48_it.html | 54 +++++ 48_ja.html | 54 +++++ 48_ko.html | 54 +++++ 48_pl.html | 55 +++++ 48_pt-br.html | 54 +++++ 48_ro.html | 54 +++++ 48_ru.html | 54 +++++ 48_th.html | 54 +++++ 48_tr.html | 54 +++++ 48_ua.html | 55 +++++ 48_vi.html | 54 +++++ 48_zh-cn.html | 54 +++++ 48_zh-tw.html | 54 +++++ 49_ar.html | 58 +++++ 49_de.html | 58 +++++ 49_en.html | 58 +++++ 49_es.html | 58 +++++ 49_fa.html | 58 +++++ 49_fi.html | 58 +++++ 49_fr.html | 61 +++++ 49_gr.html | 58 +++++ 49_hu.html | 60 +++++ 49_id.html | 58 +++++ 49_ie.html | 58 +++++ 49_it.html | 58 +++++ 49_ja.html | 58 +++++ 49_ko.html | 58 +++++ 49_pl.html | 58 +++++ 49_pt-br.html | 58 +++++ 49_ro.html | 58 +++++ 49_ru.html | 58 +++++ 49_th.html | 58 +++++ 49_tr.html | 58 +++++ 49_ua.html | 58 +++++ 49_vi.html | 58 +++++ 49_zh-cn.html | 57 +++++ 49_zh-tw.html | 58 +++++ 50_ar.html | 54 +++++ 50_de.html | 54 +++++ 50_en.html | 54 +++++ 50_es.html | 54 +++++ 50_fa.html | 54 +++++ 50_fi.html | 54 +++++ 50_fr.html | 56 +++++ 50_gr.html | 54 +++++ 50_hu.html | 55 +++++ 50_id.html | 54 +++++ 50_ie.html | 55 +++++ 50_it.html | 54 +++++ 50_ja.html | 54 +++++ 50_ko.html | 54 +++++ 50_pl.html | 54 +++++ 50_pt-br.html | 54 +++++ 50_ro.html | 54 +++++ 50_ru.html | 54 +++++ 50_th.html | 54 +++++ 50_tr.html | 54 +++++ 50_ua.html | 54 +++++ 50_vi.html | 54 +++++ 50_zh-cn.html | 53 +++++ 50_zh-tw.html | 54 +++++ 51_ar.html | 63 ++++++ 51_de.html | 63 ++++++ 51_en.html | 63 ++++++ 51_es.html | 63 ++++++ 51_fa.html | 63 ++++++ 51_fi.html | 63 ++++++ 51_fr.html | 68 ++++++ 51_gr.html | 63 ++++++ 51_hu.html | 68 ++++++ 51_id.html | 63 ++++++ 51_ie.html | 63 ++++++ 51_it.html | 67 ++++++ 51_ja.html | 65 ++++++ 51_ko.html | 63 ++++++ 51_pl.html | 63 ++++++ 51_pt-br.html | 63 ++++++ 51_ro.html | 63 ++++++ 51_ru.html | 66 ++++++ 51_th.html | 63 ++++++ 51_tr.html | 66 ++++++ 51_ua.html | 63 ++++++ 51_vi.html | 63 ++++++ 51_zh-cn.html | 63 ++++++ 51_zh-tw.html | 64 ++++++ 52_ar.html | 53 +++++ 52_de.html | 53 +++++ 52_en.html | 53 +++++ 52_es.html | 53 +++++ 52_fa.html | 53 +++++ 52_fi.html | 53 +++++ 52_fr.html | 53 +++++ 52_gr.html | 53 +++++ 52_hu.html | 53 +++++ 52_id.html | 53 +++++ 52_ie.html | 53 +++++ 52_it.html | 53 +++++ 52_ja.html | 53 +++++ 52_ko.html | 53 +++++ 52_pl.html | 54 +++++ 52_pt-br.html | 53 +++++ 52_ro.html | 53 +++++ 52_ru.html | 53 +++++ 52_th.html | 53 +++++ 52_tr.html | 54 +++++ 52_ua.html | 53 +++++ 52_vi.html | 53 +++++ 52_zh-cn.html | 53 +++++ 52_zh-tw.html | 53 +++++ 53_ar.html | 55 +++++ 53_de.html | 57 +++++ 53_en.html | 57 +++++ 53_es.html | 55 +++++ 53_fa.html | 57 +++++ 53_fi.html | 57 +++++ 53_fr.html | 58 +++++ 53_gr.html | 57 +++++ 53_hu.html | 59 +++++ 53_id.html | 57 +++++ 53_ie.html | 57 +++++ 53_it.html | 57 +++++ 53_ja.html | 55 +++++ 53_ko.html | 57 +++++ 53_pl.html | 55 +++++ 53_pt-br.html | 55 +++++ 53_ro.html | 57 +++++ 53_ru.html | 57 +++++ 53_th.html | 55 +++++ 53_tr.html | 55 +++++ 53_ua.html | 55 +++++ 53_vi.html | 55 +++++ 53_zh-cn.html | 53 +++++ 53_zh-tw.html | 55 +++++ 54_ar.html | 53 +++++ 54_de.html | 54 +++++ 54_en.html | 54 +++++ 54_es.html | 53 +++++ 54_fa.html | 54 +++++ 54_fi.html | 54 +++++ 54_fr.html | 54 +++++ 54_gr.html | 54 +++++ 54_hu.html | 54 +++++ 54_id.html | 54 +++++ 54_ie.html | 54 +++++ 54_it.html | 54 +++++ 54_ja.html | 53 +++++ 54_ko.html | 54 +++++ 54_pl.html | 53 +++++ 54_pt-br.html | 53 +++++ 54_ro.html | 54 +++++ 54_ru.html | 54 +++++ 54_th.html | 53 +++++ 54_tr.html | 53 +++++ 54_ua.html | 54 +++++ 54_vi.html | 53 +++++ 54_zh-cn.html | 53 +++++ 54_zh-tw.html | 53 +++++ 55_ar.html | 62 ++++++ 55_de.html | 65 ++++++ 55_en.html | 65 ++++++ 55_es.html | 61 +++++ 55_fa.html | 65 ++++++ 55_fi.html | 65 ++++++ 55_fr.html | 69 ++++++ 55_gr.html | 65 ++++++ 55_hu.html | 71 ++++++ 55_id.html | 65 ++++++ 55_ie.html | 66 ++++++ 55_it.html | 65 ++++++ 55_ja.html | 66 ++++++ 55_ko.html | 66 ++++++ 55_pl.html | 61 +++++ 55_pt-br.html | 62 ++++++ 55_ro.html | 64 ++++++ 55_ru.html | 70 ++++++ 55_th.html | 66 ++++++ 55_tr.html | 65 ++++++ 55_ua.html | 60 +++++ 55_vi.html | 61 +++++ 55_zh-cn.html | 58 +++++ 55_zh-tw.html | 62 ++++++ 56_ar.html | 55 +++++ 56_de.html | 55 +++++ 56_en.html | 55 +++++ 56_es.html | 55 +++++ 56_fa.html | 55 +++++ 56_fi.html | 55 +++++ 56_fr.html | 60 +++++ 56_gr.html | 55 +++++ 56_hu.html | 56 +++++ 56_id.html | 55 +++++ 56_ie.html | 55 +++++ 56_it.html | 55 +++++ 56_ja.html | 55 +++++ 56_ko.html | 55 +++++ 56_pl.html | 55 +++++ 56_pt-br.html | 55 +++++ 56_ro.html | 55 +++++ 56_ru.html | 55 +++++ 56_th.html | 55 +++++ 56_tr.html | 55 +++++ 56_ua.html | 55 +++++ 56_vi.html | 55 +++++ 56_zh-cn.html | 53 +++++ 56_zh-tw.html | 55 +++++ 57_ar.html | 60 +++++ 57_de.html | 62 ++++++ 57_en.html | 62 ++++++ 57_es.html | 60 +++++ 57_fa.html | 62 ++++++ 57_fi.html | 62 ++++++ 57_fr.html | 62 ++++++ 57_gr.html | 62 ++++++ 57_hu.html | 63 ++++++ 57_id.html | 62 ++++++ 57_ie.html | 62 ++++++ 57_it.html | 62 ++++++ 57_ja.html | 62 ++++++ 57_ko.html | 62 ++++++ 57_pl.html | 61 +++++ 57_pt-br.html | 60 +++++ 57_ro.html | 62 ++++++ 57_ru.html | 63 ++++++ 57_th.html | 60 +++++ 57_tr.html | 60 +++++ 57_ua.html | 62 ++++++ 57_vi.html | 61 +++++ 57_zh-cn.html | 60 +++++ 57_zh-tw.html | 60 +++++ 59_ar.html | 63 ++++++ 59_de.html | 61 +++++ 59_en.html | 63 ++++++ 59_es.html | 62 ++++++ 59_fa.html | 63 ++++++ 59_fi.html | 63 ++++++ 59_fr.html | 65 ++++++ 59_gr.html | 63 ++++++ 59_hu.html | 66 ++++++ 59_id.html | 63 ++++++ 59_ie.html | 63 ++++++ 59_it.html | 63 ++++++ 59_ja.html | 63 ++++++ 59_ko.html | 63 ++++++ 59_pl.html | 63 ++++++ 59_pt-br.html | 63 ++++++ 59_ro.html | 63 ++++++ 59_ru.html | 64 ++++++ 59_th.html | 63 ++++++ 59_tr.html | 63 ++++++ 59_ua.html | 63 ++++++ 59_vi.html | 63 ++++++ 59_zh-cn.html | 63 ++++++ 59_zh-tw.html | 63 ++++++ 60_ar.html | 60 +++++ 60_de.html | 59 +++++ 60_en.html | 60 +++++ 60_es.html | 58 +++++ 60_fa.html | 60 +++++ 60_fi.html | 60 +++++ 60_fr.html | 66 ++++++ 60_gr.html | 60 +++++ 60_hu.html | 64 ++++++ 60_id.html | 60 +++++ 60_ie.html | 60 +++++ 60_it.html | 60 +++++ 60_ja.html | 57 +++++ 60_ko.html | 60 +++++ 60_pl.html | 60 +++++ 60_pt-br.html | 57 +++++ 60_ro.html | 60 +++++ 60_ru.html | 60 +++++ 60_th.html | 57 +++++ 60_tr.html | 65 ++++++ 60_ua.html | 60 +++++ 60_vi.html | 58 +++++ 60_zh-cn.html | 57 +++++ 60_zh-tw.html | 58 +++++ 61_ar.html | 63 ++++++ 61_de.html | 63 ++++++ 61_en.html | 63 ++++++ 61_es.html | 63 ++++++ 61_fa.html | 63 ++++++ 61_fi.html | 63 ++++++ 61_fr.html | 64 ++++++ 61_gr.html | 63 ++++++ 61_hu.html | 65 ++++++ 61_id.html | 63 ++++++ 61_ie.html | 63 ++++++ 61_it.html | 63 ++++++ 61_ja.html | 63 ++++++ 61_ko.html | 63 ++++++ 61_pl.html | 63 ++++++ 61_pt-br.html | 63 ++++++ 61_ro.html | 63 ++++++ 61_ru.html | 63 ++++++ 61_th.html | 63 ++++++ 61_tr.html | 63 ++++++ 61_ua.html | 63 ++++++ 61_vi.html | 63 ++++++ 61_zh-cn.html | 63 ++++++ 61_zh-tw.html | 63 ++++++ 62_ar.html | 54 +++++ 62_de.html | 54 +++++ 62_en.html | 54 +++++ 62_es.html | 54 +++++ 62_fa.html | 54 +++++ 62_fi.html | 54 +++++ 62_fr.html | 54 +++++ 62_gr.html | 54 +++++ 62_hu.html | 54 +++++ 62_id.html | 54 +++++ 62_ie.html | 54 +++++ 62_it.html | 54 +++++ 62_ja.html | 54 +++++ 62_ko.html | 54 +++++ 62_pl.html | 54 +++++ 62_pt-br.html | 54 +++++ 62_ro.html | 54 +++++ 62_ru.html | 54 +++++ 62_th.html | 54 +++++ 62_tr.html | 54 +++++ 62_ua.html | 55 +++++ 62_vi.html | 54 +++++ 62_zh-cn.html | 54 +++++ 62_zh-tw.html | 54 +++++ 63_ar.html | 53 +++++ 63_de.html | 54 +++++ 63_en.html | 54 +++++ 63_es.html | 53 +++++ 63_fa.html | 54 +++++ 63_fi.html | 54 +++++ 63_fr.html | 56 +++++ 63_gr.html | 54 +++++ 63_hu.html | 58 +++++ 63_id.html | 54 +++++ 63_ie.html | 54 +++++ 63_it.html | 54 +++++ 63_ja.html | 54 +++++ 63_ko.html | 54 +++++ 63_pl.html | 54 +++++ 63_pt-br.html | 53 +++++ 63_ro.html | 54 +++++ 63_ru.html | 54 +++++ 63_th.html | 53 +++++ 63_tr.html | 53 +++++ 63_ua.html | 54 +++++ 63_vi.html | 53 +++++ 63_zh-cn.html | 53 +++++ 63_zh-tw.html | 53 +++++ 64_ar.html | 53 +++++ 64_de.html | 53 +++++ 64_en.html | 53 +++++ 64_es.html | 53 +++++ 64_fa.html | 53 +++++ 64_fi.html | 53 +++++ 64_fr.html | 54 +++++ 64_gr.html | 53 +++++ 64_hu.html | 54 +++++ 64_id.html | 53 +++++ 64_ie.html | 53 +++++ 64_it.html | 54 +++++ 64_ja.html | 53 +++++ 64_ko.html | 53 +++++ 64_pl.html | 53 +++++ 64_pt-br.html | 53 +++++ 64_ro.html | 53 +++++ 64_ru.html | 53 +++++ 64_th.html | 53 +++++ 64_tr.html | 53 +++++ 64_ua.html | 53 +++++ 64_vi.html | 53 +++++ 64_zh-cn.html | 53 +++++ 64_zh-tw.html | 53 +++++ 65_ar.html | 61 +++++ 65_de.html | 61 +++++ 65_en.html | 61 +++++ 65_es.html | 61 +++++ 65_fa.html | 61 +++++ 65_fi.html | 61 +++++ 65_fr.html | 63 ++++++ 65_gr.html | 61 +++++ 65_hu.html | 65 ++++++ 65_id.html | 61 +++++ 65_ie.html | 62 ++++++ 65_it.html | 61 +++++ 65_ja.html | 61 +++++ 65_ko.html | 61 +++++ 65_pl.html | 61 +++++ 65_pt-br.html | 61 +++++ 65_ro.html | 61 +++++ 65_ru.html | 61 +++++ 65_th.html | 61 +++++ 65_tr.html | 61 +++++ 65_ua.html | 61 +++++ 65_vi.html | 61 +++++ 65_zh-cn.html | 61 +++++ 65_zh-tw.html | 61 +++++ 66_ar.html | 54 +++++ 66_de.html | 54 +++++ 66_en.html | 54 +++++ 66_es.html | 54 +++++ 66_fa.html | 54 +++++ 66_fi.html | 54 +++++ 66_fr.html | 57 +++++ 66_gr.html | 54 +++++ 66_hu.html | 55 +++++ 66_id.html | 54 +++++ 66_ie.html | 54 +++++ 66_it.html | 54 +++++ 66_ja.html | 54 +++++ 66_ko.html | 54 +++++ 66_pl.html | 54 +++++ 66_pt-br.html | 54 +++++ 66_ro.html | 54 +++++ 66_ru.html | 54 +++++ 66_th.html | 54 +++++ 66_tr.html | 54 +++++ 66_ua.html | 54 +++++ 66_vi.html | 54 +++++ 66_zh-cn.html | 54 +++++ 66_zh-tw.html | 54 +++++ 67_ar.html | 63 ++++++ 67_de.html | 63 ++++++ 67_en.html | 63 ++++++ 67_es.html | 63 ++++++ 67_fa.html | 63 ++++++ 67_fi.html | 63 ++++++ 67_fr.html | 67 ++++++ 67_gr.html | 63 ++++++ 67_hu.html | 66 ++++++ 67_id.html | 63 ++++++ 67_ie.html | 63 ++++++ 67_it.html | 63 ++++++ 67_ja.html | 63 ++++++ 67_ko.html | 63 ++++++ 67_pl.html | 63 ++++++ 67_pt-br.html | 63 ++++++ 67_ro.html | 63 ++++++ 67_ru.html | 63 ++++++ 67_th.html | 63 ++++++ 67_tr.html | 63 ++++++ 67_ua.html | 63 ++++++ 67_vi.html | 63 ++++++ 67_zh-cn.html | 63 ++++++ 67_zh-tw.html | 63 ++++++ 68_ar.html | 53 +++++ 68_de.html | 54 +++++ 68_en.html | 54 +++++ 68_es.html | 53 +++++ 68_fa.html | 54 +++++ 68_fi.html | 54 +++++ 68_fr.html | 54 +++++ 68_gr.html | 54 +++++ 68_hu.html | 54 +++++ 68_id.html | 54 +++++ 68_ie.html | 54 +++++ 68_it.html | 54 +++++ 68_ja.html | 53 +++++ 68_ko.html | 54 +++++ 68_pl.html | 54 +++++ 68_pt-br.html | 53 +++++ 68_ro.html | 54 +++++ 68_ru.html | 54 +++++ 68_th.html | 53 +++++ 68_tr.html | 53 +++++ 68_ua.html | 54 +++++ 68_vi.html | 53 +++++ 68_zh-cn.html | 53 +++++ 68_zh-tw.html | 53 +++++ 69_ar.html | 53 +++++ 69_de.html | 53 +++++ 69_en.html | 53 +++++ 69_es.html | 53 +++++ 69_fa.html | 53 +++++ 69_fi.html | 53 +++++ 69_fr.html | 53 +++++ 69_gr.html | 53 +++++ 69_hu.html | 53 +++++ 69_id.html | 53 +++++ 69_ie.html | 53 +++++ 69_it.html | 53 +++++ 69_ja.html | 53 +++++ 69_ko.html | 53 +++++ 69_pl.html | 53 +++++ 69_pt-br.html | 53 +++++ 69_ro.html | 53 +++++ 69_ru.html | 53 +++++ 69_th.html | 53 +++++ 69_tr.html | 53 +++++ 69_ua.html | 53 +++++ 69_vi.html | 53 +++++ 69_zh-cn.html | 53 +++++ 69_zh-tw.html | 53 +++++ 70_ar.html | 55 +++++ 70_de.html | 55 +++++ 70_en.html | 55 +++++ 70_es.html | 55 +++++ 70_fa.html | 55 +++++ 70_fi.html | 55 +++++ 70_fr.html | 59 +++++ 70_gr.html | 55 +++++ 70_hu.html | 59 +++++ 70_id.html | 55 +++++ 70_ie.html | 55 +++++ 70_it.html | 55 +++++ 70_ja.html | 55 +++++ 70_ko.html | 55 +++++ 70_pl.html | 55 +++++ 70_pt-br.html | 55 +++++ 70_ro.html | 55 +++++ 70_ru.html | 55 +++++ 70_th.html | 55 +++++ 70_tr.html | 55 +++++ 70_ua.html | 55 +++++ 70_vi.html | 55 +++++ 70_zh-cn.html | 55 +++++ 70_zh-tw.html | 55 +++++ 71_ar.html | 54 +++++ 71_de.html | 55 +++++ 71_en.html | 56 +++++ 71_es.html | 54 +++++ 71_fa.html | 56 +++++ 71_fi.html | 56 +++++ 71_fr.html | 56 +++++ 71_gr.html | 56 +++++ 71_hu.html | 56 +++++ 71_id.html | 56 +++++ 71_ie.html | 56 +++++ 71_it.html | 56 +++++ 71_ja.html | 54 +++++ 71_ko.html | 55 +++++ 71_pl.html | 56 +++++ 71_pt-br.html | 54 +++++ 71_ro.html | 55 +++++ 71_ru.html | 56 +++++ 71_th.html | 55 +++++ 71_tr.html | 55 +++++ 71_ua.html | 56 +++++ 71_vi.html | 54 +++++ 71_zh-cn.html | 54 +++++ 71_zh-tw.html | 54 +++++ 72_ar.html | 52 +++++ 72_de.html | 54 +++++ 72_en.html | 54 +++++ 72_es.html | 52 +++++ 72_fa.html | 54 +++++ 72_fi.html | 54 +++++ 72_fr.html | 58 +++++ 72_gr.html | 54 +++++ 72_hu.html | 55 +++++ 72_id.html | 54 +++++ 72_ie.html | 54 +++++ 72_it.html | 54 +++++ 72_ja.html | 52 +++++ 72_ko.html | 54 +++++ 72_pl.html | 54 +++++ 72_pt-br.html | 52 +++++ 72_ro.html | 54 +++++ 72_ru.html | 54 +++++ 72_th.html | 52 +++++ 72_tr.html | 52 +++++ 72_ua.html | 54 +++++ 72_vi.html | 52 +++++ 72_zh-cn.html | 52 +++++ 72_zh-tw.html | 52 +++++ 74_ar.html | 57 +++++ 74_de.html | 57 +++++ 74_en.html | 57 +++++ 74_es.html | 57 +++++ 74_fa.html | 57 +++++ 74_fi.html | 57 +++++ 74_fr.html | 62 ++++++ 74_gr.html | 57 +++++ 74_hu.html | 61 +++++ 74_id.html | 57 +++++ 74_ie.html | 57 +++++ 74_it.html | 57 +++++ 74_ja.html | 57 +++++ 74_ko.html | 57 +++++ 74_pl.html | 57 +++++ 74_pt-br.html | 57 +++++ 74_ro.html | 57 +++++ 74_ru.html | 57 +++++ 74_th.html | 57 +++++ 74_tr.html | 57 +++++ 74_ua.html | 57 +++++ 74_vi.html | 57 +++++ 74_zh-cn.html | 57 +++++ 74_zh-tw.html | 57 +++++ 75_ar.html | 56 +++++ 75_de.html | 56 +++++ 75_en.html | 56 +++++ 75_es.html | 56 +++++ 75_fa.html | 56 +++++ 75_fi.html | 56 +++++ 75_fr.html | 57 +++++ 75_gr.html | 56 +++++ 75_hu.html | 57 +++++ 75_id.html | 56 +++++ 75_ie.html | 56 +++++ 75_it.html | 56 +++++ 75_ja.html | 56 +++++ 75_ko.html | 56 +++++ 75_pl.html | 56 +++++ 75_pt-br.html | 56 +++++ 75_ro.html | 56 +++++ 75_ru.html | 56 +++++ 75_th.html | 56 +++++ 75_tr.html | 56 +++++ 75_ua.html | 56 +++++ 75_vi.html | 56 +++++ 75_zh-cn.html | 56 +++++ 75_zh-tw.html | 56 +++++ 76_ar.html | 66 ++++++ 76_de.html | 66 ++++++ 76_en.html | 66 ++++++ 76_es.html | 66 ++++++ 76_fa.html | 66 ++++++ 76_fi.html | 66 ++++++ 76_fr.html | 70 ++++++ 76_gr.html | 66 ++++++ 76_hu.html | 69 ++++++ 76_id.html | 66 ++++++ 76_ie.html | 66 ++++++ 76_it.html | 66 ++++++ 76_ja.html | 66 ++++++ 76_ko.html | 66 ++++++ 76_pl.html | 66 ++++++ 76_pt-br.html | 66 ++++++ 76_ro.html | 66 ++++++ 76_ru.html | 66 ++++++ 76_th.html | 66 ++++++ 76_tr.html | 66 ++++++ 76_ua.html | 66 ++++++ 76_vi.html | 66 ++++++ 76_zh-cn.html | 66 ++++++ 76_zh-tw.html | 66 ++++++ 77_ar.html | 55 +++++ 77_de.html | 55 +++++ 77_en.html | 55 +++++ 77_es.html | 55 +++++ 77_fa.html | 55 +++++ 77_fi.html | 55 +++++ 77_fr.html | 57 +++++ 77_gr.html | 55 +++++ 77_hu.html | 55 +++++ 77_id.html | 55 +++++ 77_ie.html | 55 +++++ 77_it.html | 55 +++++ 77_ja.html | 55 +++++ 77_ko.html | 55 +++++ 77_pl.html | 55 +++++ 77_pt-br.html | 55 +++++ 77_ro.html | 55 +++++ 77_ru.html | 55 +++++ 77_th.html | 55 +++++ 77_tr.html | 55 +++++ 77_ua.html | 55 +++++ 77_vi.html | 55 +++++ 77_zh-cn.html | 55 +++++ 77_zh-tw.html | 55 +++++ 78_ar.html | 68 ++++++ 78_de.html | 69 ++++++ 78_en.html | 69 ++++++ 78_es.html | 68 ++++++ 78_fa.html | 69 ++++++ 78_fi.html | 69 ++++++ 78_fr.html | 73 ++++++ 78_gr.html | 69 ++++++ 78_hu.html | 71 ++++++ 78_id.html | 69 ++++++ 78_ie.html | 69 ++++++ 78_it.html | 69 ++++++ 78_ja.html | 68 ++++++ 78_ko.html | 69 ++++++ 78_pl.html | 69 ++++++ 78_pt-br.html | 68 ++++++ 78_ro.html | 68 ++++++ 78_ru.html | 68 ++++++ 78_th.html | 69 ++++++ 78_tr.html | 68 ++++++ 78_ua.html | 69 ++++++ 78_vi.html | 68 ++++++ 78_zh-cn.html | 68 ++++++ 78_zh-tw.html | 68 ++++++ 79_ar.html | 54 +++++ 79_de.html | 55 +++++ 79_en.html | 55 +++++ 79_es.html | 54 +++++ 79_fa.html | 55 +++++ 79_fi.html | 55 +++++ 79_fr.html | 56 +++++ 79_gr.html | 55 +++++ 79_hu.html | 55 +++++ 79_id.html | 55 +++++ 79_ie.html | 55 +++++ 79_it.html | 55 +++++ 79_ja.html | 54 +++++ 79_ko.html | 55 +++++ 79_pl.html | 55 +++++ 79_pt-br.html | 54 +++++ 79_ro.html | 54 +++++ 79_ru.html | 54 +++++ 79_th.html | 54 +++++ 79_tr.html | 54 +++++ 79_ua.html | 54 +++++ 79_vi.html | 54 +++++ 79_zh-cn.html | 54 +++++ 79_zh-tw.html | 54 +++++ 80_ar.html | 53 +++++ 80_de.html | 53 +++++ 80_en.html | 53 +++++ 80_es.html | 53 +++++ 80_fa.html | 53 +++++ 80_fi.html | 53 +++++ 80_fr.html | 53 +++++ 80_gr.html | 53 +++++ 80_hu.html | 53 +++++ 80_id.html | 53 +++++ 80_ie.html | 53 +++++ 80_it.html | 53 +++++ 80_ja.html | 53 +++++ 80_ko.html | 53 +++++ 80_pl.html | 53 +++++ 80_pt-br.html | 53 +++++ 80_ro.html | 53 +++++ 80_ru.html | 53 +++++ 80_th.html | 53 +++++ 80_tr.html | 53 +++++ 80_ua.html | 53 +++++ 80_vi.html | 53 +++++ 80_zh-cn.html | 53 +++++ 80_zh-tw.html | 53 +++++ 81_ar.html | 63 ++++++ 81_de.html | 63 ++++++ 81_en.html | 63 ++++++ 81_es.html | 63 ++++++ 81_fa.html | 63 ++++++ 81_fi.html | 63 ++++++ 81_fr.html | 69 ++++++ 81_gr.html | 63 ++++++ 81_hu.html | 68 ++++++ 81_id.html | 63 ++++++ 81_ie.html | 58 +++++ 81_it.html | 63 ++++++ 81_ja.html | 63 ++++++ 81_ko.html | 63 ++++++ 81_pl.html | 63 ++++++ 81_pt-br.html | 63 ++++++ 81_ro.html | 63 ++++++ 81_ru.html | 63 ++++++ 81_th.html | 63 ++++++ 81_tr.html | 63 ++++++ 81_ua.html | 63 ++++++ 81_vi.html | 63 ++++++ 81_zh-cn.html | 63 ++++++ 81_zh-tw.html | 63 ++++++ 82_ar.html | 56 +++++ 82_de.html | 57 +++++ 82_en.html | 57 +++++ 82_es.html | 56 +++++ 82_fa.html | 57 +++++ 82_fi.html | 57 +++++ 82_fr.html | 61 +++++ 82_gr.html | 57 +++++ 82_hu.html | 59 +++++ 82_id.html | 57 +++++ 82_ie.html | 57 +++++ 82_it.html | 57 +++++ 82_ja.html | 56 +++++ 82_ko.html | 57 +++++ 82_pl.html | 57 +++++ 82_pt-br.html | 56 +++++ 82_ro.html | 57 +++++ 82_ru.html | 56 +++++ 82_th.html | 56 +++++ 82_tr.html | 56 +++++ 82_ua.html | 56 +++++ 82_vi.html | 57 +++++ 82_zh-cn.html | 56 +++++ 82_zh-tw.html | 56 +++++ 83_ar.html | 55 +++++ 83_de.html | 56 +++++ 83_en.html | 56 +++++ 83_es.html | 55 +++++ 83_fa.html | 56 +++++ 83_fi.html | 56 +++++ 83_fr.html | 62 ++++++ 83_gr.html | 56 +++++ 83_hu.html | 61 +++++ 83_id.html | 56 +++++ 83_ie.html | 56 +++++ 83_it.html | 56 +++++ 83_ja.html | 57 +++++ 83_ko.html | 56 +++++ 83_pl.html | 56 +++++ 83_pt-br.html | 56 +++++ 83_ro.html | 59 +++++ 83_ru.html | 56 +++++ 83_th.html | 56 +++++ 83_tr.html | 55 +++++ 83_ua.html | 56 +++++ 83_vi.html | 55 +++++ 83_zh-cn.html | 55 +++++ 83_zh-tw.html | 55 +++++ 84_ar.html | 62 ++++++ 84_de.html | 64 ++++++ 84_en.html | 64 ++++++ 84_es.html | 62 ++++++ 84_fa.html | 64 ++++++ 84_fi.html | 64 ++++++ 84_fr.html | 68 ++++++ 84_gr.html | 64 ++++++ 84_hu.html | 67 ++++++ 84_id.html | 64 ++++++ 84_ie.html | 64 ++++++ 84_it.html | 64 ++++++ 84_ja.html | 62 ++++++ 84_ko.html | 64 ++++++ 84_pl.html | 64 ++++++ 84_pt-br.html | 62 ++++++ 84_ro.html | 63 ++++++ 84_ru.html | 62 ++++++ 84_th.html | 62 ++++++ 84_tr.html | 62 ++++++ 84_ua.html | 62 ++++++ 84_vi.html | 62 ++++++ 84_zh-cn.html | 62 ++++++ 84_zh-tw.html | 62 ++++++ 85_ar.html | 65 ++++++ 85_de.html | 65 ++++++ 85_en.html | 65 ++++++ 85_es.html | 65 ++++++ 85_fa.html | 65 ++++++ 85_fi.html | 65 ++++++ 85_fr.html | 66 ++++++ 85_gr.html | 65 ++++++ 85_hu.html | 65 ++++++ 85_id.html | 65 ++++++ 85_ie.html | 65 ++++++ 85_it.html | 65 ++++++ 85_ja.html | 65 ++++++ 85_ko.html | 65 ++++++ 85_pl.html | 65 ++++++ 85_pt-br.html | 65 ++++++ 85_ro.html | 65 ++++++ 85_ru.html | 65 ++++++ 85_th.html | 65 ++++++ 85_tr.html | 65 ++++++ 85_ua.html | 65 ++++++ 85_vi.html | 65 ++++++ 85_zh-cn.html | 65 ++++++ 85_zh-tw.html | 65 ++++++ 86_ar.html | 58 +++++ 86_de.html | 60 +++++ 86_en.html | 60 +++++ 86_es.html | 58 +++++ 86_fa.html | 60 +++++ 86_fi.html | 60 +++++ 86_fr.html | 62 ++++++ 86_gr.html | 60 +++++ 86_hu.html | 61 +++++ 86_id.html | 60 +++++ 86_ie.html | 59 +++++ 86_it.html | 60 +++++ 86_ja.html | 58 +++++ 86_ko.html | 59 +++++ 86_pl.html | 60 +++++ 86_pt-br.html | 58 +++++ 86_ro.html | 59 +++++ 86_ru.html | 58 +++++ 86_th.html | 58 +++++ 86_tr.html | 57 +++++ 86_ua.html | 58 +++++ 86_vi.html | 58 +++++ 86_zh-cn.html | 58 +++++ 86_zh-tw.html | 58 +++++ 87_ar.html | 64 ++++++ 87_de.html | 64 ++++++ 87_en.html | 64 ++++++ 87_es.html | 64 ++++++ 87_fa.html | 64 ++++++ 87_fi.html | 64 ++++++ 87_fr.html | 67 ++++++ 87_gr.html | 64 ++++++ 87_hu.html | 66 ++++++ 87_id.html | 64 ++++++ 87_ie.html | 66 ++++++ 87_it.html | 64 ++++++ 87_ja.html | 64 ++++++ 87_ko.html | 64 ++++++ 87_pl.html | 64 ++++++ 87_pt-br.html | 64 ++++++ 87_ro.html | 64 ++++++ 87_ru.html | 64 ++++++ 87_th.html | 64 ++++++ 87_tr.html | 65 ++++++ 87_ua.html | 64 ++++++ 87_vi.html | 64 ++++++ 87_zh-cn.html | 64 ++++++ 87_zh-tw.html | 64 ++++++ 88_ar.html | 56 +++++ 88_de.html | 60 +++++ 88_en.html | 60 +++++ 88_es.html | 58 +++++ 88_fa.html | 60 +++++ 88_fi.html | 60 +++++ 88_fr.html | 64 ++++++ 88_gr.html | 60 +++++ 88_hu.html | 62 ++++++ 88_id.html | 60 +++++ 88_ie.html | 55 +++++ 88_it.html | 60 +++++ 88_ja.html | 59 +++++ 88_ko.html | 59 +++++ 88_pl.html | 60 +++++ 88_pt-br.html | 56 +++++ 88_ro.html | 58 +++++ 88_ru.html | 58 +++++ 88_th.html | 57 +++++ 88_tr.html | 56 +++++ 88_ua.html | 60 +++++ 88_vi.html | 56 +++++ 88_zh-cn.html | 57 +++++ 88_zh-tw.html | 57 +++++ 90_ar.html | 51 +++++ 90_de.html | 55 +++++ 90_en.html | 55 +++++ 90_es.html | 51 +++++ 90_fa.html | 55 +++++ 90_fi.html | 55 +++++ 90_fr.html | 56 +++++ 90_gr.html | 55 +++++ 90_hu.html | 55 +++++ 90_id.html | 55 +++++ 90_ie.html | 55 +++++ 90_it.html | 55 +++++ 90_ja.html | 55 +++++ 90_ko.html | 54 +++++ 90_pl.html | 55 +++++ 90_pt-br.html | 51 +++++ 90_ro.html | 55 +++++ 90_ru.html | 51 +++++ 90_th.html | 52 +++++ 90_tr.html | 51 +++++ 90_ua.html | 55 +++++ 90_vi.html | 51 +++++ 90_zh-cn.html | 51 +++++ 90_zh-tw.html | 55 +++++ 91_ar.html | 65 ++++++ 91_de.html | 70 ++++++ 91_en.html | 70 ++++++ 91_es.html | 64 ++++++ 91_fa.html | 69 ++++++ 91_fi.html | 70 ++++++ 91_fr.html | 78 +++++++ 91_gr.html | 70 ++++++ 91_hu.html | 71 ++++++ 91_id.html | 70 ++++++ 91_ie.html | 69 ++++++ 91_it.html | 70 ++++++ 91_ja.html | 70 ++++++ 91_ko.html | 69 ++++++ 91_pl.html | 70 ++++++ 91_pt-br.html | 65 ++++++ 91_ro.html | 71 ++++++ 91_ru.html | 66 ++++++ 91_th.html | 70 ++++++ 91_tr.html | 65 ++++++ 91_ua.html | 70 ++++++ 91_vi.html | 65 ++++++ 91_zh-cn.html | 65 ++++++ 91_zh-tw.html | 70 ++++++ 92_ar.html | 57 +++++ 92_de.html | 58 +++++ 92_en.html | 58 +++++ 92_es.html | 57 +++++ 92_fa.html | 58 +++++ 92_fi.html | 58 +++++ 92_fr.html | 59 +++++ 92_gr.html | 58 +++++ 92_hu.html | 58 +++++ 92_id.html | 58 +++++ 92_ie.html | 58 +++++ 92_it.html | 58 +++++ 92_ja.html | 58 +++++ 92_ko.html | 58 +++++ 92_pl.html | 58 +++++ 92_pt-br.html | 57 +++++ 92_ro.html | 58 +++++ 92_ru.html | 58 +++++ 92_th.html | 58 +++++ 92_tr.html | 58 +++++ 92_ua.html | 58 +++++ 92_vi.html | 57 +++++ 92_zh-cn.html | 57 +++++ 92_zh-tw.html | 58 +++++ 93_ar.html | 62 ++++++ 93_de.html | 63 ++++++ 93_en.html | 63 ++++++ 93_es.html | 62 ++++++ 93_fa.html | 63 ++++++ 93_fi.html | 63 ++++++ 93_fr.html | 64 ++++++ 93_gr.html | 63 ++++++ 93_hu.html | 63 ++++++ 93_id.html | 63 ++++++ 93_ie.html | 63 ++++++ 93_it.html | 63 ++++++ 93_ja.html | 63 ++++++ 93_ko.html | 63 ++++++ 93_pl.html | 63 ++++++ 93_pt-br.html | 62 ++++++ 93_ro.html | 63 ++++++ 93_ru.html | 62 ++++++ 93_th.html | 63 ++++++ 93_tr.html | 62 ++++++ 93_ua.html | 63 ++++++ 93_vi.html | 62 ++++++ 93_zh-cn.html | 62 ++++++ 93_zh-tw.html | 63 ++++++ 94_ar.html | 60 +++++ 94_de.html | 61 +++++ 94_en.html | 61 +++++ 94_es.html | 60 +++++ 94_fa.html | 61 +++++ 94_fi.html | 61 +++++ 94_fr.html | 64 ++++++ 94_gr.html | 61 +++++ 94_hu.html | 62 ++++++ 94_id.html | 61 +++++ 94_ie.html | 62 ++++++ 94_it.html | 61 +++++ 94_ja.html | 61 +++++ 94_ko.html | 61 +++++ 94_pl.html | 61 +++++ 94_pt-br.html | 60 +++++ 94_ro.html | 61 +++++ 94_ru.html | 60 +++++ 94_th.html | 60 +++++ 94_tr.html | 60 +++++ 94_ua.html | 61 +++++ 94_vi.html | 60 +++++ 94_zh-cn.html | 60 +++++ 94_zh-tw.html | 61 +++++ 95_ar.html | 55 +++++ 95_de.html | 59 +++++ 95_en.html | 59 +++++ 95_es.html | 55 +++++ 95_fa.html | 59 +++++ 95_fi.html | 59 +++++ 95_fr.html | 63 ++++++ 95_gr.html | 59 +++++ 95_hu.html | 59 +++++ 95_id.html | 59 +++++ 95_ie.html | 59 +++++ 95_it.html | 59 +++++ 95_ja.html | 59 +++++ 95_ko.html | 59 +++++ 95_pl.html | 59 +++++ 95_pt-br.html | 55 +++++ 95_ro.html | 59 +++++ 95_ru.html | 55 +++++ 95_th.html | 56 +++++ 95_tr.html | 55 +++++ 95_ua.html | 59 +++++ 95_vi.html | 55 +++++ 95_zh-cn.html | 55 +++++ 95_zh-tw.html | 59 +++++ 96_ar.html | 57 +++++ 96_de.html | 61 +++++ 96_en.html | 61 +++++ 96_es.html | 56 +++++ 96_fa.html | 61 +++++ 96_fi.html | 61 +++++ 96_fr.html | 65 ++++++ 96_gr.html | 61 +++++ 96_hu.html | 67 ++++++ 96_id.html | 61 +++++ 96_ie.html | 62 ++++++ 96_it.html | 61 +++++ 96_ja.html | 61 +++++ 96_ko.html | 61 +++++ 96_pl.html | 61 +++++ 96_pt-br.html | 57 +++++ 96_ro.html | 61 +++++ 96_ru.html | 57 +++++ 96_th.html | 58 +++++ 96_tr.html | 56 +++++ 96_ua.html | 61 +++++ 96_vi.html | 57 +++++ 96_zh-cn.html | 57 +++++ 96_zh-tw.html | 61 +++++ 97_ar.html | 60 +++++ 97_de.html | 64 ++++++ 97_en.html | 64 ++++++ 97_es.html | 60 +++++ 97_fa.html | 64 ++++++ 97_fi.html | 64 ++++++ 97_fr.html | 72 ++++++ 97_gr.html | 64 ++++++ 97_hu.html | 70 ++++++ 97_id.html | 64 ++++++ 97_ie.html | 64 ++++++ 97_it.html | 64 ++++++ 97_ja.html | 64 ++++++ 97_ko.html | 65 ++++++ 97_pl.html | 64 ++++++ 97_pt-br.html | 60 +++++ 97_ro.html | 64 ++++++ 97_ru.html | 60 +++++ 97_th.html | 61 +++++ 97_tr.html | 60 +++++ 97_ua.html | 64 ++++++ 97_vi.html | 60 +++++ 97_zh-cn.html | 62 ++++++ 97_zh-tw.html | 64 ++++++ 98_ar.html | 54 +++++ 98_de.html | 54 +++++ 98_en.html | 54 +++++ 98_es.html | 54 +++++ 98_fa.html | 54 +++++ 98_fi.html | 54 +++++ 98_fr.html | 56 +++++ 98_gr.html | 54 +++++ 98_hu.html | 54 +++++ 98_id.html | 54 +++++ 98_ie.html | 54 +++++ 98_it.html | 54 +++++ 98_ja.html | 54 +++++ 98_ko.html | 54 +++++ 98_pl.html | 54 +++++ 98_pt-br.html | 54 +++++ 98_ro.html | 54 +++++ 98_ru.html | 54 +++++ 98_th.html | 54 +++++ 98_tr.html | 54 +++++ 98_ua.html | 54 +++++ 98_vi.html | 54 +++++ 98_zh-cn.html | 54 +++++ 98_zh-tw.html | 54 +++++ 99_ar.html | 57 +++++ 99_de.html | 61 +++++ 99_en.html | 61 +++++ 99_es.html | 57 +++++ 99_fa.html | 61 +++++ 99_fi.html | 61 +++++ 99_fr.html | 66 ++++++ 99_gr.html | 61 +++++ 99_hu.html | 62 ++++++ 99_id.html | 61 +++++ 99_ie.html | 61 +++++ 99_it.html | 61 +++++ 99_ja.html | 61 +++++ 99_ko.html | 61 +++++ 99_pl.html | 61 +++++ 99_pt-br.html | 57 +++++ 99_ro.html | 61 +++++ 99_ru.html | 57 +++++ 99_th.html | 57 +++++ 99_tr.html | 57 +++++ 99_ua.html | 61 +++++ 99_vi.html | 57 +++++ 99_zh-cn.html | 57 +++++ 99_zh-tw.html | 61 +++++ docs/CNAME => CNAME | 0 TOC_ar.html | 168 ++++++++++++++ TOC_de.html | 168 ++++++++++++++ TOC_en.html | 168 ++++++++++++++ TOC_es.html | 168 ++++++++++++++ TOC_fa.html | 168 ++++++++++++++ TOC_fi.html | 168 ++++++++++++++ TOC_fr.html | 168 ++++++++++++++ TOC_gr.html | 168 ++++++++++++++ TOC_hu.html | 168 ++++++++++++++ TOC_id.html | 168 ++++++++++++++ TOC_ie.html | 168 ++++++++++++++ TOC_it.html | 168 ++++++++++++++ TOC_ja.html | 168 ++++++++++++++ TOC_ko.html | 168 ++++++++++++++ TOC_pl.html | 168 ++++++++++++++ TOC_pt-br.html | 168 ++++++++++++++ TOC_ro.html | 168 ++++++++++++++ TOC_ru.html | 168 ++++++++++++++ TOC_th.html | 168 ++++++++++++++ TOC_tr.html | 168 ++++++++++++++ TOC_ua.html | 168 ++++++++++++++ TOC_vi.html | 168 ++++++++++++++ TOC_zh-cn.html | 168 ++++++++++++++ TOC_zh-tw.html | 168 ++++++++++++++ ...-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_ar.html | 81 +++++++ beta_00_de.html | 83 +++++++ beta_00_es.html | 83 +++++++ beta_00_fa.html | 77 +++++++ beta_00_fi.html | 88 ++++++++ beta_00_fr.html | 83 +++++++ beta_00_gr.html | 76 +++++++ beta_00_hu.html | 82 +++++++ beta_00_id.html | 77 +++++++ beta_00_ie.html | 53 +++++ beta_00_it.html | 80 +++++++ beta_00_ja.html | 81 +++++++ beta_00_ko.html | 77 +++++++ beta_00_pl.html | 75 +++++++ beta_00_pt-br.html | 77 +++++++ beta_00_ro.html | 86 +++++++ beta_00_ru.html | 80 +++++++ beta_00_th.html | 76 +++++++ beta_00_tr.html | 75 +++++++ beta_00_ua.html | 76 +++++++ beta_00_vi.html | 80 +++++++ beta_00_zh-cn.html | 77 +++++++ beta_00_zh-tw.html | 77 +++++++ beta_02_ar.html | 54 +++++ beta_02_de.html | 55 +++++ beta_02_en.html | 54 +++++ beta_02_es.html | 54 +++++ beta_02_fa.html | 54 +++++ beta_02_fi.html | 54 +++++ beta_02_fr.html | 54 +++++ beta_02_gr.html | 54 +++++ beta_02_hu.html | 56 +++++ beta_02_id.html | 54 +++++ beta_02_ie.html | 53 +++++ beta_02_it.html | 54 +++++ beta_02_ja.html | 54 +++++ beta_02_ko.html | 54 +++++ beta_02_pl.html | 54 +++++ beta_02_pt-br.html | 54 +++++ beta_02_ro.html | 54 +++++ beta_02_ru.html | 54 +++++ beta_02_th.html | 54 +++++ beta_02_tr.html | 54 +++++ beta_02_ua.html | 54 +++++ beta_02_vi.html | 54 +++++ beta_02_zh-cn.html | 54 +++++ beta_02_zh-tw.html | 54 +++++ beta_03_ar.html | 57 +++++ beta_03_de.html | 53 +++++ beta_03_en.html | 58 +++++ beta_03_es.html | 58 +++++ beta_03_fa.html | 58 +++++ beta_03_fi.html | 56 +++++ beta_03_fr.html | 59 +++++ beta_03_gr.html | 56 +++++ beta_03_hu.html | 58 +++++ beta_03_id.html | 56 +++++ beta_03_ie.html | 53 +++++ beta_03_it.html | 58 +++++ beta_03_ja.html | 57 +++++ beta_03_ko.html | 58 +++++ beta_03_pl.html | 57 +++++ beta_03_pt-br.html | 57 +++++ beta_03_ro.html | 58 +++++ beta_03_ru.html | 56 +++++ beta_03_th.html | 56 +++++ beta_03_tr.html | 56 +++++ beta_03_ua.html | 56 +++++ beta_03_vi.html | 56 +++++ beta_03_zh-cn.html | 56 +++++ beta_03_zh-tw.html | 56 +++++ beta_04_ar.html | 59 +++++ beta_04_de.html | 62 ++++++ beta_04_en.html | 60 +++++ beta_04_es.html | 60 +++++ beta_04_fa.html | 60 +++++ beta_04_fi.html | 59 +++++ beta_04_fr.html | 60 +++++ beta_04_gr.html | 59 +++++ beta_04_hu.html | 62 ++++++ beta_04_id.html | 59 +++++ beta_04_ie.html | 53 +++++ beta_04_it.html | 60 +++++ beta_04_ja.html | 59 +++++ beta_04_ko.html | 59 +++++ beta_04_pl.html | 59 +++++ beta_04_pt-br.html | 59 +++++ beta_04_ro.html | 60 +++++ beta_04_ru.html | 59 +++++ beta_04_th.html | 59 +++++ beta_04_tr.html | 59 +++++ beta_04_ua.html | 59 +++++ beta_04_vi.html | 59 +++++ beta_04_zh-cn.html | 59 +++++ beta_04_zh-tw.html | 59 +++++ beta_05_ar.html | 70 ++++++ beta_05_de.html | 71 ++++++ beta_05_en.html | 70 ++++++ beta_05_es.html | 66 ++++++ beta_05_fa.html | 69 ++++++ beta_05_fi.html | 67 ++++++ beta_05_fr.html | 71 ++++++ beta_05_gr.html | 66 ++++++ beta_05_hu.html | 78 +++++++ beta_05_id.html | 69 ++++++ beta_05_ie.html | 53 +++++ beta_05_it.html | 68 ++++++ beta_05_ja.html | 67 ++++++ beta_05_ko.html | 68 ++++++ beta_05_pl.html | 66 ++++++ beta_05_pt-br.html | 66 ++++++ beta_05_ro.html | 70 ++++++ beta_05_ru.html | 66 ++++++ beta_05_th.html | 67 ++++++ beta_05_tr.html | 66 ++++++ beta_05_ua.html | 66 ++++++ beta_05_vi.html | 68 ++++++ beta_05_zh-cn.html | 67 ++++++ beta_05_zh-tw.html | 68 ++++++ beta_06_ar.html | 54 +++++ beta_06_de.html | 56 +++++ beta_06_en.html | 56 +++++ beta_06_es.html | 54 +++++ beta_06_fa.html | 56 +++++ beta_06_fi.html | 54 +++++ beta_06_fr.html | 55 +++++ beta_06_gr.html | 54 +++++ beta_06_hu.html | 55 +++++ beta_06_id.html | 56 +++++ beta_06_ie.html | 53 +++++ beta_06_it.html | 55 +++++ beta_06_ja.html | 54 +++++ beta_06_ko.html | 54 +++++ beta_06_pl.html | 54 +++++ beta_06_pt-br.html | 54 +++++ beta_06_ro.html | 56 +++++ beta_06_ru.html | 54 +++++ beta_06_th.html | 54 +++++ beta_06_tr.html | 54 +++++ beta_06_ua.html | 54 +++++ beta_06_vi.html | 54 +++++ beta_06_zh-cn.html | 54 +++++ beta_06_zh-tw.html | 54 +++++ beta_07_ar.html | 55 +++++ beta_07_de.html | 57 +++++ beta_07_en.html | 58 +++++ beta_07_es.html | 55 +++++ beta_07_fa.html | 58 +++++ beta_07_fi.html | 55 +++++ beta_07_fr.html | 58 +++++ beta_07_gr.html | 55 +++++ beta_07_hu.html | 57 +++++ beta_07_id.html | 60 +++++ beta_07_ie.html | 53 +++++ beta_07_it.html | 56 +++++ beta_07_ja.html | 56 +++++ beta_07_ko.html | 56 +++++ beta_07_pl.html | 55 +++++ beta_07_pt-br.html | 55 +++++ beta_07_ro.html | 57 +++++ beta_07_ru.html | 55 +++++ beta_07_th.html | 55 +++++ beta_07_tr.html | 54 +++++ beta_07_ua.html | 55 +++++ beta_07_vi.html | 55 +++++ beta_07_zh-cn.html | 55 +++++ beta_07_zh-tw.html | 56 +++++ beta_08_ar.html | 56 +++++ beta_08_de.html | 55 +++++ beta_08_en.html | 56 +++++ beta_08_es.html | 55 +++++ beta_08_fa.html | 55 +++++ beta_08_fi.html | 56 +++++ beta_08_fr.html | 58 +++++ beta_08_gr.html | 55 +++++ beta_08_hu.html | 58 +++++ beta_08_id.html | 55 +++++ beta_08_ie.html | 56 +++++ beta_08_it.html | 56 +++++ beta_08_ja.html | 55 +++++ beta_08_ko.html | 55 +++++ beta_08_pl.html | 55 +++++ beta_08_pt-br.html | 55 +++++ beta_08_ro.html | 56 +++++ beta_08_ru.html | 55 +++++ beta_08_th.html | 55 +++++ beta_08_tr.html | 55 +++++ beta_08_ua.html | 55 +++++ beta_08_vi.html | 56 +++++ beta_08_zh-cn.html | 55 +++++ beta_08_zh-tw.html | 55 +++++ beta_09_ar.html | 57 +++++ beta_09_de.html | 56 +++++ beta_09_en.html | 57 +++++ beta_09_es.html | 55 +++++ beta_09_fa.html | 56 +++++ beta_09_fi.html | 57 +++++ beta_09_fr.html | 56 +++++ beta_09_gr.html | 55 +++++ beta_09_hu.html | 55 +++++ beta_09_id.html | 55 +++++ beta_09_ie.html | 53 +++++ beta_09_it.html | 57 +++++ beta_09_ja.html | 55 +++++ beta_09_ko.html | 55 +++++ beta_09_pl.html | 55 +++++ beta_09_pt-br.html | 55 +++++ beta_09_ro.html | 57 +++++ beta_09_ru.html | 56 +++++ beta_09_th.html | 56 +++++ beta_09_tr.html | 55 +++++ beta_09_ua.html | 55 +++++ beta_09_vi.html | 57 +++++ beta_09_zh-cn.html | 55 +++++ beta_09_zh-tw.html | 55 +++++ beta_100_ar.html | 54 +++++ beta_100_en.html | 56 +++++ beta_100_es.html | 54 +++++ beta_100_fa.html | 56 +++++ beta_100_fr.html | 57 +++++ beta_100_hu.html | 56 +++++ beta_100_ie.html | 55 +++++ beta_100_ko.html | 55 +++++ beta_100_pl.html | 56 +++++ beta_100_pt-br.html | 54 +++++ beta_100_ro.html | 56 +++++ beta_100_ru.html | 54 +++++ beta_100_th.html | 54 +++++ beta_100_tr.html | 54 +++++ beta_100_ua.html | 56 +++++ beta_100_vi.html | 54 +++++ beta_100_zh-cn.html | 54 +++++ beta_101_ar.html | 55 +++++ beta_101_en.html | 58 +++++ beta_101_es.html | 55 +++++ beta_101_fa.html | 58 +++++ beta_101_fr.html | 59 +++++ beta_101_hu.html | 59 +++++ beta_101_ie.html | 58 +++++ beta_101_ko.html | 57 +++++ beta_101_pl.html | 58 +++++ beta_101_pt-br.html | 55 +++++ beta_101_ro.html | 57 +++++ beta_101_ru.html | 55 +++++ beta_101_th.html | 56 +++++ beta_101_tr.html | 55 +++++ beta_101_ua.html | 58 +++++ beta_101_vi.html | 55 +++++ beta_101_zh-cn.html | 55 +++++ beta_102_ar.html | 55 +++++ beta_102_en.html | 60 +++++ beta_102_es.html | 55 +++++ beta_102_fa.html | 60 +++++ beta_102_fr.html | 65 ++++++ beta_102_hu.html | 63 ++++++ beta_102_ie.html | 59 +++++ beta_102_ko.html | 60 +++++ beta_102_pl.html | 60 +++++ beta_102_pt-br.html | 55 +++++ beta_102_ro.html | 59 +++++ beta_102_ru.html | 56 +++++ beta_102_th.html | 56 +++++ beta_102_tr.html | 55 +++++ beta_102_ua.html | 60 +++++ beta_102_vi.html | 56 +++++ beta_102_zh-cn.html | 55 +++++ beta_103_ar.html | 60 +++++ beta_103_en.html | 62 ++++++ beta_103_es.html | 60 +++++ beta_103_fa.html | 62 ++++++ beta_103_fr.html | 74 ++++++ beta_103_hu.html | 72 ++++++ beta_103_ie.html | 62 ++++++ beta_103_ko.html | 60 +++++ beta_103_pl.html | 62 ++++++ beta_103_pt-br.html | 60 +++++ beta_103_ro.html | 62 ++++++ beta_103_ru.html | 62 ++++++ beta_103_th.html | 60 +++++ beta_103_tr.html | 60 +++++ beta_103_ua.html | 60 +++++ beta_103_vi.html | 60 +++++ beta_103_zh-cn.html | 61 +++++ beta_104_ar.html | 52 +++++ beta_104_en.html | 55 +++++ beta_104_es.html | 51 +++++ beta_104_fa.html | 55 +++++ beta_104_fr.html | 55 +++++ beta_104_hu.html | 55 +++++ beta_104_ie.html | 54 +++++ beta_104_ko.html | 54 +++++ beta_104_pl.html | 55 +++++ beta_104_pt-br.html | 51 +++++ beta_104_ro.html | 55 +++++ beta_104_ru.html | 53 +++++ beta_104_th.html | 52 +++++ beta_104_tr.html | 52 +++++ beta_104_ua.html | 52 +++++ beta_104_vi.html | 51 +++++ beta_104_zh-cn.html | 51 +++++ beta_106_ar.html | 55 +++++ beta_106_de.html | 54 +++++ beta_106_en.html | 55 +++++ beta_106_es.html | 55 +++++ beta_106_fa.html | 55 +++++ beta_106_fr.html | 56 +++++ beta_106_hu.html | 57 +++++ beta_106_ie.html | 54 +++++ beta_106_ko.html | 55 +++++ beta_106_pl.html | 55 +++++ beta_106_pt-br.html | 55 +++++ beta_106_ro.html | 55 +++++ beta_106_ru.html | 56 +++++ beta_106_th.html | 55 +++++ beta_106_tr.html | 56 +++++ beta_106_ua.html | 55 +++++ beta_106_vi.html | 55 +++++ beta_106_zh-cn.html | 55 +++++ beta_107_ar.html | 51 +++++ beta_107_de.html | 51 +++++ beta_107_en.html | 51 +++++ beta_107_es.html | 51 +++++ beta_107_fa.html | 51 +++++ beta_107_fr.html | 51 +++++ beta_107_hu.html | 51 +++++ beta_107_ie.html | 51 +++++ beta_107_ko.html | 51 +++++ beta_107_pl.html | 51 +++++ beta_107_pt-br.html | 51 +++++ beta_107_ro.html | 51 +++++ beta_107_ru.html | 51 +++++ beta_107_th.html | 51 +++++ beta_107_tr.html | 51 +++++ beta_107_ua.html | 51 +++++ beta_107_vi.html | 51 +++++ beta_107_zh-cn.html | 51 +++++ beta_108_ar.html | 51 +++++ beta_108_de.html | 51 +++++ beta_108_en.html | 51 +++++ beta_108_es.html | 51 +++++ beta_108_fa.html | 51 +++++ beta_108_fr.html | 51 +++++ beta_108_hu.html | 51 +++++ beta_108_ie.html | 51 +++++ beta_108_ko.html | 51 +++++ beta_108_pl.html | 51 +++++ beta_108_pt-br.html | 51 +++++ beta_108_ro.html | 51 +++++ beta_108_ru.html | 51 +++++ beta_108_th.html | 51 +++++ beta_108_tr.html | 51 +++++ beta_108_ua.html | 51 +++++ beta_108_vi.html | 51 +++++ beta_108_zh-cn.html | 51 +++++ beta_109_ar.html | 61 +++++ beta_109_de.html | 57 +++++ beta_109_en.html | 59 +++++ beta_109_es.html | 56 +++++ beta_109_fa.html | 59 +++++ beta_109_fr.html | 64 ++++++ beta_109_hu.html | 63 ++++++ beta_109_ie.html | 56 +++++ beta_109_ko.html | 59 +++++ beta_109_pl.html | 59 +++++ beta_109_pt-br.html | 56 +++++ beta_109_ro.html | 58 +++++ beta_109_ru.html | 56 +++++ beta_109_th.html | 57 +++++ beta_109_tr.html | 56 +++++ beta_109_ua.html | 59 +++++ beta_109_vi.html | 56 +++++ beta_109_zh-cn.html | 57 +++++ beta_10_ar.html | 55 +++++ beta_10_de.html | 56 +++++ beta_10_en.html | 57 +++++ beta_10_es.html | 55 +++++ beta_10_fa.html | 57 +++++ beta_10_fi.html | 55 +++++ beta_10_fr.html | 56 +++++ beta_10_gr.html | 55 +++++ beta_10_hu.html | 56 +++++ beta_10_id.html | 57 +++++ beta_10_ie.html | 53 +++++ beta_10_it.html | 56 +++++ beta_10_ja.html | 55 +++++ beta_10_ko.html | 55 +++++ beta_10_pl.html | 55 +++++ beta_10_pt-br.html | 55 +++++ beta_10_ro.html | 57 +++++ beta_10_ru.html | 55 +++++ beta_10_th.html | 55 +++++ beta_10_tr.html | 55 +++++ beta_10_ua.html | 55 +++++ beta_10_vi.html | 55 +++++ beta_10_zh-cn.html | 55 +++++ beta_10_zh-tw.html | 55 +++++ beta_110_ar.html | 54 +++++ beta_110_de.html | 54 +++++ beta_110_en.html | 54 +++++ beta_110_es.html | 54 +++++ beta_110_fa.html | 54 +++++ beta_110_fr.html | 53 +++++ beta_110_hu.html | 55 +++++ beta_110_ie.html | 58 +++++ beta_110_ko.html | 54 +++++ beta_110_pl.html | 54 +++++ beta_110_pt-br.html | 54 +++++ beta_110_ro.html | 54 +++++ beta_110_ru.html | 54 +++++ beta_110_th.html | 54 +++++ beta_110_tr.html | 54 +++++ beta_110_ua.html | 54 +++++ beta_110_vi.html | 54 +++++ beta_110_zh-cn.html | 54 +++++ beta_111_ar.html | 56 +++++ beta_111_de.html | 57 +++++ beta_111_en.html | 59 +++++ beta_111_es.html | 56 +++++ beta_111_fa.html | 59 +++++ beta_111_fr.html | 60 +++++ beta_111_hu.html | 58 +++++ beta_111_ie.html | 55 +++++ beta_111_ko.html | 58 +++++ beta_111_pl.html | 59 +++++ beta_111_pt-br.html | 56 +++++ beta_111_ro.html | 59 +++++ beta_111_ru.html | 58 +++++ beta_111_th.html | 57 +++++ beta_111_tr.html | 57 +++++ beta_111_ua.html | 59 +++++ beta_111_vi.html | 57 +++++ beta_111_zh-cn.html | 56 +++++ beta_112_ar.html | 54 +++++ beta_112_de.html | 54 +++++ beta_112_en.html | 56 +++++ beta_112_es.html | 54 +++++ beta_112_fa.html | 56 +++++ beta_112_fr.html | 57 +++++ beta_112_hu.html | 56 +++++ beta_112_ie.html | 62 ++++++ beta_112_ko.html | 56 +++++ beta_112_pl.html | 56 +++++ beta_112_pt-br.html | 54 +++++ beta_112_ro.html | 56 +++++ beta_112_ru.html | 54 +++++ beta_112_th.html | 54 +++++ beta_112_tr.html | 54 +++++ beta_112_ua.html | 56 +++++ beta_112_vi.html | 54 +++++ beta_112_zh-cn.html | 54 +++++ beta_113_ar.html | 63 ++++++ beta_113_de.html | 63 ++++++ beta_113_en.html | 63 ++++++ beta_113_es.html | 63 ++++++ beta_113_fa.html | 63 ++++++ beta_113_fr.html | 65 ++++++ beta_113_hu.html | 63 ++++++ beta_113_ie.html | 56 +++++ beta_113_ko.html | 63 ++++++ beta_113_pl.html | 63 ++++++ beta_113_pt-br.html | 63 ++++++ beta_113_ro.html | 63 ++++++ beta_113_ru.html | 63 ++++++ beta_113_th.html | 63 ++++++ beta_113_tr.html | 63 ++++++ beta_113_ua.html | 63 ++++++ beta_113_vi.html | 65 ++++++ beta_113_zh-cn.html | 61 +++++ beta_114_ar.html | 56 +++++ beta_114_de.html | 56 +++++ beta_114_en.html | 56 +++++ beta_114_es.html | 56 +++++ beta_114_fa.html | 56 +++++ beta_114_fr.html | 57 +++++ beta_114_hu.html | 57 +++++ beta_114_ie.html | 53 +++++ beta_114_ko.html | 56 +++++ beta_114_pl.html | 56 +++++ beta_114_pt-br.html | 56 +++++ beta_114_ro.html | 56 +++++ beta_114_ru.html | 56 +++++ beta_114_th.html | 56 +++++ beta_114_tr.html | 56 +++++ beta_114_ua.html | 56 +++++ beta_114_vi.html | 56 +++++ beta_114_zh-cn.html | 56 +++++ beta_115_ar.html | 52 +++++ beta_115_de.html | 56 +++++ beta_115_en.html | 54 +++++ beta_115_es.html | 52 +++++ beta_115_fa.html | 54 +++++ beta_115_fr.html | 57 +++++ beta_115_hu.html | 56 +++++ beta_115_ie.html | 53 +++++ beta_115_ko.html | 54 +++++ beta_115_pl.html | 54 +++++ beta_115_pt-br.html | 51 +++++ beta_115_ro.html | 54 +++++ beta_115_ru.html | 52 +++++ beta_115_th.html | 52 +++++ beta_115_tr.html | 52 +++++ beta_115_ua.html | 54 +++++ beta_115_vi.html | 52 +++++ beta_115_zh-cn.html | 52 +++++ beta_116_ar.html | 53 +++++ beta_116_de.html | 54 +++++ beta_116_en.html | 53 +++++ beta_116_es.html | 53 +++++ beta_116_fa.html | 53 +++++ beta_116_fr.html | 54 +++++ beta_116_hu.html | 54 +++++ beta_116_ko.html | 53 +++++ beta_116_pl.html | 53 +++++ beta_116_pt-br.html | 53 +++++ beta_116_ro.html | 53 +++++ beta_116_ru.html | 53 +++++ beta_116_th.html | 53 +++++ beta_116_tr.html | 53 +++++ beta_116_ua.html | 53 +++++ beta_116_vi.html | 53 +++++ beta_116_zh-cn.html | 53 +++++ beta_117_ar.html | 53 +++++ beta_117_de.html | 54 +++++ beta_117_en.html | 57 +++++ beta_117_es.html | 55 +++++ beta_117_fa.html | 57 +++++ beta_117_fr.html | 57 +++++ beta_117_hu.html | 55 +++++ beta_117_ko.html | 55 +++++ beta_117_pl.html | 57 +++++ beta_117_pt-br.html | 52 +++++ beta_117_ro.html | 57 +++++ beta_117_ru.html | 56 +++++ beta_117_th.html | 56 +++++ beta_117_tr.html | 54 +++++ beta_117_ua.html | 57 +++++ beta_117_vi.html | 54 +++++ beta_117_zh-cn.html | 54 +++++ beta_118_ar.html | 53 +++++ beta_118_de.html | 53 +++++ beta_118_en.html | 55 +++++ beta_118_es.html | 52 +++++ beta_118_fa.html | 55 +++++ beta_118_fr.html | 56 +++++ beta_118_hu.html | 56 +++++ beta_118_ko.html | 55 +++++ beta_118_pl.html | 55 +++++ beta_118_pt-br.html | 53 +++++ beta_118_ro.html | 55 +++++ beta_118_ru.html | 53 +++++ beta_118_th.html | 53 +++++ beta_118_tr.html | 52 +++++ beta_118_ua.html | 53 +++++ beta_118_vi.html | 53 +++++ beta_118_zh-cn.html | 53 +++++ beta_119_ar.html | 55 +++++ beta_119_de.html | 56 +++++ beta_119_en.html | 56 +++++ beta_119_es.html | 55 +++++ beta_119_fa.html | 56 +++++ beta_119_fr.html | 59 +++++ beta_119_hu.html | 58 +++++ beta_119_ko.html | 56 +++++ beta_119_pl.html | 56 +++++ beta_119_pt-br.html | 55 +++++ beta_119_ro.html | 56 +++++ beta_119_ru.html | 56 +++++ beta_119_th.html | 56 +++++ beta_119_tr.html | 55 +++++ beta_119_ua.html | 55 +++++ beta_119_vi.html | 55 +++++ beta_119_zh-cn.html | 55 +++++ beta_11_ar.html | 55 +++++ beta_11_de.html | 55 +++++ beta_11_en.html | 55 +++++ beta_11_es.html | 55 +++++ beta_11_fa.html | 55 +++++ beta_11_fi.html | 55 +++++ beta_11_fr.html | 56 +++++ beta_11_gr.html | 55 +++++ beta_11_hu.html | 57 +++++ beta_11_id.html | 55 +++++ beta_11_ie.html | 55 +++++ beta_11_it.html | 55 +++++ beta_11_ja.html | 55 +++++ beta_11_ko.html | 55 +++++ beta_11_pl.html | 55 +++++ beta_11_pt-br.html | 55 +++++ beta_11_ro.html | 55 +++++ beta_11_ru.html | 55 +++++ beta_11_th.html | 55 +++++ beta_11_tr.html | 55 +++++ beta_11_ua.html | 54 +++++ beta_11_vi.html | 55 +++++ beta_11_zh-cn.html | 55 +++++ beta_11_zh-tw.html | 55 +++++ beta_12_ar.html | 59 +++++ beta_12_de.html | 61 +++++ beta_12_en.html | 61 +++++ beta_12_es.html | 57 +++++ beta_12_fa.html | 61 +++++ beta_12_fi.html | 57 +++++ beta_12_fr.html | 61 +++++ beta_12_gr.html | 57 +++++ beta_12_hu.html | 63 ++++++ beta_12_id.html | 63 ++++++ beta_12_ie.html | 51 +++++ beta_12_it.html | 60 +++++ beta_12_ja.html | 60 +++++ beta_12_ko.html | 61 +++++ beta_12_pl.html | 57 +++++ beta_12_pt-br.html | 57 +++++ beta_12_ro.html | 61 +++++ beta_12_ru.html | 57 +++++ beta_12_th.html | 60 +++++ beta_12_tr.html | 58 +++++ beta_12_ua.html | 59 +++++ beta_12_vi.html | 58 +++++ beta_12_zh-cn.html | 61 +++++ beta_12_zh-tw.html | 60 +++++ beta_14_ar.html | 55 +++++ beta_14_de.html | 56 +++++ beta_14_en.html | 55 +++++ beta_14_es.html | 55 +++++ beta_14_fa.html | 55 +++++ beta_14_fi.html | 55 +++++ beta_14_fr.html | 56 +++++ beta_14_gr.html | 55 +++++ beta_14_hu.html | 57 +++++ beta_14_id.html | 55 +++++ beta_14_ie.html | 53 +++++ beta_14_it.html | 55 +++++ beta_14_ja.html | 55 +++++ beta_14_ko.html | 55 +++++ beta_14_pl.html | 55 +++++ beta_14_pt-br.html | 55 +++++ beta_14_ro.html | 55 +++++ beta_14_ru.html | 56 +++++ beta_14_th.html | 55 +++++ beta_14_tr.html | 55 +++++ beta_14_ua.html | 55 +++++ beta_14_vi.html | 55 +++++ beta_14_zh-cn.html | 55 +++++ beta_14_zh-tw.html | 55 +++++ beta_15_ar.html | 56 +++++ beta_15_de.html | 54 +++++ beta_15_en.html | 56 +++++ beta_15_es.html | 56 +++++ beta_15_fa.html | 56 +++++ beta_15_fi.html | 56 +++++ beta_15_fr.html | 56 +++++ beta_15_gr.html | 54 +++++ beta_15_hu.html | 56 +++++ beta_15_id.html | 56 +++++ beta_15_ie.html | 53 +++++ beta_15_it.html | 56 +++++ beta_15_ja.html | 55 +++++ beta_15_ko.html | 56 +++++ beta_15_pl.html | 56 +++++ beta_15_pt-br.html | 56 +++++ beta_15_ro.html | 56 +++++ beta_15_ru.html | 56 +++++ beta_15_th.html | 56 +++++ beta_15_tr.html | 55 +++++ beta_15_ua.html | 55 +++++ beta_15_vi.html | 56 +++++ beta_15_zh-cn.html | 55 +++++ beta_15_zh-tw.html | 56 +++++ beta_16_ar.html | 54 +++++ beta_16_de.html | 53 +++++ beta_16_en.html | 54 +++++ beta_16_es.html | 54 +++++ beta_16_fa.html | 54 +++++ beta_16_fi.html | 54 +++++ beta_16_fr.html | 54 +++++ beta_16_gr.html | 54 +++++ beta_16_hu.html | 54 +++++ beta_16_id.html | 54 +++++ beta_16_ie.html | 53 +++++ beta_16_it.html | 54 +++++ beta_16_ja.html | 54 +++++ beta_16_ko.html | 54 +++++ beta_16_pl.html | 54 +++++ beta_16_pt-br.html | 54 +++++ beta_16_ro.html | 54 +++++ beta_16_ru.html | 54 +++++ beta_16_th.html | 54 +++++ beta_16_tr.html | 54 +++++ beta_16_ua.html | 54 +++++ beta_16_vi.html | 54 +++++ beta_16_zh-cn.html | 54 +++++ beta_16_zh-tw.html | 54 +++++ beta_17_ar.html | 55 +++++ beta_17_de.html | 63 ++++++ beta_17_en.html | 62 ++++++ beta_17_es.html | 56 +++++ beta_17_fa.html | 62 ++++++ beta_17_fi.html | 62 ++++++ beta_17_fr.html | 62 ++++++ beta_17_gr.html | 57 +++++ beta_17_hu.html | 60 +++++ beta_17_id.html | 57 +++++ beta_17_ie.html | 53 +++++ beta_17_it.html | 57 +++++ beta_17_ja.html | 59 +++++ beta_17_ko.html | 59 +++++ beta_17_pl.html | 57 +++++ beta_17_pt-br.html | 56 +++++ beta_17_ro.html | 62 ++++++ beta_17_ru.html | 59 +++++ beta_17_th.html | 57 +++++ beta_17_tr.html | 57 +++++ beta_17_ua.html | 57 +++++ beta_17_vi.html | 60 +++++ beta_17_zh-cn.html | 57 +++++ beta_17_zh-tw.html | 56 +++++ beta_18_ar.html | 56 +++++ beta_18_de.html | 62 ++++++ beta_18_en.html | 61 +++++ beta_18_es.html | 55 +++++ beta_18_fa.html | 61 +++++ beta_18_fi.html | 61 +++++ beta_18_fr.html | 60 +++++ beta_18_gr.html | 55 +++++ beta_18_hu.html | 60 +++++ beta_18_id.html | 55 +++++ beta_18_ie.html | 53 +++++ beta_18_it.html | 55 +++++ beta_18_ja.html | 59 +++++ beta_18_ko.html | 58 +++++ beta_18_pl.html | 58 +++++ beta_18_pt-br.html | 55 +++++ beta_18_ro.html | 61 +++++ beta_18_ru.html | 58 +++++ beta_18_th.html | 58 +++++ beta_18_tr.html | 56 +++++ beta_18_ua.html | 56 +++++ beta_18_vi.html | 56 +++++ beta_18_zh-cn.html | 57 +++++ beta_18_zh-tw.html | 55 +++++ beta_19_ar.html | 53 +++++ beta_19_de.html | 53 +++++ beta_19_en.html | 53 +++++ beta_19_es.html | 53 +++++ beta_19_fa.html | 53 +++++ beta_19_fi.html | 53 +++++ beta_19_fr.html | 53 +++++ beta_19_gr.html | 53 +++++ beta_19_hu.html | 53 +++++ beta_19_id.html | 53 +++++ beta_19_ie.html | 53 +++++ beta_19_it.html | 53 +++++ beta_19_ja.html | 53 +++++ beta_19_ko.html | 53 +++++ beta_19_pl.html | 53 +++++ beta_19_pt-br.html | 53 +++++ beta_19_ro.html | 53 +++++ beta_19_ru.html | 53 +++++ beta_19_th.html | 53 +++++ beta_19_tr.html | 53 +++++ beta_19_ua.html | 53 +++++ beta_19_vi.html | 53 +++++ beta_19_zh-cn.html | 53 +++++ beta_19_zh-tw.html | 53 +++++ beta_20_ar.html | 55 +++++ beta_20_de.html | 61 +++++ beta_20_en.html | 58 +++++ beta_20_es.html | 55 +++++ beta_20_fa.html | 58 +++++ beta_20_fi.html | 58 +++++ beta_20_fr.html | 59 +++++ beta_20_gr.html | 55 +++++ beta_20_hu.html | 59 +++++ beta_20_id.html | 55 +++++ beta_20_ie.html | 53 +++++ beta_20_it.html | 55 +++++ beta_20_ja.html | 56 +++++ beta_20_ko.html | 57 +++++ beta_20_pl.html | 56 +++++ beta_20_pt-br.html | 56 +++++ beta_20_ro.html | 58 +++++ beta_20_ru.html | 58 +++++ beta_20_th.html | 56 +++++ beta_20_tr.html | 55 +++++ beta_20_ua.html | 56 +++++ beta_20_vi.html | 56 +++++ beta_20_zh-cn.html | 57 +++++ beta_20_zh-tw.html | 55 +++++ beta_21_ar.html | 51 +++++ beta_21_de.html | 56 +++++ beta_21_en.html | 55 +++++ beta_21_es.html | 51 +++++ beta_21_fa.html | 55 +++++ beta_21_fi.html | 54 +++++ beta_21_fr.html | 54 +++++ beta_21_gr.html | 51 +++++ beta_21_hu.html | 54 +++++ beta_21_id.html | 51 +++++ beta_21_ie.html | 51 +++++ beta_21_it.html | 52 +++++ beta_21_ja.html | 53 +++++ beta_21_ko.html | 54 +++++ beta_21_pl.html | 53 +++++ beta_21_pt-br.html | 51 +++++ beta_21_ro.html | 55 +++++ beta_21_ru.html | 54 +++++ beta_21_th.html | 54 +++++ beta_21_tr.html | 52 +++++ beta_21_ua.html | 53 +++++ beta_21_vi.html | 53 +++++ beta_21_zh-cn.html | 53 +++++ beta_21_zh-tw.html | 51 +++++ beta_23_ar.html | 55 +++++ beta_23_de.html | 55 +++++ beta_23_en.html | 55 +++++ beta_23_es.html | 55 +++++ beta_23_fa.html | 55 +++++ beta_23_fr.html | 57 +++++ beta_23_gr.html | 55 +++++ beta_23_hu.html | 57 +++++ beta_23_ie.html | 55 +++++ beta_23_it.html | 55 +++++ beta_23_ja.html | 55 +++++ beta_23_ko.html | 55 +++++ beta_23_pl.html | 55 +++++ beta_23_pt-br.html | 55 +++++ beta_23_ro.html | 55 +++++ beta_23_ru.html | 55 +++++ beta_23_th.html | 56 +++++ beta_23_tr.html | 55 +++++ beta_23_ua.html | 54 +++++ beta_23_vi.html | 55 +++++ beta_23_zh-cn.html | 55 +++++ beta_23_zh-tw.html | 55 +++++ beta_24_ar.html | 56 +++++ beta_24_de.html | 57 +++++ beta_24_en.html | 56 +++++ beta_24_es.html | 56 +++++ beta_24_fa.html | 56 +++++ beta_24_fr.html | 57 +++++ beta_24_gr.html | 56 +++++ beta_24_hu.html | 59 +++++ beta_24_ie.html | 53 +++++ beta_24_it.html | 56 +++++ beta_24_ja.html | 56 +++++ beta_24_ko.html | 56 +++++ beta_24_pl.html | 56 +++++ beta_24_pt-br.html | 56 +++++ beta_24_ro.html | 56 +++++ beta_24_ru.html | 56 +++++ beta_24_th.html | 56 +++++ beta_24_tr.html | 56 +++++ beta_24_ua.html | 58 +++++ beta_24_vi.html | 56 +++++ beta_24_zh-cn.html | 56 +++++ beta_24_zh-tw.html | 56 +++++ beta_25_ar.html | 56 +++++ beta_25_de.html | 66 ++++++ beta_25_en.html | 67 ++++++ beta_25_es.html | 66 ++++++ beta_25_fa.html | 67 ++++++ beta_25_fr.html | 70 ++++++ beta_25_gr.html | 56 +++++ beta_25_hu.html | 68 ++++++ beta_25_ie.html | 64 ++++++ beta_25_it.html | 59 +++++ beta_25_ja.html | 61 +++++ beta_25_ko.html | 65 ++++++ beta_25_pl.html | 69 ++++++ beta_25_pt-br.html | 56 +++++ beta_25_ro.html | 67 ++++++ beta_25_ru.html | 66 ++++++ beta_25_th.html | 66 ++++++ beta_25_tr.html | 65 ++++++ beta_25_ua.html | 61 +++++ beta_25_vi.html | 68 ++++++ beta_25_zh-cn.html | 62 ++++++ beta_25_zh-tw.html | 62 ++++++ beta_26_ar.html | 63 ++++++ beta_26_de.html | 72 ++++++ beta_26_en.html | 73 ++++++ beta_26_es.html | 72 ++++++ beta_26_fa.html | 73 ++++++ beta_26_fr.html | 75 +++++++ beta_26_gr.html | 64 ++++++ beta_26_hu.html | 75 +++++++ beta_26_ie.html | 72 ++++++ beta_26_it.html | 67 ++++++ beta_26_ja.html | 69 ++++++ beta_26_ko.html | 72 ++++++ beta_26_pl.html | 63 ++++++ beta_26_pt-br.html | 68 ++++++ beta_26_ro.html | 72 ++++++ beta_26_ru.html | 72 ++++++ beta_26_th.html | 72 ++++++ beta_26_tr.html | 70 ++++++ beta_26_ua.html | 68 ++++++ beta_26_vi.html | 74 ++++++ beta_26_zh-cn.html | 65 ++++++ beta_26_zh-tw.html | 69 ++++++ beta_27_ar.html | 53 +++++ beta_27_de.html | 53 +++++ beta_27_en.html | 53 +++++ beta_27_es.html | 53 +++++ beta_27_fa.html | 53 +++++ beta_27_fr.html | 53 +++++ beta_27_gr.html | 53 +++++ beta_27_hu.html | 53 +++++ beta_27_ie.html | 53 +++++ beta_27_it.html | 53 +++++ beta_27_ja.html | 53 +++++ beta_27_ko.html | 53 +++++ beta_27_pl.html | 53 +++++ beta_27_pt-br.html | 53 +++++ beta_27_ro.html | 53 +++++ beta_27_ru.html | 53 +++++ beta_27_th.html | 53 +++++ beta_27_tr.html | 53 +++++ beta_27_ua.html | 53 +++++ beta_27_vi.html | 53 +++++ beta_27_zh-cn.html | 53 +++++ beta_27_zh-tw.html | 53 +++++ beta_28_ar.html | 55 +++++ beta_28_de.html | 55 +++++ beta_28_en.html | 55 +++++ beta_28_es.html | 55 +++++ beta_28_fa.html | 55 +++++ beta_28_fr.html | 56 +++++ beta_28_gr.html | 55 +++++ beta_28_hu.html | 56 +++++ beta_28_ie.html | 55 +++++ beta_28_it.html | 55 +++++ beta_28_ja.html | 55 +++++ beta_28_ko.html | 55 +++++ beta_28_pl.html | 55 +++++ beta_28_pt-br.html | 56 +++++ beta_28_ro.html | 55 +++++ beta_28_ru.html | 55 +++++ beta_28_th.html | 55 +++++ beta_28_tr.html | 55 +++++ beta_28_ua.html | 55 +++++ beta_28_vi.html | 55 +++++ beta_28_zh-cn.html | 55 +++++ beta_28_zh-tw.html | 55 +++++ beta_29_ar.html | 54 +++++ beta_29_de.html | 57 +++++ beta_29_en.html | 54 +++++ beta_29_es.html | 56 +++++ beta_29_fa.html | 54 +++++ beta_29_fr.html | 57 +++++ beta_29_gr.html | 54 +++++ beta_29_hu.html | 58 +++++ beta_29_ie.html | 56 +++++ beta_29_it.html | 54 +++++ beta_29_ja.html | 54 +++++ beta_29_ko.html | 54 +++++ beta_29_pl.html | 54 +++++ beta_29_pt-br.html | 54 +++++ beta_29_ro.html | 54 +++++ beta_29_ru.html | 54 +++++ beta_29_th.html | 54 +++++ beta_29_tr.html | 54 +++++ beta_29_ua.html | 54 +++++ beta_29_vi.html | 54 +++++ beta_29_zh-cn.html | 54 +++++ beta_29_zh-tw.html | 54 +++++ beta_30_ar.html | 68 ++++++ beta_30_de.html | 65 ++++++ beta_30_en.html | 64 ++++++ beta_30_es.html | 66 ++++++ beta_30_fa.html | 64 ++++++ beta_30_fr.html | 69 ++++++ beta_30_gr.html | 64 ++++++ beta_30_hu.html | 69 ++++++ beta_30_ie.html | 67 ++++++ beta_30_it.html | 64 ++++++ beta_30_ja.html | 64 ++++++ beta_30_ko.html | 64 ++++++ beta_30_pl.html | 64 ++++++ beta_30_pt-br.html | 64 ++++++ beta_30_ro.html | 64 ++++++ beta_30_ru.html | 64 ++++++ beta_30_th.html | 64 ++++++ beta_30_tr.html | 64 ++++++ beta_30_ua.html | 65 ++++++ beta_30_vi.html | 64 ++++++ beta_30_zh-cn.html | 64 ++++++ beta_30_zh-tw.html | 64 ++++++ beta_31_ar.html | 51 +++++ beta_31_de.html | 53 +++++ beta_31_en.html | 53 +++++ beta_31_es.html | 54 +++++ beta_31_fa.html | 53 +++++ beta_31_fr.html | 54 +++++ beta_31_gr.html | 51 +++++ beta_31_hu.html | 55 +++++ beta_31_ie.html | 54 +++++ beta_31_it.html | 51 +++++ beta_31_ja.html | 52 +++++ beta_31_ko.html | 53 +++++ beta_31_pl.html | 53 +++++ beta_31_pt-br.html | 52 +++++ beta_31_ro.html | 53 +++++ beta_31_ru.html | 52 +++++ beta_31_th.html | 51 +++++ beta_31_tr.html | 52 +++++ beta_31_ua.html | 52 +++++ beta_31_vi.html | 51 +++++ beta_31_zh-cn.html | 53 +++++ beta_31_zh-tw.html | 51 +++++ beta_33_ar.html | 54 +++++ beta_33_de.html | 57 +++++ beta_33_en.html | 56 +++++ beta_33_es.html | 57 +++++ beta_33_fa.html | 56 +++++ beta_33_fr.html | 57 +++++ beta_33_gr.html | 54 +++++ beta_33_hu.html | 57 +++++ beta_33_ie.html | 57 +++++ beta_33_it.html | 54 +++++ beta_33_ja.html | 57 +++++ beta_33_ko.html | 56 +++++ beta_33_pl.html | 54 +++++ beta_33_pt-br.html | 54 +++++ beta_33_ro.html | 56 +++++ beta_33_ru.html | 56 +++++ beta_33_th.html | 54 +++++ beta_33_tr.html | 54 +++++ beta_33_ua.html | 54 +++++ beta_33_vi.html | 54 +++++ beta_33_zh-cn.html | 55 +++++ beta_33_zh-tw.html | 54 +++++ beta_34_ar.html | 55 +++++ beta_34_en.html | 59 +++++ beta_34_es.html | 59 +++++ beta_34_fa.html | 59 +++++ beta_34_fr.html | 60 +++++ beta_34_gr.html | 56 +++++ beta_34_hu.html | 62 ++++++ beta_34_ie.html | 59 +++++ beta_34_it.html | 58 +++++ beta_34_ja.html | 58 +++++ beta_34_ko.html | 59 +++++ beta_34_pl.html | 57 +++++ beta_34_pt-br.html | 55 +++++ beta_34_ro.html | 59 +++++ beta_34_ru.html | 59 +++++ beta_34_th.html | 55 +++++ beta_34_tr.html | 55 +++++ beta_34_ua.html | 56 +++++ beta_34_vi.html | 55 +++++ beta_34_zh-cn.html | 56 +++++ beta_34_zh-tw.html | 55 +++++ beta_35_ar.html | 59 +++++ beta_35_en.html | 60 +++++ beta_35_es.html | 61 +++++ beta_35_fa.html | 60 +++++ beta_35_fr.html | 60 +++++ beta_35_gr.html | 59 +++++ beta_35_hu.html | 61 +++++ beta_35_ie.html | 60 +++++ beta_35_it.html | 59 +++++ beta_35_ja.html | 59 +++++ beta_35_ko.html | 60 +++++ beta_35_pl.html | 59 +++++ beta_35_pt-br.html | 59 +++++ beta_35_ro.html | 60 +++++ beta_35_ru.html | 61 +++++ beta_35_th.html | 59 +++++ beta_35_tr.html | 58 +++++ beta_35_ua.html | 59 +++++ beta_35_vi.html | 59 +++++ beta_35_zh-cn.html | 59 +++++ beta_35_zh-tw.html | 59 +++++ beta_36_ar.html | 60 +++++ beta_36_en.html | 61 +++++ beta_36_es.html | 63 ++++++ beta_36_fa.html | 61 +++++ beta_36_fr.html | 61 +++++ beta_36_gr.html | 60 +++++ beta_36_hu.html | 65 ++++++ beta_36_ie.html | 61 +++++ beta_36_it.html | 61 +++++ beta_36_ja.html | 61 +++++ beta_36_ko.html | 61 +++++ beta_36_pl.html | 61 +++++ beta_36_pt-br.html | 61 +++++ beta_36_ro.html | 61 +++++ beta_36_ru.html | 62 ++++++ beta_36_th.html | 60 +++++ beta_36_tr.html | 59 +++++ beta_36_ua.html | 60 +++++ beta_36_vi.html | 60 +++++ beta_36_zh-cn.html | 61 +++++ beta_36_zh-tw.html | 60 +++++ beta_37_ar.html | 53 +++++ beta_37_en.html | 53 +++++ beta_37_es.html | 53 +++++ beta_37_fa.html | 53 +++++ beta_37_fr.html | 53 +++++ beta_37_gr.html | 53 +++++ beta_37_hu.html | 53 +++++ beta_37_ie.html | 53 +++++ beta_37_it.html | 53 +++++ beta_37_ja.html | 53 +++++ beta_37_ko.html | 53 +++++ beta_37_pl.html | 53 +++++ beta_37_pt-br.html | 53 +++++ beta_37_ro.html | 53 +++++ beta_37_ru.html | 53 +++++ beta_37_th.html | 53 +++++ beta_37_tr.html | 53 +++++ beta_37_ua.html | 53 +++++ beta_37_vi.html | 53 +++++ beta_37_zh-cn.html | 53 +++++ beta_37_zh-tw.html | 53 +++++ beta_38_ar.html | 60 +++++ beta_38_en.html | 60 +++++ beta_38_es.html | 61 +++++ beta_38_fa.html | 60 +++++ beta_38_fr.html | 60 +++++ beta_38_gr.html | 61 +++++ beta_38_hu.html | 61 +++++ beta_38_ie.html | 60 +++++ beta_38_it.html | 60 +++++ beta_38_ja.html | 61 +++++ beta_38_ko.html | 60 +++++ beta_38_pl.html | 60 +++++ beta_38_pt-br.html | 60 +++++ beta_38_ro.html | 60 +++++ beta_38_ru.html | 60 +++++ beta_38_th.html | 60 +++++ beta_38_tr.html | 58 +++++ beta_38_ua.html | 60 +++++ beta_38_vi.html | 60 +++++ beta_38_zh-cn.html | 61 +++++ beta_38_zh-tw.html | 60 +++++ beta_39_ar.html | 74 ++++++ beta_39_en.html | 75 +++++++ beta_39_es.html | 76 +++++++ beta_39_fa.html | 75 +++++++ beta_39_fr.html | 78 +++++++ beta_39_gr.html | 74 ++++++ beta_39_hu.html | 78 +++++++ beta_39_ie.html | 75 +++++++ beta_39_it.html | 75 +++++++ beta_39_ja.html | 76 +++++++ beta_39_ko.html | 75 +++++++ beta_39_pl.html | 72 ++++++ beta_39_pt-br.html | 74 ++++++ beta_39_ro.html | 75 +++++++ beta_39_ru.html | 75 +++++++ beta_39_th.html | 74 ++++++ beta_39_tr.html | 75 +++++++ beta_39_ua.html | 74 ++++++ beta_39_vi.html | 74 ++++++ beta_39_zh-cn.html | 76 +++++++ beta_39_zh-tw.html | 74 ++++++ beta_40_ar.html | 61 +++++ beta_40_en.html | 63 ++++++ beta_40_es.html | 64 ++++++ beta_40_fa.html | 63 ++++++ beta_40_fr.html | 63 ++++++ beta_40_gr.html | 60 +++++ beta_40_hu.html | 66 ++++++ beta_40_ie.html | 63 ++++++ beta_40_it.html | 60 +++++ beta_40_ja.html | 63 ++++++ beta_40_ko.html | 63 ++++++ beta_40_pl.html | 61 +++++ beta_40_pt-br.html | 60 +++++ beta_40_ro.html | 63 ++++++ beta_40_ru.html | 60 +++++ beta_40_th.html | 61 +++++ beta_40_tr.html | 60 +++++ beta_40_ua.html | 60 +++++ beta_40_vi.html | 60 +++++ beta_40_zh-cn.html | 60 +++++ beta_40_zh-tw.html | 60 +++++ beta_41_ar.html | 51 +++++ beta_41_en.html | 54 +++++ beta_41_es.html | 54 +++++ beta_41_fa.html | 54 +++++ beta_41_fr.html | 55 +++++ beta_41_gr.html | 51 +++++ beta_41_hu.html | 54 +++++ beta_41_ie.html | 55 +++++ beta_41_it.html | 54 +++++ beta_41_ja.html | 55 +++++ beta_41_ko.html | 54 +++++ beta_41_pl.html | 53 +++++ beta_41_pt-br.html | 51 +++++ beta_41_ro.html | 54 +++++ beta_41_ru.html | 54 +++++ beta_41_th.html | 52 +++++ beta_41_tr.html | 51 +++++ beta_41_ua.html | 52 +++++ beta_41_vi.html | 51 +++++ beta_41_zh-cn.html | 53 +++++ beta_41_zh-tw.html | 52 +++++ beta_43_ar.html | 53 +++++ beta_43_de.html | 54 +++++ beta_43_en.html | 54 +++++ beta_43_es.html | 53 +++++ beta_43_fa.html | 54 +++++ beta_43_fr.html | 55 +++++ beta_43_gr.html | 53 +++++ beta_43_hu.html | 55 +++++ beta_43_ie.html | 54 +++++ beta_43_it.html | 54 +++++ beta_43_ja.html | 54 +++++ beta_43_ko.html | 55 +++++ beta_43_pl.html | 54 +++++ beta_43_pt-br.html | 53 +++++ beta_43_ro.html | 54 +++++ beta_43_ru.html | 53 +++++ beta_43_th.html | 53 +++++ beta_43_tr.html | 53 +++++ beta_43_ua.html | 54 +++++ beta_43_vi.html | 53 +++++ beta_43_zh-cn.html | 53 +++++ beta_43_zh-tw.html | 53 +++++ beta_44_ar.html | 59 +++++ beta_44_de.html | 59 +++++ beta_44_en.html | 59 +++++ beta_44_es.html | 60 +++++ beta_44_fa.html | 59 +++++ beta_44_fr.html | 60 +++++ beta_44_gr.html | 58 +++++ beta_44_hu.html | 60 +++++ beta_44_ie.html | 59 +++++ beta_44_it.html | 59 +++++ beta_44_ja.html | 59 +++++ beta_44_ko.html | 59 +++++ beta_44_pl.html | 62 ++++++ beta_44_pt-br.html | 59 +++++ beta_44_ro.html | 59 +++++ beta_44_ru.html | 59 +++++ beta_44_th.html | 59 +++++ beta_44_tr.html | 59 +++++ beta_44_ua.html | 62 ++++++ beta_44_vi.html | 60 +++++ beta_44_zh-cn.html | 58 +++++ beta_44_zh-tw.html | 59 +++++ beta_45_ar.html | 58 +++++ beta_45_de.html | 58 +++++ beta_45_en.html | 58 +++++ beta_45_es.html | 58 +++++ beta_45_fa.html | 58 +++++ beta_45_fr.html | 59 +++++ beta_45_gr.html | 58 +++++ beta_45_hu.html | 60 +++++ beta_45_ie.html | 58 +++++ beta_45_it.html | 58 +++++ beta_45_ja.html | 58 +++++ beta_45_ko.html | 58 +++++ beta_45_pl.html | 58 +++++ beta_45_pt-br.html | 58 +++++ beta_45_ro.html | 58 +++++ beta_45_ru.html | 58 +++++ beta_45_th.html | 58 +++++ beta_45_tr.html | 58 +++++ beta_45_ua.html | 58 +++++ beta_45_vi.html | 58 +++++ beta_45_zh-cn.html | 58 +++++ beta_45_zh-tw.html | 58 +++++ beta_46_ar.html | 58 +++++ beta_46_de.html | 58 +++++ beta_46_en.html | 58 +++++ beta_46_es.html | 58 +++++ beta_46_fa.html | 58 +++++ beta_46_fr.html | 58 +++++ beta_46_gr.html | 59 +++++ beta_46_hu.html | 60 +++++ beta_46_ie.html | 59 +++++ beta_46_it.html | 58 +++++ beta_46_ja.html | 58 +++++ beta_46_ko.html | 58 +++++ beta_46_pl.html | 58 +++++ beta_46_pt-br.html | 58 +++++ beta_46_ro.html | 58 +++++ beta_46_ru.html | 58 +++++ beta_46_th.html | 58 +++++ beta_46_tr.html | 58 +++++ beta_46_ua.html | 58 +++++ beta_46_vi.html | 58 +++++ beta_46_zh-cn.html | 57 +++++ beta_46_zh-tw.html | 58 +++++ beta_47_ar.html | 53 +++++ beta_47_de.html | 53 +++++ beta_47_en.html | 53 +++++ beta_47_es.html | 53 +++++ beta_47_fa.html | 53 +++++ beta_47_fr.html | 53 +++++ beta_47_gr.html | 53 +++++ beta_47_hu.html | 53 +++++ beta_47_ie.html | 53 +++++ beta_47_it.html | 53 +++++ beta_47_ja.html | 53 +++++ beta_47_ko.html | 53 +++++ beta_47_pl.html | 53 +++++ beta_47_pt-br.html | 53 +++++ beta_47_ro.html | 53 +++++ beta_47_ru.html | 53 +++++ beta_47_th.html | 53 +++++ beta_47_tr.html | 53 +++++ beta_47_ua.html | 55 +++++ beta_47_vi.html | 53 +++++ beta_47_zh-cn.html | 53 +++++ beta_47_zh-tw.html | 53 +++++ beta_48_ar.html | 54 +++++ beta_48_de.html | 54 +++++ beta_48_en.html | 54 +++++ beta_48_es.html | 54 +++++ beta_48_fa.html | 54 +++++ beta_48_fr.html | 54 +++++ beta_48_gr.html | 53 +++++ beta_48_hu.html | 55 +++++ beta_48_ie.html | 54 +++++ beta_48_it.html | 54 +++++ beta_48_ja.html | 54 +++++ beta_48_ko.html | 54 +++++ beta_48_pl.html | 55 +++++ beta_48_pt-br.html | 54 +++++ beta_48_ro.html | 54 +++++ beta_48_ru.html | 54 +++++ beta_48_th.html | 54 +++++ beta_48_tr.html | 54 +++++ beta_48_ua.html | 55 +++++ beta_48_vi.html | 54 +++++ beta_48_zh-cn.html | 54 +++++ beta_48_zh-tw.html | 54 +++++ beta_49_ar.html | 58 +++++ beta_49_de.html | 58 +++++ beta_49_en.html | 58 +++++ beta_49_es.html | 58 +++++ beta_49_fa.html | 58 +++++ beta_49_fr.html | 61 +++++ beta_49_gr.html | 58 +++++ beta_49_hu.html | 60 +++++ beta_49_ie.html | 58 +++++ beta_49_it.html | 58 +++++ beta_49_ja.html | 58 +++++ beta_49_ko.html | 58 +++++ beta_49_pl.html | 58 +++++ beta_49_pt-br.html | 58 +++++ beta_49_ro.html | 58 +++++ beta_49_ru.html | 58 +++++ beta_49_th.html | 58 +++++ beta_49_tr.html | 58 +++++ beta_49_ua.html | 58 +++++ beta_49_vi.html | 58 +++++ beta_49_zh-cn.html | 57 +++++ beta_49_zh-tw.html | 58 +++++ beta_50_ar.html | 54 +++++ beta_50_de.html | 54 +++++ beta_50_en.html | 54 +++++ beta_50_es.html | 54 +++++ beta_50_fa.html | 54 +++++ beta_50_fr.html | 56 +++++ beta_50_gr.html | 54 +++++ beta_50_hu.html | 55 +++++ beta_50_ie.html | 55 +++++ beta_50_it.html | 54 +++++ beta_50_ja.html | 54 +++++ beta_50_ko.html | 54 +++++ beta_50_pl.html | 54 +++++ beta_50_pt-br.html | 54 +++++ beta_50_ro.html | 54 +++++ beta_50_ru.html | 54 +++++ beta_50_th.html | 54 +++++ beta_50_tr.html | 54 +++++ beta_50_ua.html | 54 +++++ beta_50_vi.html | 54 +++++ beta_50_zh-cn.html | 53 +++++ beta_50_zh-tw.html | 54 +++++ beta_51_ar.html | 63 ++++++ beta_51_de.html | 63 ++++++ beta_51_en.html | 63 ++++++ beta_51_es.html | 63 ++++++ beta_51_fa.html | 63 ++++++ beta_51_fr.html | 68 ++++++ beta_51_gr.html | 63 ++++++ beta_51_hu.html | 68 ++++++ beta_51_ie.html | 63 ++++++ beta_51_it.html | 67 ++++++ beta_51_ja.html | 65 ++++++ beta_51_ko.html | 63 ++++++ beta_51_pl.html | 63 ++++++ beta_51_pt-br.html | 63 ++++++ beta_51_ro.html | 63 ++++++ beta_51_ru.html | 66 ++++++ beta_51_th.html | 63 ++++++ beta_51_tr.html | 66 ++++++ beta_51_ua.html | 63 ++++++ beta_51_vi.html | 63 ++++++ beta_51_zh-cn.html | 63 ++++++ beta_51_zh-tw.html | 64 ++++++ beta_52_ar.html | 53 +++++ beta_52_de.html | 53 +++++ beta_52_en.html | 53 +++++ beta_52_es.html | 53 +++++ beta_52_fa.html | 53 +++++ beta_52_fr.html | 53 +++++ beta_52_gr.html | 53 +++++ beta_52_hu.html | 53 +++++ beta_52_ie.html | 53 +++++ beta_52_it.html | 53 +++++ beta_52_ja.html | 53 +++++ beta_52_ko.html | 53 +++++ beta_52_pl.html | 54 +++++ beta_52_pt-br.html | 53 +++++ beta_52_ro.html | 53 +++++ beta_52_ru.html | 53 +++++ beta_52_th.html | 53 +++++ beta_52_tr.html | 54 +++++ beta_52_ua.html | 53 +++++ beta_52_vi.html | 53 +++++ beta_52_zh-cn.html | 53 +++++ beta_52_zh-tw.html | 53 +++++ beta_53_ar.html | 55 +++++ beta_53_de.html | 57 +++++ beta_53_en.html | 57 +++++ beta_53_es.html | 55 +++++ beta_53_fa.html | 57 +++++ beta_53_fr.html | 58 +++++ beta_53_gr.html | 57 +++++ beta_53_hu.html | 59 +++++ beta_53_ie.html | 57 +++++ beta_53_it.html | 57 +++++ beta_53_ja.html | 55 +++++ beta_53_ko.html | 57 +++++ beta_53_pl.html | 55 +++++ beta_53_pt-br.html | 55 +++++ beta_53_ro.html | 57 +++++ beta_53_ru.html | 57 +++++ beta_53_th.html | 55 +++++ beta_53_tr.html | 55 +++++ beta_53_ua.html | 55 +++++ beta_53_vi.html | 55 +++++ beta_53_zh-cn.html | 53 +++++ beta_53_zh-tw.html | 55 +++++ beta_54_ar.html | 53 +++++ beta_54_de.html | 54 +++++ beta_54_en.html | 54 +++++ beta_54_es.html | 53 +++++ beta_54_fa.html | 54 +++++ beta_54_fr.html | 54 +++++ beta_54_gr.html | 54 +++++ beta_54_hu.html | 54 +++++ beta_54_ie.html | 54 +++++ beta_54_it.html | 54 +++++ beta_54_ja.html | 53 +++++ beta_54_ko.html | 54 +++++ beta_54_pl.html | 53 +++++ beta_54_pt-br.html | 53 +++++ beta_54_ro.html | 54 +++++ beta_54_ru.html | 54 +++++ beta_54_th.html | 53 +++++ beta_54_tr.html | 53 +++++ beta_54_ua.html | 54 +++++ beta_54_vi.html | 53 +++++ beta_54_zh-cn.html | 53 +++++ beta_54_zh-tw.html | 53 +++++ beta_55_ar.html | 62 ++++++ beta_55_de.html | 65 ++++++ beta_55_en.html | 65 ++++++ beta_55_es.html | 61 +++++ beta_55_fa.html | 65 ++++++ beta_55_fr.html | 69 ++++++ beta_55_gr.html | 65 ++++++ beta_55_hu.html | 71 ++++++ beta_55_ie.html | 66 ++++++ beta_55_it.html | 65 ++++++ beta_55_ja.html | 66 ++++++ beta_55_ko.html | 66 ++++++ beta_55_pl.html | 61 +++++ beta_55_pt-br.html | 62 ++++++ beta_55_ro.html | 64 ++++++ beta_55_ru.html | 70 ++++++ beta_55_th.html | 66 ++++++ beta_55_tr.html | 65 ++++++ beta_55_ua.html | 60 +++++ beta_55_vi.html | 61 +++++ beta_55_zh-cn.html | 58 +++++ beta_55_zh-tw.html | 62 ++++++ beta_56_ar.html | 55 +++++ beta_56_de.html | 55 +++++ beta_56_en.html | 55 +++++ beta_56_es.html | 55 +++++ beta_56_fa.html | 55 +++++ beta_56_fr.html | 60 +++++ beta_56_gr.html | 55 +++++ beta_56_hu.html | 56 +++++ beta_56_ie.html | 55 +++++ beta_56_it.html | 55 +++++ beta_56_ja.html | 55 +++++ beta_56_ko.html | 55 +++++ beta_56_pl.html | 55 +++++ beta_56_pt-br.html | 55 +++++ beta_56_ro.html | 55 +++++ beta_56_ru.html | 55 +++++ beta_56_th.html | 55 +++++ beta_56_tr.html | 55 +++++ beta_56_ua.html | 55 +++++ beta_56_vi.html | 55 +++++ beta_56_zh-cn.html | 53 +++++ beta_56_zh-tw.html | 55 +++++ beta_57_ar.html | 60 +++++ beta_57_de.html | 62 ++++++ beta_57_en.html | 62 ++++++ beta_57_es.html | 60 +++++ beta_57_fa.html | 62 ++++++ beta_57_fr.html | 62 ++++++ beta_57_gr.html | 62 ++++++ beta_57_hu.html | 63 ++++++ beta_57_ie.html | 62 ++++++ beta_57_it.html | 62 ++++++ beta_57_ja.html | 62 ++++++ beta_57_ko.html | 62 ++++++ beta_57_pl.html | 61 +++++ beta_57_pt-br.html | 60 +++++ beta_57_ro.html | 62 ++++++ beta_57_ru.html | 63 ++++++ beta_57_th.html | 60 +++++ beta_57_tr.html | 60 +++++ beta_57_ua.html | 62 ++++++ beta_57_vi.html | 61 +++++ beta_57_zh-cn.html | 60 +++++ beta_57_zh-tw.html | 60 +++++ beta_59_ar.html | 63 ++++++ beta_59_de.html | 61 +++++ beta_59_en.html | 63 ++++++ beta_59_es.html | 62 ++++++ beta_59_fa.html | 63 ++++++ beta_59_fr.html | 65 ++++++ beta_59_hu.html | 66 ++++++ beta_59_ie.html | 63 ++++++ beta_59_it.html | 63 ++++++ beta_59_ja.html | 63 ++++++ beta_59_ko.html | 63 ++++++ beta_59_pl.html | 63 ++++++ beta_59_pt-br.html | 63 ++++++ beta_59_ro.html | 63 ++++++ beta_59_ru.html | 64 ++++++ beta_59_th.html | 63 ++++++ beta_59_tr.html | 63 ++++++ beta_59_ua.html | 63 ++++++ beta_59_vi.html | 63 ++++++ beta_59_zh-cn.html | 63 ++++++ beta_59_zh-tw.html | 63 ++++++ beta_60_ar.html | 60 +++++ beta_60_de.html | 59 +++++ beta_60_en.html | 60 +++++ beta_60_es.html | 58 +++++ beta_60_fa.html | 60 +++++ beta_60_fr.html | 66 ++++++ beta_60_hu.html | 64 ++++++ beta_60_ie.html | 60 +++++ beta_60_it.html | 60 +++++ beta_60_ja.html | 57 +++++ beta_60_ko.html | 60 +++++ beta_60_pl.html | 60 +++++ beta_60_pt-br.html | 57 +++++ beta_60_ro.html | 60 +++++ beta_60_ru.html | 60 +++++ beta_60_th.html | 57 +++++ beta_60_tr.html | 65 ++++++ beta_60_ua.html | 60 +++++ beta_60_vi.html | 58 +++++ beta_60_zh-cn.html | 57 +++++ beta_60_zh-tw.html | 58 +++++ beta_61_ar.html | 63 ++++++ beta_61_de.html | 63 ++++++ beta_61_en.html | 63 ++++++ beta_61_es.html | 63 ++++++ beta_61_fa.html | 63 ++++++ beta_61_fr.html | 64 ++++++ beta_61_hu.html | 65 ++++++ beta_61_ie.html | 63 ++++++ beta_61_it.html | 63 ++++++ beta_61_ja.html | 63 ++++++ beta_61_ko.html | 63 ++++++ beta_61_pl.html | 63 ++++++ beta_61_pt-br.html | 63 ++++++ beta_61_ro.html | 63 ++++++ beta_61_ru.html | 63 ++++++ beta_61_th.html | 63 ++++++ beta_61_tr.html | 63 ++++++ beta_61_ua.html | 63 ++++++ beta_61_vi.html | 63 ++++++ beta_61_zh-cn.html | 63 ++++++ beta_61_zh-tw.html | 63 ++++++ beta_62_ar.html | 54 +++++ beta_62_de.html | 54 +++++ beta_62_en.html | 54 +++++ beta_62_es.html | 54 +++++ beta_62_fa.html | 54 +++++ beta_62_fr.html | 54 +++++ beta_62_hu.html | 54 +++++ beta_62_ie.html | 54 +++++ beta_62_it.html | 54 +++++ beta_62_ja.html | 54 +++++ beta_62_ko.html | 54 +++++ beta_62_pl.html | 54 +++++ beta_62_pt-br.html | 54 +++++ beta_62_ro.html | 54 +++++ beta_62_ru.html | 54 +++++ beta_62_th.html | 54 +++++ beta_62_tr.html | 54 +++++ beta_62_ua.html | 55 +++++ beta_62_vi.html | 54 +++++ beta_62_zh-cn.html | 54 +++++ beta_62_zh-tw.html | 54 +++++ beta_63_ar.html | 53 +++++ beta_63_de.html | 54 +++++ beta_63_en.html | 54 +++++ beta_63_es.html | 53 +++++ beta_63_fa.html | 54 +++++ beta_63_fr.html | 56 +++++ beta_63_hu.html | 58 +++++ beta_63_ie.html | 54 +++++ beta_63_it.html | 54 +++++ beta_63_ja.html | 54 +++++ beta_63_ko.html | 54 +++++ beta_63_pl.html | 54 +++++ beta_63_pt-br.html | 53 +++++ beta_63_ro.html | 54 +++++ beta_63_ru.html | 54 +++++ beta_63_th.html | 53 +++++ beta_63_tr.html | 53 +++++ beta_63_ua.html | 54 +++++ beta_63_vi.html | 53 +++++ beta_63_zh-cn.html | 53 +++++ beta_63_zh-tw.html | 53 +++++ beta_64_ar.html | 53 +++++ beta_64_de.html | 53 +++++ beta_64_en.html | 53 +++++ beta_64_es.html | 53 +++++ beta_64_fa.html | 53 +++++ beta_64_fr.html | 54 +++++ beta_64_hu.html | 54 +++++ beta_64_ie.html | 53 +++++ beta_64_it.html | 54 +++++ beta_64_ja.html | 53 +++++ beta_64_ko.html | 53 +++++ beta_64_pl.html | 53 +++++ beta_64_pt-br.html | 53 +++++ beta_64_ro.html | 53 +++++ beta_64_ru.html | 53 +++++ beta_64_th.html | 53 +++++ beta_64_tr.html | 53 +++++ beta_64_ua.html | 53 +++++ beta_64_vi.html | 53 +++++ beta_64_zh-cn.html | 53 +++++ beta_64_zh-tw.html | 53 +++++ beta_65_ar.html | 61 +++++ beta_65_de.html | 61 +++++ beta_65_en.html | 61 +++++ beta_65_es.html | 61 +++++ beta_65_fa.html | 61 +++++ beta_65_fr.html | 63 ++++++ beta_65_hu.html | 65 ++++++ beta_65_ie.html | 62 ++++++ beta_65_it.html | 61 +++++ beta_65_ja.html | 61 +++++ beta_65_ko.html | 61 +++++ beta_65_pl.html | 61 +++++ beta_65_pt-br.html | 61 +++++ beta_65_ro.html | 61 +++++ beta_65_ru.html | 61 +++++ beta_65_th.html | 61 +++++ beta_65_tr.html | 61 +++++ beta_65_ua.html | 61 +++++ beta_65_vi.html | 61 +++++ beta_65_zh-cn.html | 61 +++++ beta_65_zh-tw.html | 61 +++++ beta_66_ar.html | 54 +++++ beta_66_de.html | 54 +++++ beta_66_en.html | 54 +++++ beta_66_es.html | 54 +++++ beta_66_fa.html | 54 +++++ beta_66_fr.html | 57 +++++ beta_66_hu.html | 55 +++++ beta_66_ie.html | 54 +++++ beta_66_it.html | 54 +++++ beta_66_ja.html | 54 +++++ beta_66_ko.html | 54 +++++ beta_66_pl.html | 54 +++++ beta_66_pt-br.html | 54 +++++ beta_66_ro.html | 54 +++++ beta_66_ru.html | 54 +++++ beta_66_th.html | 54 +++++ beta_66_tr.html | 54 +++++ beta_66_ua.html | 54 +++++ beta_66_vi.html | 54 +++++ beta_66_zh-cn.html | 54 +++++ beta_66_zh-tw.html | 54 +++++ beta_67_ar.html | 63 ++++++ beta_67_de.html | 63 ++++++ beta_67_en.html | 63 ++++++ beta_67_es.html | 63 ++++++ beta_67_fa.html | 63 ++++++ beta_67_fr.html | 67 ++++++ beta_67_hu.html | 66 ++++++ beta_67_ie.html | 63 ++++++ beta_67_it.html | 63 ++++++ beta_67_ja.html | 63 ++++++ beta_67_ko.html | 63 ++++++ beta_67_pl.html | 63 ++++++ beta_67_pt-br.html | 63 ++++++ beta_67_ro.html | 63 ++++++ beta_67_ru.html | 63 ++++++ beta_67_th.html | 63 ++++++ beta_67_tr.html | 63 ++++++ beta_67_ua.html | 63 ++++++ beta_67_vi.html | 63 ++++++ beta_67_zh-cn.html | 63 ++++++ beta_67_zh-tw.html | 63 ++++++ beta_68_ar.html | 53 +++++ beta_68_de.html | 54 +++++ beta_68_en.html | 54 +++++ beta_68_es.html | 53 +++++ beta_68_fa.html | 54 +++++ beta_68_fr.html | 54 +++++ beta_68_hu.html | 54 +++++ beta_68_ie.html | 54 +++++ beta_68_it.html | 54 +++++ beta_68_ja.html | 53 +++++ beta_68_ko.html | 54 +++++ beta_68_pl.html | 54 +++++ beta_68_pt-br.html | 53 +++++ beta_68_ro.html | 54 +++++ beta_68_ru.html | 54 +++++ beta_68_th.html | 53 +++++ beta_68_tr.html | 53 +++++ beta_68_ua.html | 54 +++++ beta_68_vi.html | 53 +++++ beta_68_zh-cn.html | 53 +++++ beta_68_zh-tw.html | 53 +++++ beta_69_ar.html | 53 +++++ beta_69_de.html | 53 +++++ beta_69_en.html | 53 +++++ beta_69_es.html | 53 +++++ beta_69_fa.html | 53 +++++ beta_69_fr.html | 53 +++++ beta_69_hu.html | 53 +++++ beta_69_ie.html | 53 +++++ beta_69_it.html | 53 +++++ beta_69_ja.html | 53 +++++ beta_69_ko.html | 53 +++++ beta_69_pl.html | 53 +++++ beta_69_pt-br.html | 53 +++++ beta_69_ro.html | 53 +++++ beta_69_ru.html | 53 +++++ beta_69_th.html | 53 +++++ beta_69_tr.html | 53 +++++ beta_69_ua.html | 53 +++++ beta_69_vi.html | 53 +++++ beta_69_zh-cn.html | 53 +++++ beta_69_zh-tw.html | 53 +++++ beta_70_ar.html | 55 +++++ beta_70_de.html | 55 +++++ beta_70_en.html | 55 +++++ beta_70_es.html | 55 +++++ beta_70_fa.html | 55 +++++ beta_70_fr.html | 59 +++++ beta_70_hu.html | 59 +++++ beta_70_ie.html | 55 +++++ beta_70_it.html | 55 +++++ beta_70_ja.html | 55 +++++ beta_70_ko.html | 55 +++++ beta_70_pl.html | 55 +++++ beta_70_pt-br.html | 55 +++++ beta_70_ro.html | 55 +++++ beta_70_ru.html | 55 +++++ beta_70_th.html | 55 +++++ beta_70_tr.html | 55 +++++ beta_70_ua.html | 55 +++++ beta_70_vi.html | 55 +++++ beta_70_zh-cn.html | 55 +++++ beta_70_zh-tw.html | 55 +++++ beta_71_ar.html | 54 +++++ beta_71_de.html | 55 +++++ beta_71_en.html | 56 +++++ beta_71_es.html | 54 +++++ beta_71_fa.html | 56 +++++ beta_71_fr.html | 56 +++++ beta_71_hu.html | 56 +++++ beta_71_ie.html | 56 +++++ beta_71_it.html | 56 +++++ beta_71_ja.html | 54 +++++ beta_71_ko.html | 55 +++++ beta_71_pl.html | 56 +++++ beta_71_pt-br.html | 54 +++++ beta_71_ro.html | 55 +++++ beta_71_ru.html | 56 +++++ beta_71_th.html | 55 +++++ beta_71_tr.html | 55 +++++ beta_71_ua.html | 56 +++++ beta_71_vi.html | 54 +++++ beta_71_zh-cn.html | 54 +++++ beta_71_zh-tw.html | 54 +++++ beta_72_ar.html | 52 +++++ beta_72_de.html | 54 +++++ beta_72_en.html | 54 +++++ beta_72_es.html | 52 +++++ beta_72_fa.html | 54 +++++ beta_72_fr.html | 58 +++++ beta_72_hu.html | 55 +++++ beta_72_ie.html | 54 +++++ beta_72_it.html | 54 +++++ beta_72_ja.html | 52 +++++ beta_72_ko.html | 54 +++++ beta_72_pl.html | 54 +++++ beta_72_pt-br.html | 52 +++++ beta_72_ro.html | 54 +++++ beta_72_ru.html | 54 +++++ beta_72_th.html | 52 +++++ beta_72_tr.html | 52 +++++ beta_72_ua.html | 54 +++++ beta_72_vi.html | 52 +++++ beta_72_zh-cn.html | 52 +++++ beta_72_zh-tw.html | 52 +++++ beta_74_ar.html | 57 +++++ beta_74_en.html | 57 +++++ beta_74_es.html | 57 +++++ beta_74_fa.html | 57 +++++ beta_74_fr.html | 62 ++++++ beta_74_hu.html | 61 +++++ beta_74_ie.html | 57 +++++ beta_74_ja.html | 57 +++++ beta_74_ko.html | 57 +++++ beta_74_pl.html | 57 +++++ beta_74_pt-br.html | 57 +++++ beta_74_ro.html | 57 +++++ beta_74_ru.html | 57 +++++ beta_74_th.html | 57 +++++ beta_74_tr.html | 57 +++++ beta_74_ua.html | 57 +++++ beta_74_vi.html | 57 +++++ beta_74_zh-cn.html | 57 +++++ beta_74_zh-tw.html | 57 +++++ beta_75_ar.html | 56 +++++ beta_75_en.html | 56 +++++ beta_75_es.html | 56 +++++ beta_75_fa.html | 56 +++++ beta_75_fr.html | 57 +++++ beta_75_hu.html | 57 +++++ beta_75_ie.html | 56 +++++ beta_75_ja.html | 56 +++++ beta_75_ko.html | 56 +++++ beta_75_pl.html | 56 +++++ beta_75_pt-br.html | 56 +++++ beta_75_ro.html | 56 +++++ beta_75_ru.html | 56 +++++ beta_75_th.html | 56 +++++ beta_75_tr.html | 56 +++++ beta_75_ua.html | 56 +++++ beta_75_vi.html | 56 +++++ beta_75_zh-cn.html | 56 +++++ beta_75_zh-tw.html | 56 +++++ beta_76_ar.html | 66 ++++++ beta_76_en.html | 66 ++++++ beta_76_es.html | 66 ++++++ beta_76_fa.html | 66 ++++++ beta_76_fr.html | 70 ++++++ beta_76_hu.html | 69 ++++++ beta_76_ie.html | 66 ++++++ beta_76_ja.html | 66 ++++++ beta_76_ko.html | 66 ++++++ beta_76_pl.html | 66 ++++++ beta_76_pt-br.html | 66 ++++++ beta_76_ro.html | 66 ++++++ beta_76_ru.html | 66 ++++++ beta_76_th.html | 66 ++++++ beta_76_tr.html | 66 ++++++ beta_76_ua.html | 66 ++++++ beta_76_vi.html | 66 ++++++ beta_76_zh-cn.html | 66 ++++++ beta_76_zh-tw.html | 66 ++++++ beta_77_ar.html | 55 +++++ beta_77_en.html | 55 +++++ beta_77_es.html | 55 +++++ beta_77_fa.html | 55 +++++ beta_77_fr.html | 57 +++++ beta_77_hu.html | 55 +++++ beta_77_ie.html | 55 +++++ beta_77_ja.html | 55 +++++ beta_77_ko.html | 55 +++++ beta_77_pl.html | 55 +++++ beta_77_pt-br.html | 55 +++++ beta_77_ro.html | 55 +++++ beta_77_ru.html | 55 +++++ beta_77_th.html | 55 +++++ beta_77_tr.html | 55 +++++ beta_77_ua.html | 55 +++++ beta_77_vi.html | 55 +++++ beta_77_zh-cn.html | 55 +++++ beta_77_zh-tw.html | 55 +++++ beta_78_ar.html | 68 ++++++ beta_78_en.html | 69 ++++++ beta_78_es.html | 68 ++++++ beta_78_fa.html | 69 ++++++ beta_78_fr.html | 73 ++++++ beta_78_hu.html | 71 ++++++ beta_78_ie.html | 69 ++++++ beta_78_ja.html | 68 ++++++ beta_78_ko.html | 69 ++++++ beta_78_pl.html | 69 ++++++ beta_78_pt-br.html | 68 ++++++ beta_78_ro.html | 68 ++++++ beta_78_ru.html | 68 ++++++ beta_78_th.html | 69 ++++++ beta_78_tr.html | 68 ++++++ beta_78_ua.html | 69 ++++++ beta_78_vi.html | 68 ++++++ beta_78_zh-cn.html | 68 ++++++ beta_78_zh-tw.html | 68 ++++++ beta_79_ar.html | 54 +++++ beta_79_en.html | 55 +++++ beta_79_es.html | 54 +++++ beta_79_fa.html | 55 +++++ beta_79_fr.html | 56 +++++ beta_79_hu.html | 55 +++++ beta_79_ie.html | 55 +++++ beta_79_ja.html | 54 +++++ beta_79_ko.html | 55 +++++ beta_79_pl.html | 55 +++++ beta_79_pt-br.html | 54 +++++ beta_79_ro.html | 54 +++++ beta_79_ru.html | 54 +++++ beta_79_th.html | 54 +++++ beta_79_tr.html | 54 +++++ beta_79_ua.html | 54 +++++ beta_79_vi.html | 54 +++++ beta_79_zh-cn.html | 54 +++++ beta_79_zh-tw.html | 54 +++++ beta_80_ar.html | 53 +++++ beta_80_en.html | 53 +++++ beta_80_es.html | 53 +++++ beta_80_fa.html | 53 +++++ beta_80_fr.html | 53 +++++ beta_80_hu.html | 53 +++++ beta_80_ie.html | 53 +++++ beta_80_ja.html | 53 +++++ beta_80_ko.html | 53 +++++ beta_80_pl.html | 53 +++++ beta_80_pt-br.html | 53 +++++ beta_80_ro.html | 53 +++++ beta_80_ru.html | 53 +++++ beta_80_th.html | 53 +++++ beta_80_tr.html | 53 +++++ beta_80_ua.html | 53 +++++ beta_80_vi.html | 53 +++++ beta_80_zh-cn.html | 53 +++++ beta_80_zh-tw.html | 53 +++++ beta_81_ar.html | 63 ++++++ beta_81_en.html | 63 ++++++ beta_81_es.html | 63 ++++++ beta_81_fa.html | 63 ++++++ beta_81_fr.html | 69 ++++++ beta_81_hu.html | 68 ++++++ beta_81_ie.html | 58 +++++ beta_81_ja.html | 63 ++++++ beta_81_ko.html | 63 ++++++ beta_81_pl.html | 63 ++++++ beta_81_pt-br.html | 63 ++++++ beta_81_ro.html | 63 ++++++ beta_81_ru.html | 63 ++++++ beta_81_th.html | 63 ++++++ beta_81_tr.html | 63 ++++++ beta_81_ua.html | 63 ++++++ beta_81_vi.html | 63 ++++++ beta_81_zh-cn.html | 63 ++++++ beta_81_zh-tw.html | 63 ++++++ beta_82_ar.html | 56 +++++ beta_82_en.html | 57 +++++ beta_82_es.html | 56 +++++ beta_82_fa.html | 57 +++++ beta_82_fr.html | 61 +++++ beta_82_hu.html | 59 +++++ beta_82_ie.html | 57 +++++ beta_82_ja.html | 56 +++++ beta_82_ko.html | 57 +++++ beta_82_pl.html | 57 +++++ beta_82_pt-br.html | 56 +++++ beta_82_ro.html | 57 +++++ beta_82_ru.html | 56 +++++ beta_82_th.html | 56 +++++ beta_82_tr.html | 56 +++++ beta_82_ua.html | 56 +++++ beta_82_vi.html | 57 +++++ beta_82_zh-cn.html | 56 +++++ beta_82_zh-tw.html | 56 +++++ beta_83_ar.html | 55 +++++ beta_83_en.html | 56 +++++ beta_83_es.html | 55 +++++ beta_83_fa.html | 56 +++++ beta_83_fr.html | 62 ++++++ beta_83_hu.html | 61 +++++ beta_83_ie.html | 56 +++++ beta_83_ja.html | 57 +++++ beta_83_ko.html | 56 +++++ beta_83_pl.html | 56 +++++ beta_83_pt-br.html | 56 +++++ beta_83_ro.html | 59 +++++ beta_83_ru.html | 56 +++++ beta_83_th.html | 56 +++++ beta_83_tr.html | 55 +++++ beta_83_ua.html | 56 +++++ beta_83_vi.html | 55 +++++ beta_83_zh-cn.html | 55 +++++ beta_83_zh-tw.html | 55 +++++ beta_84_ar.html | 62 ++++++ beta_84_en.html | 64 ++++++ beta_84_es.html | 62 ++++++ beta_84_fa.html | 64 ++++++ beta_84_fr.html | 68 ++++++ beta_84_hu.html | 67 ++++++ beta_84_ie.html | 64 ++++++ beta_84_ja.html | 62 ++++++ beta_84_ko.html | 64 ++++++ beta_84_pl.html | 64 ++++++ beta_84_pt-br.html | 62 ++++++ beta_84_ro.html | 63 ++++++ beta_84_ru.html | 62 ++++++ beta_84_th.html | 62 ++++++ beta_84_tr.html | 62 ++++++ beta_84_ua.html | 62 ++++++ beta_84_vi.html | 62 ++++++ beta_84_zh-cn.html | 62 ++++++ beta_84_zh-tw.html | 62 ++++++ beta_85_ar.html | 65 ++++++ beta_85_en.html | 65 ++++++ beta_85_es.html | 65 ++++++ beta_85_fa.html | 65 ++++++ beta_85_fr.html | 66 ++++++ beta_85_hu.html | 65 ++++++ beta_85_ie.html | 65 ++++++ beta_85_ja.html | 65 ++++++ beta_85_ko.html | 65 ++++++ beta_85_pl.html | 65 ++++++ beta_85_pt-br.html | 65 ++++++ beta_85_ro.html | 65 ++++++ beta_85_ru.html | 65 ++++++ beta_85_th.html | 65 ++++++ beta_85_tr.html | 65 ++++++ beta_85_ua.html | 65 ++++++ beta_85_vi.html | 65 ++++++ beta_85_zh-cn.html | 65 ++++++ beta_85_zh-tw.html | 65 ++++++ beta_86_ar.html | 58 +++++ beta_86_en.html | 60 +++++ beta_86_es.html | 58 +++++ beta_86_fa.html | 60 +++++ beta_86_fr.html | 62 ++++++ beta_86_hu.html | 61 +++++ beta_86_ie.html | 59 +++++ beta_86_ja.html | 58 +++++ beta_86_ko.html | 59 +++++ beta_86_pl.html | 60 +++++ beta_86_pt-br.html | 58 +++++ beta_86_ro.html | 59 +++++ beta_86_ru.html | 58 +++++ beta_86_th.html | 58 +++++ beta_86_tr.html | 57 +++++ beta_86_ua.html | 58 +++++ beta_86_vi.html | 58 +++++ beta_86_zh-cn.html | 58 +++++ beta_86_zh-tw.html | 58 +++++ beta_87_ar.html | 64 ++++++ beta_87_en.html | 64 ++++++ beta_87_es.html | 64 ++++++ beta_87_fa.html | 64 ++++++ beta_87_fr.html | 67 ++++++ beta_87_hu.html | 66 ++++++ beta_87_ie.html | 66 ++++++ beta_87_ja.html | 64 ++++++ beta_87_ko.html | 64 ++++++ beta_87_pl.html | 64 ++++++ beta_87_pt-br.html | 64 ++++++ beta_87_ro.html | 64 ++++++ beta_87_ru.html | 64 ++++++ beta_87_th.html | 64 ++++++ beta_87_tr.html | 65 ++++++ beta_87_ua.html | 64 ++++++ beta_87_vi.html | 64 ++++++ beta_87_zh-cn.html | 64 ++++++ beta_87_zh-tw.html | 64 ++++++ beta_88_ar.html | 56 +++++ beta_88_en.html | 60 +++++ beta_88_es.html | 58 +++++ beta_88_fa.html | 60 +++++ beta_88_fr.html | 64 ++++++ beta_88_hu.html | 62 ++++++ beta_88_ie.html | 55 +++++ beta_88_ja.html | 59 +++++ beta_88_ko.html | 59 +++++ beta_88_pl.html | 60 +++++ beta_88_pt-br.html | 56 +++++ beta_88_ro.html | 58 +++++ beta_88_ru.html | 58 +++++ beta_88_th.html | 57 +++++ beta_88_tr.html | 56 +++++ beta_88_ua.html | 60 +++++ beta_88_vi.html | 56 +++++ beta_88_zh-cn.html | 57 +++++ beta_88_zh-tw.html | 57 +++++ beta_90_ar.html | 51 +++++ beta_90_en.html | 55 +++++ beta_90_es.html | 51 +++++ beta_90_fa.html | 55 +++++ beta_90_fr.html | 56 +++++ beta_90_hu.html | 55 +++++ beta_90_ie.html | 55 +++++ beta_90_ko.html | 54 +++++ beta_90_pl.html | 55 +++++ beta_90_pt-br.html | 51 +++++ beta_90_ro.html | 55 +++++ beta_90_ru.html | 51 +++++ beta_90_th.html | 52 +++++ beta_90_tr.html | 51 +++++ beta_90_ua.html | 55 +++++ beta_90_vi.html | 51 +++++ beta_90_zh-cn.html | 51 +++++ beta_91_ar.html | 65 ++++++ beta_91_en.html | 70 ++++++ beta_91_es.html | 64 ++++++ beta_91_fa.html | 69 ++++++ beta_91_fr.html | 78 +++++++ beta_91_hu.html | 71 ++++++ beta_91_ie.html | 69 ++++++ beta_91_ko.html | 69 ++++++ beta_91_pl.html | 70 ++++++ beta_91_pt-br.html | 65 ++++++ beta_91_ro.html | 71 ++++++ beta_91_ru.html | 66 ++++++ beta_91_th.html | 70 ++++++ beta_91_tr.html | 65 ++++++ beta_91_ua.html | 70 ++++++ beta_91_vi.html | 65 ++++++ beta_91_zh-cn.html | 65 ++++++ beta_92_ar.html | 57 +++++ beta_92_en.html | 58 +++++ beta_92_es.html | 57 +++++ beta_92_fa.html | 58 +++++ beta_92_fr.html | 59 +++++ beta_92_hu.html | 58 +++++ beta_92_ie.html | 58 +++++ beta_92_ko.html | 58 +++++ beta_92_pl.html | 58 +++++ beta_92_pt-br.html | 57 +++++ beta_92_ro.html | 58 +++++ beta_92_ru.html | 58 +++++ beta_92_th.html | 58 +++++ beta_92_tr.html | 58 +++++ beta_92_ua.html | 58 +++++ beta_92_vi.html | 57 +++++ beta_92_zh-cn.html | 57 +++++ beta_93_ar.html | 62 ++++++ beta_93_en.html | 63 ++++++ beta_93_es.html | 62 ++++++ beta_93_fa.html | 63 ++++++ beta_93_fr.html | 64 ++++++ beta_93_hu.html | 63 ++++++ beta_93_ie.html | 63 ++++++ beta_93_ko.html | 63 ++++++ beta_93_pl.html | 63 ++++++ beta_93_pt-br.html | 62 ++++++ beta_93_ro.html | 63 ++++++ beta_93_ru.html | 62 ++++++ beta_93_th.html | 63 ++++++ beta_93_tr.html | 62 ++++++ beta_93_ua.html | 63 ++++++ beta_93_vi.html | 62 ++++++ beta_93_zh-cn.html | 62 ++++++ beta_94_ar.html | 60 +++++ beta_94_en.html | 61 +++++ beta_94_es.html | 60 +++++ beta_94_fa.html | 61 +++++ beta_94_fr.html | 64 ++++++ beta_94_hu.html | 62 ++++++ beta_94_ie.html | 62 ++++++ beta_94_ko.html | 61 +++++ beta_94_pl.html | 61 +++++ beta_94_pt-br.html | 60 +++++ beta_94_ro.html | 61 +++++ beta_94_ru.html | 60 +++++ beta_94_th.html | 60 +++++ beta_94_tr.html | 60 +++++ beta_94_ua.html | 61 +++++ beta_94_vi.html | 60 +++++ beta_94_zh-cn.html | 60 +++++ beta_95_ar.html | 55 +++++ beta_95_en.html | 59 +++++ beta_95_es.html | 55 +++++ beta_95_fa.html | 59 +++++ beta_95_fr.html | 63 ++++++ beta_95_hu.html | 59 +++++ beta_95_ie.html | 59 +++++ beta_95_ko.html | 59 +++++ beta_95_pl.html | 59 +++++ beta_95_pt-br.html | 55 +++++ beta_95_ro.html | 59 +++++ beta_95_ru.html | 55 +++++ beta_95_th.html | 56 +++++ beta_95_tr.html | 55 +++++ beta_95_ua.html | 59 +++++ beta_95_vi.html | 55 +++++ beta_95_zh-cn.html | 55 +++++ beta_96_ar.html | 57 +++++ beta_96_en.html | 61 +++++ beta_96_es.html | 56 +++++ beta_96_fa.html | 61 +++++ beta_96_fr.html | 65 ++++++ beta_96_hu.html | 67 ++++++ beta_96_ie.html | 62 ++++++ beta_96_ko.html | 61 +++++ beta_96_pl.html | 61 +++++ beta_96_pt-br.html | 57 +++++ beta_96_ro.html | 61 +++++ beta_96_ru.html | 57 +++++ beta_96_th.html | 58 +++++ beta_96_tr.html | 56 +++++ beta_96_ua.html | 61 +++++ beta_96_vi.html | 57 +++++ beta_96_zh-cn.html | 57 +++++ beta_97_ar.html | 60 +++++ beta_97_en.html | 64 ++++++ beta_97_es.html | 60 +++++ beta_97_fa.html | 64 ++++++ beta_97_fr.html | 72 ++++++ beta_97_hu.html | 70 ++++++ beta_97_ie.html | 64 ++++++ beta_97_ko.html | 65 ++++++ beta_97_pl.html | 64 ++++++ beta_97_pt-br.html | 60 +++++ beta_97_ro.html | 64 ++++++ beta_97_ru.html | 60 +++++ beta_97_th.html | 61 +++++ beta_97_tr.html | 60 +++++ beta_97_ua.html | 64 ++++++ beta_97_vi.html | 60 +++++ beta_97_zh-cn.html | 62 ++++++ beta_98_ar.html | 54 +++++ beta_98_en.html | 54 +++++ beta_98_es.html | 54 +++++ beta_98_fa.html | 54 +++++ beta_98_fr.html | 56 +++++ beta_98_hu.html | 54 +++++ beta_98_ie.html | 54 +++++ beta_98_ko.html | 54 +++++ beta_98_pl.html | 54 +++++ beta_98_pt-br.html | 54 +++++ beta_98_ro.html | 54 +++++ beta_98_ru.html | 54 +++++ beta_98_th.html | 54 +++++ beta_98_tr.html | 54 +++++ beta_98_ua.html | 54 +++++ beta_98_vi.html | 54 +++++ beta_98_zh-cn.html | 54 +++++ beta_99_ar.html | 57 +++++ beta_99_en.html | 61 +++++ beta_99_es.html | 57 +++++ beta_99_fa.html | 61 +++++ beta_99_fr.html | 66 ++++++ beta_99_hu.html | 62 ++++++ beta_99_ie.html | 61 +++++ beta_99_ko.html | 61 +++++ beta_99_pl.html | 61 +++++ beta_99_pt-br.html | 57 +++++ beta_99_ro.html | 61 +++++ beta_99_ru.html | 57 +++++ beta_99_th.html | 57 +++++ beta_99_tr.html | 57 +++++ beta_99_ua.html | 61 +++++ beta_99_vi.html | 57 +++++ beta_99_zh-cn.html | 57 +++++ beta_chapter_10_ar.html | 54 +++++ beta_chapter_10_de.html | 54 +++++ beta_chapter_10_en.html | 55 +++++ beta_chapter_10_es.html | 51 +++++ beta_chapter_10_fa.html | 55 +++++ beta_chapter_10_fr.html | 58 +++++ beta_chapter_10_gr.html | 54 +++++ beta_chapter_10_hu.html | 56 +++++ beta_chapter_10_ie.html | 51 +++++ beta_chapter_10_ja.html | 55 +++++ beta_chapter_10_ko.html | 55 +++++ beta_chapter_10_pl.html | 55 +++++ beta_chapter_10_pt-br.html | 51 +++++ beta_chapter_10_ro.html | 55 +++++ beta_chapter_10_ru.html | 55 +++++ beta_chapter_10_th.html | 55 +++++ beta_chapter_10_tr.html | 56 +++++ beta_chapter_10_ua.html | 55 +++++ beta_chapter_10_vi.html | 54 +++++ beta_chapter_10_zh-cn.html | 54 +++++ beta_chapter_1_ar.html | 53 +++++ beta_chapter_1_de.html | 53 +++++ beta_chapter_1_en.html | 53 +++++ beta_chapter_1_es.html | 52 +++++ beta_chapter_1_fa.html | 54 +++++ beta_chapter_1_fi.html | 53 +++++ beta_chapter_1_fr.html | 54 +++++ beta_chapter_1_gr.html | 52 +++++ beta_chapter_1_hu.html | 54 +++++ beta_chapter_1_id.html | 54 +++++ beta_chapter_1_ie.html | 51 +++++ beta_chapter_1_it.html | 53 +++++ beta_chapter_1_ja.html | 52 +++++ beta_chapter_1_ko.html | 54 +++++ beta_chapter_1_pl.html | 53 +++++ beta_chapter_1_pt-br.html | 52 +++++ beta_chapter_1_ro.html | 54 +++++ beta_chapter_1_ru.html | 55 +++++ beta_chapter_1_th.html | 53 +++++ beta_chapter_1_tr.html | 52 +++++ beta_chapter_1_ua.html | 52 +++++ beta_chapter_1_vi.html | 53 +++++ beta_chapter_1_zh-cn.html | 53 +++++ beta_chapter_1_zh-tw.html | 52 +++++ beta_chapter_2_ar.html | 52 +++++ beta_chapter_2_de.html | 54 +++++ beta_chapter_2_en.html | 53 +++++ beta_chapter_2_es.html | 52 +++++ beta_chapter_2_fa.html | 53 +++++ beta_chapter_2_fi.html | 53 +++++ beta_chapter_2_fr.html | 53 +++++ beta_chapter_2_gr.html | 52 +++++ beta_chapter_2_hu.html | 52 +++++ beta_chapter_2_id.html | 52 +++++ beta_chapter_2_ie.html | 51 +++++ beta_chapter_2_it.html | 52 +++++ beta_chapter_2_ja.html | 52 +++++ beta_chapter_2_ko.html | 53 +++++ beta_chapter_2_pl.html | 53 +++++ beta_chapter_2_pt-br.html | 52 +++++ beta_chapter_2_ro.html | 53 +++++ beta_chapter_2_ru.html | 53 +++++ beta_chapter_2_th.html | 52 +++++ beta_chapter_2_tr.html | 51 +++++ beta_chapter_2_ua.html | 52 +++++ beta_chapter_2_vi.html | 53 +++++ beta_chapter_2_zh-cn.html | 51 +++++ beta_chapter_2_zh-tw.html | 52 +++++ beta_chapter_3_ar.html | 51 +++++ beta_chapter_3_de.html | 53 +++++ beta_chapter_3_en.html | 53 +++++ beta_chapter_3_es.html | 53 +++++ beta_chapter_3_fa.html | 53 +++++ beta_chapter_3_fr.html | 54 +++++ beta_chapter_3_gr.html | 51 +++++ beta_chapter_3_hu.html | 53 +++++ beta_chapter_3_ie.html | 53 +++++ beta_chapter_3_it.html | 51 +++++ beta_chapter_3_ja.html | 52 +++++ beta_chapter_3_ko.html | 54 +++++ beta_chapter_3_pl.html | 53 +++++ beta_chapter_3_pt-br.html | 51 +++++ beta_chapter_3_ro.html | 53 +++++ beta_chapter_3_ru.html | 52 +++++ beta_chapter_3_th.html | 55 +++++ beta_chapter_3_tr.html | 52 +++++ beta_chapter_3_ua.html | 52 +++++ beta_chapter_3_vi.html | 51 +++++ beta_chapter_3_zh-cn.html | 52 +++++ beta_chapter_3_zh-tw.html | 51 +++++ beta_chapter_4_ar.html | 51 +++++ beta_chapter_4_de.html | 53 +++++ beta_chapter_4_en.html | 54 +++++ beta_chapter_4_es.html | 53 +++++ beta_chapter_4_fa.html | 54 +++++ beta_chapter_4_fr.html | 54 +++++ beta_chapter_4_gr.html | 51 +++++ beta_chapter_4_hu.html | 54 +++++ beta_chapter_4_ie.html | 54 +++++ beta_chapter_4_it.html | 54 +++++ beta_chapter_4_ja.html | 53 +++++ beta_chapter_4_ko.html | 53 +++++ beta_chapter_4_pl.html | 52 +++++ beta_chapter_4_pt-br.html | 51 +++++ beta_chapter_4_ro.html | 54 +++++ beta_chapter_4_ru.html | 54 +++++ beta_chapter_4_th.html | 51 +++++ beta_chapter_4_tr.html | 51 +++++ beta_chapter_4_ua.html | 52 +++++ beta_chapter_4_vi.html | 51 +++++ beta_chapter_4_zh-cn.html | 52 +++++ beta_chapter_4_zh-tw.html | 51 +++++ beta_chapter_5_ar.html | 51 +++++ beta_chapter_5_de.html | 53 +++++ beta_chapter_5_en.html | 53 +++++ beta_chapter_5_es.html | 51 +++++ beta_chapter_5_fa.html | 53 +++++ beta_chapter_5_fr.html | 55 +++++ beta_chapter_5_gr.html | 51 +++++ beta_chapter_5_hu.html | 54 +++++ beta_chapter_5_ie.html | 53 +++++ beta_chapter_5_it.html | 53 +++++ beta_chapter_5_ja.html | 54 +++++ beta_chapter_5_ko.html | 53 +++++ beta_chapter_5_pl.html | 53 +++++ beta_chapter_5_pt-br.html | 51 +++++ beta_chapter_5_ro.html | 53 +++++ beta_chapter_5_ru.html | 51 +++++ beta_chapter_5_th.html | 53 +++++ beta_chapter_5_tr.html | 51 +++++ beta_chapter_5_ua.html | 53 +++++ beta_chapter_5_vi.html | 51 +++++ beta_chapter_5_zh-cn.html | 51 +++++ beta_chapter_5_zh-tw.html | 51 +++++ beta_chapter_6_ar.html | 53 +++++ beta_chapter_6_de.html | 53 +++++ beta_chapter_6_en.html | 53 +++++ beta_chapter_6_es.html | 51 +++++ beta_chapter_6_fa.html | 53 +++++ beta_chapter_6_fr.html | 55 +++++ beta_chapter_6_hu.html | 55 +++++ beta_chapter_6_ie.html | 53 +++++ beta_chapter_6_it.html | 53 +++++ beta_chapter_6_ja.html | 53 +++++ beta_chapter_6_ko.html | 53 +++++ beta_chapter_6_pl.html | 53 +++++ beta_chapter_6_pt-br.html | 52 +++++ beta_chapter_6_ro.html | 53 +++++ beta_chapter_6_ru.html | 53 +++++ beta_chapter_6_th.html | 52 +++++ beta_chapter_6_tr.html | 51 +++++ beta_chapter_6_ua.html | 53 +++++ beta_chapter_6_vi.html | 52 +++++ beta_chapter_6_zh-cn.html | 52 +++++ beta_chapter_6_zh-tw.html | 52 +++++ beta_chapter_7_ar.html | 51 +++++ beta_chapter_7_en.html | 54 +++++ beta_chapter_7_es.html | 51 +++++ beta_chapter_7_fa.html | 54 +++++ beta_chapter_7_fr.html | 56 +++++ beta_chapter_7_hu.html | 55 +++++ beta_chapter_7_ie.html | 54 +++++ beta_chapter_7_ja.html | 51 +++++ beta_chapter_7_ko.html | 54 +++++ beta_chapter_7_pl.html | 54 +++++ beta_chapter_7_pt-br.html | 51 +++++ beta_chapter_7_ro.html | 53 +++++ beta_chapter_7_ru.html | 51 +++++ beta_chapter_7_th.html | 53 +++++ beta_chapter_7_tr.html | 53 +++++ beta_chapter_7_ua.html | 54 +++++ beta_chapter_7_vi.html | 51 +++++ beta_chapter_7_zh-cn.html | 51 +++++ beta_chapter_7_zh-tw.html | 52 +++++ beta_chapter_8_ar.html | 53 +++++ beta_chapter_8_en.html | 56 +++++ beta_chapter_8_es.html | 52 +++++ beta_chapter_8_fa.html | 56 +++++ beta_chapter_8_fr.html | 58 +++++ beta_chapter_8_hu.html | 57 +++++ beta_chapter_8_ie.html | 56 +++++ beta_chapter_8_ko.html | 55 +++++ beta_chapter_8_pl.html | 56 +++++ beta_chapter_8_pt-br.html | 52 +++++ beta_chapter_8_ro.html | 56 +++++ beta_chapter_8_ru.html | 52 +++++ beta_chapter_8_th.html | 52 +++++ beta_chapter_8_tr.html | 52 +++++ beta_chapter_8_ua.html | 57 +++++ beta_chapter_8_vi.html | 52 +++++ beta_chapter_8_zh-cn.html | 52 +++++ beta_chapter_9_ar.html | 51 +++++ beta_chapter_9_de.html | 51 +++++ beta_chapter_9_en.html | 51 +++++ beta_chapter_9_es.html | 51 +++++ beta_chapter_9_fa.html | 51 +++++ beta_chapter_9_fr.html | 54 +++++ beta_chapter_9_hu.html | 52 +++++ beta_chapter_9_ie.html | 51 +++++ beta_chapter_9_ko.html | 51 +++++ beta_chapter_9_pl.html | 51 +++++ beta_chapter_9_pt-br.html | 51 +++++ beta_chapter_9_ro.html | 51 +++++ beta_chapter_9_ru.html | 51 +++++ beta_chapter_9_th.html | 51 +++++ beta_chapter_9_tr.html | 51 +++++ beta_chapter_9_ua.html | 51 +++++ beta_chapter_9_vi.html | 51 +++++ beta_chapter_9_zh-cn.html | 51 +++++ beta_index.html | 81 +++++++ chapter_10_ar.html | 54 +++++ chapter_10_de.html | 54 +++++ chapter_10_en.html | 55 +++++ chapter_10_es.html | 51 +++++ chapter_10_fa.html | 55 +++++ chapter_10_fi.html | 55 +++++ chapter_10_fr.html | 58 +++++ chapter_10_gr.html | 54 +++++ chapter_10_hu.html | 56 +++++ chapter_10_id.html | 55 +++++ chapter_10_ie.html | 51 +++++ chapter_10_it.html | 55 +++++ chapter_10_ja.html | 55 +++++ chapter_10_ko.html | 55 +++++ chapter_10_pl.html | 55 +++++ chapter_10_pt-br.html | 51 +++++ chapter_10_ro.html | 55 +++++ chapter_10_ru.html | 55 +++++ chapter_10_th.html | 55 +++++ chapter_10_tr.html | 56 +++++ chapter_10_ua.html | 55 +++++ chapter_10_vi.html | 54 +++++ chapter_10_zh-cn.html | 54 +++++ chapter_10_zh-tw.html | 55 +++++ chapter_1_ar.html | 53 +++++ chapter_1_de.html | 53 +++++ chapter_1_en.html | 53 +++++ chapter_1_es.html | 52 +++++ chapter_1_fa.html | 54 +++++ chapter_1_fi.html | 53 +++++ chapter_1_fr.html | 54 +++++ chapter_1_gr.html | 52 +++++ chapter_1_hu.html | 54 +++++ chapter_1_id.html | 54 +++++ chapter_1_ie.html | 51 +++++ chapter_1_it.html | 53 +++++ chapter_1_ja.html | 52 +++++ chapter_1_ko.html | 54 +++++ chapter_1_pl.html | 53 +++++ chapter_1_pt-br.html | 52 +++++ chapter_1_ro.html | 54 +++++ chapter_1_ru.html | 55 +++++ chapter_1_th.html | 53 +++++ chapter_1_tr.html | 52 +++++ chapter_1_ua.html | 52 +++++ chapter_1_vi.html | 53 +++++ chapter_1_zh-cn.html | 53 +++++ chapter_1_zh-tw.html | 52 +++++ chapter_2_ar.html | 52 +++++ chapter_2_de.html | 54 +++++ chapter_2_en.html | 53 +++++ chapter_2_es.html | 52 +++++ chapter_2_fa.html | 53 +++++ chapter_2_fi.html | 53 +++++ chapter_2_fr.html | 53 +++++ chapter_2_gr.html | 52 +++++ chapter_2_hu.html | 52 +++++ chapter_2_id.html | 52 +++++ chapter_2_ie.html | 51 +++++ chapter_2_it.html | 52 +++++ chapter_2_ja.html | 52 +++++ chapter_2_ko.html | 53 +++++ chapter_2_pl.html | 53 +++++ chapter_2_pt-br.html | 52 +++++ chapter_2_ro.html | 53 +++++ chapter_2_ru.html | 53 +++++ chapter_2_th.html | 52 +++++ chapter_2_tr.html | 51 +++++ chapter_2_ua.html | 52 +++++ chapter_2_vi.html | 53 +++++ chapter_2_zh-cn.html | 51 +++++ chapter_2_zh-tw.html | 52 +++++ chapter_3_ar.html | 51 +++++ chapter_3_de.html | 53 +++++ chapter_3_en.html | 53 +++++ chapter_3_es.html | 53 +++++ chapter_3_fa.html | 53 +++++ chapter_3_fi.html | 53 +++++ chapter_3_fr.html | 54 +++++ chapter_3_gr.html | 51 +++++ chapter_3_hu.html | 53 +++++ chapter_3_id.html | 53 +++++ chapter_3_ie.html | 53 +++++ chapter_3_it.html | 51 +++++ chapter_3_ja.html | 52 +++++ chapter_3_ko.html | 54 +++++ chapter_3_pl.html | 53 +++++ chapter_3_pt-br.html | 51 +++++ chapter_3_ro.html | 53 +++++ chapter_3_ru.html | 52 +++++ chapter_3_th.html | 55 +++++ chapter_3_tr.html | 52 +++++ chapter_3_ua.html | 52 +++++ chapter_3_vi.html | 51 +++++ chapter_3_zh-cn.html | 52 +++++ chapter_3_zh-tw.html | 51 +++++ chapter_4_ar.html | 51 +++++ chapter_4_de.html | 53 +++++ chapter_4_en.html | 54 +++++ chapter_4_es.html | 53 +++++ chapter_4_fa.html | 54 +++++ chapter_4_fi.html | 54 +++++ chapter_4_fr.html | 54 +++++ chapter_4_gr.html | 51 +++++ chapter_4_hu.html | 54 +++++ chapter_4_id.html | 54 +++++ chapter_4_ie.html | 54 +++++ chapter_4_it.html | 54 +++++ chapter_4_ja.html | 53 +++++ chapter_4_ko.html | 53 +++++ chapter_4_pl.html | 52 +++++ chapter_4_pt-br.html | 51 +++++ chapter_4_ro.html | 54 +++++ chapter_4_ru.html | 54 +++++ chapter_4_th.html | 51 +++++ chapter_4_tr.html | 51 +++++ chapter_4_ua.html | 52 +++++ chapter_4_vi.html | 51 +++++ chapter_4_zh-cn.html | 52 +++++ chapter_4_zh-tw.html | 51 +++++ chapter_5_ar.html | 51 +++++ chapter_5_de.html | 53 +++++ chapter_5_en.html | 53 +++++ chapter_5_es.html | 51 +++++ chapter_5_fa.html | 53 +++++ chapter_5_fi.html | 53 +++++ chapter_5_fr.html | 55 +++++ chapter_5_gr.html | 51 +++++ chapter_5_hu.html | 54 +++++ chapter_5_id.html | 53 +++++ chapter_5_ie.html | 53 +++++ chapter_5_it.html | 53 +++++ chapter_5_ja.html | 54 +++++ chapter_5_ko.html | 53 +++++ chapter_5_pl.html | 53 +++++ chapter_5_pt-br.html | 51 +++++ chapter_5_ro.html | 53 +++++ chapter_5_ru.html | 51 +++++ chapter_5_th.html | 53 +++++ chapter_5_tr.html | 51 +++++ chapter_5_ua.html | 53 +++++ chapter_5_vi.html | 51 +++++ chapter_5_zh-cn.html | 51 +++++ chapter_5_zh-tw.html | 51 +++++ chapter_6_ar.html | 53 +++++ chapter_6_de.html | 53 +++++ chapter_6_en.html | 53 +++++ chapter_6_es.html | 51 +++++ chapter_6_fa.html | 53 +++++ chapter_6_fi.html | 53 +++++ chapter_6_fr.html | 55 +++++ chapter_6_gr.html | 53 +++++ chapter_6_hu.html | 55 +++++ chapter_6_id.html | 53 +++++ chapter_6_ie.html | 53 +++++ chapter_6_it.html | 53 +++++ chapter_6_ja.html | 53 +++++ chapter_6_ko.html | 53 +++++ chapter_6_pl.html | 53 +++++ chapter_6_pt-br.html | 52 +++++ chapter_6_ro.html | 53 +++++ chapter_6_ru.html | 53 +++++ chapter_6_th.html | 52 +++++ chapter_6_tr.html | 51 +++++ chapter_6_ua.html | 53 +++++ chapter_6_vi.html | 52 +++++ chapter_6_zh-cn.html | 52 +++++ chapter_6_zh-tw.html | 52 +++++ chapter_7_ar.html | 51 +++++ chapter_7_de.html | 54 +++++ chapter_7_en.html | 54 +++++ chapter_7_es.html | 51 +++++ chapter_7_fa.html | 54 +++++ chapter_7_fi.html | 54 +++++ chapter_7_fr.html | 56 +++++ chapter_7_gr.html | 54 +++++ chapter_7_hu.html | 55 +++++ chapter_7_id.html | 54 +++++ chapter_7_ie.html | 54 +++++ chapter_7_it.html | 54 +++++ chapter_7_ja.html | 51 +++++ chapter_7_ko.html | 54 +++++ chapter_7_pl.html | 54 +++++ chapter_7_pt-br.html | 51 +++++ chapter_7_ro.html | 53 +++++ chapter_7_ru.html | 51 +++++ chapter_7_th.html | 53 +++++ chapter_7_tr.html | 53 +++++ chapter_7_ua.html | 54 +++++ chapter_7_vi.html | 51 +++++ chapter_7_zh-cn.html | 51 +++++ chapter_7_zh-tw.html | 52 +++++ chapter_8_ar.html | 53 +++++ chapter_8_de.html | 56 +++++ chapter_8_en.html | 56 +++++ chapter_8_es.html | 52 +++++ chapter_8_fa.html | 56 +++++ chapter_8_fi.html | 56 +++++ chapter_8_fr.html | 58 +++++ chapter_8_gr.html | 56 +++++ chapter_8_hu.html | 57 +++++ chapter_8_id.html | 56 +++++ chapter_8_ie.html | 56 +++++ chapter_8_it.html | 56 +++++ chapter_8_ja.html | 56 +++++ chapter_8_ko.html | 55 +++++ chapter_8_pl.html | 56 +++++ chapter_8_pt-br.html | 52 +++++ chapter_8_ro.html | 56 +++++ chapter_8_ru.html | 52 +++++ chapter_8_th.html | 52 +++++ chapter_8_tr.html | 52 +++++ chapter_8_ua.html | 57 +++++ chapter_8_vi.html | 52 +++++ chapter_8_zh-cn.html | 52 +++++ chapter_8_zh-tw.html | 56 +++++ chapter_9_ar.html | 51 +++++ chapter_9_de.html | 51 +++++ chapter_9_en.html | 51 +++++ chapter_9_es.html | 51 +++++ chapter_9_fa.html | 51 +++++ chapter_9_fi.html | 51 +++++ chapter_9_fr.html | 54 +++++ chapter_9_gr.html | 51 +++++ chapter_9_hu.html | 52 +++++ chapter_9_id.html | 51 +++++ chapter_9_ie.html | 51 +++++ chapter_9_it.html | 51 +++++ chapter_9_ja.html | 51 +++++ chapter_9_ko.html | 51 +++++ chapter_9_pl.html | 51 +++++ chapter_9_pt-br.html | 51 +++++ chapter_9_ro.html | 51 +++++ chapter_9_ru.html | 51 +++++ chapter_9_th.html | 51 +++++ chapter_9_tr.html | 51 +++++ chapter_9_ua.html | 51 +++++ chapter_9_vi.html | 51 +++++ chapter_9_zh-cn.html | 51 +++++ chapter_9_zh-tw.html | 51 +++++ 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 generate.js | 210 ++++++++++++++---- index.html | 81 +++++++ 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 | 65 ++++++ webassembly/00_es.html | 67 ++++++ webassembly/00_fr.html | 68 ++++++ webassembly/00_fr_c.html | 65 ++++++ webassembly/00_ie.html | 67 ++++++ webassembly/00_ja.html | 66 ++++++ webassembly/00_pt-br.html | 63 ++++++ webassembly/00_ro.html | 67 ++++++ webassembly/02_en.html | 58 +++++ webassembly/02_en_c.html | 58 +++++ webassembly/02_es.html | 60 +++++ webassembly/02_fr.html | 60 +++++ webassembly/02_fr_c.html | 60 +++++ webassembly/02_ie.html | 58 +++++ webassembly/02_ja.html | 58 +++++ webassembly/02_pt-br.html | 57 +++++ webassembly/02_ro.html | 58 +++++ webassembly/03_en.html | 54 +++++ webassembly/03_en_c.html | 54 +++++ webassembly/03_es.html | 55 +++++ webassembly/03_fr.html | 55 +++++ webassembly/03_fr_c.html | 55 +++++ webassembly/03_ie.html | 54 +++++ webassembly/03_ja.html | 54 +++++ webassembly/03_pt-br.html | 53 +++++ webassembly/03_ro.html | 54 +++++ webassembly/04_en.html | 55 +++++ webassembly/04_en_c.html | 55 +++++ webassembly/04_es.html | 55 +++++ webassembly/04_fr.html | 57 +++++ webassembly/04_fr_c.html | 57 +++++ webassembly/04_ie.html | 55 +++++ webassembly/04_ja.html | 55 +++++ webassembly/04_pt-br.html | 53 +++++ webassembly/04_ro.html | 55 +++++ webassembly/05_en.html | 54 +++++ webassembly/05_en_c.html | 54 +++++ webassembly/05_es.html | 54 +++++ webassembly/05_fr.html | 56 +++++ webassembly/05_fr_c.html | 56 +++++ webassembly/05_ie.html | 54 +++++ webassembly/05_ja.html | 54 +++++ webassembly/05_pt-br.html | 53 +++++ webassembly/05_ro.html | 54 +++++ webassembly/06_en.html | 56 +++++ webassembly/06_en_c.html | 56 +++++ webassembly/06_es.html | 56 +++++ webassembly/06_fr.html | 56 +++++ webassembly/06_fr_c.html | 56 +++++ webassembly/06_ie.html | 56 +++++ webassembly/06_ja.html | 55 +++++ webassembly/06_pt-br.html | 54 +++++ webassembly/06_ro.html | 56 +++++ webassembly/07_en.html | 52 +++++ webassembly/07_en_c.html | 52 +++++ webassembly/07_es.html | 52 +++++ webassembly/07_fr.html | 54 +++++ webassembly/07_fr_c.html | 54 +++++ webassembly/07_ie.html | 52 +++++ webassembly/07_ja.html | 52 +++++ webassembly/07_pt-br.html | 51 +++++ webassembly/07_ro.html | 52 +++++ webassembly/09_en.html | 56 +++++ webassembly/09_en_c.html | 54 +++++ webassembly/09_es.html | 56 +++++ webassembly/09_fr.html | 56 +++++ webassembly/09_fr_c.html | 54 +++++ webassembly/09_ie.html | 56 +++++ webassembly/09_ja.html | 55 +++++ webassembly/09_pt-br.html | 55 +++++ webassembly/09_ro.html | 56 +++++ webassembly/10_en.html | 57 +++++ webassembly/10_en_c.html | 57 +++++ webassembly/10_es.html | 57 +++++ webassembly/10_fr.html | 57 +++++ webassembly/10_fr_c.html | 57 +++++ webassembly/10_ie.html | 57 +++++ webassembly/10_ja.html | 57 +++++ webassembly/10_pt-br.html | 57 +++++ webassembly/10_ro.html | 57 +++++ webassembly/11_en.html | 55 +++++ webassembly/11_en_c.html | 55 +++++ webassembly/11_es.html | 55 +++++ webassembly/11_fr.html | 56 +++++ webassembly/11_fr_c.html | 56 +++++ webassembly/11_ie.html | 55 +++++ webassembly/11_ja.html | 54 +++++ webassembly/11_pt-br.html | 54 +++++ webassembly/11_ro.html | 55 +++++ webassembly/12_en.html | 66 ++++++ webassembly/12_en_c.html | 66 ++++++ webassembly/12_es.html | 66 ++++++ webassembly/12_fr.html | 67 ++++++ webassembly/12_fr_c.html | 67 ++++++ webassembly/12_ie.html | 66 ++++++ webassembly/12_ja.html | 66 ++++++ webassembly/12_pt-br.html | 53 +++++ webassembly/12_ro.html | 68 ++++++ webassembly/13_en.html | 68 ++++++ webassembly/13_en_c.html | 68 ++++++ webassembly/13_es.html | 68 ++++++ webassembly/13_fr.html | 71 ++++++ webassembly/13_fr_c.html | 71 ++++++ webassembly/13_ie.html | 68 ++++++ webassembly/13_ja.html | 66 ++++++ webassembly/13_pt-br.html | 53 +++++ webassembly/13_ro.html | 68 ++++++ webassembly/14_en.html | 69 ++++++ webassembly/14_en_c.html | 69 ++++++ webassembly/14_es.html | 69 ++++++ webassembly/14_fr.html | 71 ++++++ webassembly/14_fr_c.html | 71 ++++++ webassembly/14_ie.html | 69 ++++++ webassembly/14_ja.html | 69 ++++++ webassembly/14_pt-br.html | 68 ++++++ webassembly/14_ro.html | 69 ++++++ webassembly/15_en.html | 78 +++++++ webassembly/15_en_c.html | 78 +++++++ webassembly/15_es.html | 78 +++++++ webassembly/15_fr.html | 81 +++++++ webassembly/15_fr_c.html | 81 +++++++ webassembly/15_ie.html | 78 +++++++ webassembly/15_ja.html | 78 +++++++ webassembly/15_pt-br.html | 65 ++++++ webassembly/15_ro.html | 78 +++++++ webassembly/16_en.html | 56 +++++ webassembly/16_en_c.html | 56 +++++ webassembly/16_es.html | 56 +++++ webassembly/16_fr.html | 59 +++++ webassembly/16_fr_c.html | 59 +++++ webassembly/16_ie.html | 56 +++++ webassembly/16_ja.html | 54 +++++ webassembly/16_pt-br.html | 54 +++++ webassembly/16_ro.html | 55 +++++ webassembly/17_en.html | 55 +++++ webassembly/17_en_c.html | 55 +++++ webassembly/17_es.html | 55 +++++ webassembly/17_fr.html | 61 +++++ webassembly/17_fr_c.html | 59 +++++ webassembly/17_ie.html | 55 +++++ webassembly/17_ja.html | 54 +++++ webassembly/17_pt-br.html | 53 +++++ webassembly/17_ro.html | 55 +++++ webassembly/19_en.html | 61 +++++ webassembly/19_en_c.html | 61 +++++ webassembly/19_es.html | 61 +++++ webassembly/19_fr.html | 66 ++++++ webassembly/19_fr_c.html | 61 +++++ webassembly/19_ie.html | 61 +++++ webassembly/19_ja.html | 59 +++++ webassembly/19_pt-br.html | 56 +++++ webassembly/19_ro.html | 59 +++++ webassembly/20_en.html | 56 +++++ webassembly/20_en_c.html | 56 +++++ webassembly/20_es.html | 56 +++++ webassembly/20_fr.html | 61 +++++ webassembly/20_fr_c.html | 56 +++++ webassembly/20_ie.html | 56 +++++ webassembly/20_ja.html | 56 +++++ webassembly/20_pt-br.html | 56 +++++ webassembly/20_ro.html | 56 +++++ webassembly/21_en.html | 62 ++++++ webassembly/21_en_c.html | 62 ++++++ webassembly/21_es.html | 62 ++++++ webassembly/21_fr.html | 67 ++++++ webassembly/21_fr_c.html | 62 ++++++ webassembly/21_ie.html | 62 ++++++ webassembly/21_ja.html | 61 +++++ webassembly/21_pt-br.html | 59 +++++ webassembly/21_ro.html | 62 ++++++ webassembly/22_en.html | 68 ++++++ webassembly/22_en_c.html | 68 ++++++ webassembly/22_es.html | 68 ++++++ webassembly/22_fr.html | 74 ++++++ webassembly/22_fr_c.html | 68 ++++++ webassembly/22_ie.html | 68 ++++++ webassembly/22_ja.html | 71 ++++++ webassembly/22_pt-br.html | 63 ++++++ webassembly/22_ro.html | 68 ++++++ webassembly/23_en.html | 66 ++++++ webassembly/23_en_c.html | 66 ++++++ webassembly/23_es.html | 66 ++++++ webassembly/23_fr.html | 69 ++++++ webassembly/23_fr_c.html | 66 ++++++ webassembly/23_ie.html | 66 ++++++ webassembly/23_ja.html | 69 ++++++ webassembly/23_pt-br.html | 63 ++++++ webassembly/23_ro.html | 66 ++++++ webassembly/24_en.html | 68 ++++++ webassembly/24_en_c.html | 68 ++++++ webassembly/24_es.html | 68 ++++++ webassembly/24_fr.html | 71 ++++++ webassembly/24_fr_c.html | 68 ++++++ webassembly/24_ie.html | 68 ++++++ webassembly/24_ja.html | 69 ++++++ webassembly/24_pt-br.html | 64 ++++++ webassembly/24_ro.html | 68 ++++++ webassembly/25_en.html | 78 +++++++ webassembly/25_en_c.html | 78 +++++++ webassembly/25_es.html | 78 +++++++ webassembly/25_fr.html | 83 +++++++ webassembly/25_fr_c.html | 78 +++++++ webassembly/25_ie.html | 78 +++++++ webassembly/25_ja.html | 77 +++++++ webassembly/25_pt-br.html | 72 ++++++ webassembly/25_ro.html | 84 +++++++ webassembly/26_en.html | 78 +++++++ webassembly/26_en_c.html | 78 +++++++ webassembly/26_es.html | 78 +++++++ webassembly/26_fr.html | 79 +++++++ webassembly/26_fr_c.html | 78 +++++++ webassembly/26_ie.html | 78 +++++++ webassembly/26_ja.html | 80 +++++++ webassembly/26_pt-br.html | 75 +++++++ webassembly/26_ro.html | 78 +++++++ webassembly/27_en.html | 53 +++++ webassembly/27_en_c.html | 53 +++++ webassembly/27_es.html | 53 +++++ webassembly/27_fr.html | 56 +++++ webassembly/27_fr_c.html | 53 +++++ webassembly/27_ie.html | 53 +++++ webassembly/27_ja.html | 53 +++++ webassembly/27_pt-br.html | 51 +++++ webassembly/27_ro.html | 53 +++++ webassembly/TOC_en.html | 75 +++++++ webassembly/TOC_en_c.html | 75 +++++++ webassembly/TOC_es.html | 75 +++++++ webassembly/TOC_fr.html | 75 +++++++ webassembly/TOC_fr_c.html | 75 +++++++ webassembly/TOC_ie.html | 75 +++++++ webassembly/TOC_ja.html | 75 +++++++ webassembly/TOC_pt-br.html | 75 +++++++ webassembly/TOC_ro.html | 75 +++++++ webassembly/beta_00_en_c.html | 65 ++++++ webassembly/beta_00_es.html | 67 ++++++ webassembly/beta_00_fr.html | 68 ++++++ webassembly/beta_00_fr_c.html | 65 ++++++ webassembly/beta_00_ie.html | 67 ++++++ webassembly/beta_00_ja.html | 66 ++++++ webassembly/beta_00_pt-br.html | 63 ++++++ webassembly/beta_00_ro.html | 67 ++++++ webassembly/beta_02_en.html | 58 +++++ webassembly/beta_02_en_c.html | 58 +++++ webassembly/beta_02_es.html | 60 +++++ webassembly/beta_02_fr.html | 60 +++++ webassembly/beta_02_fr_c.html | 60 +++++ webassembly/beta_02_ie.html | 58 +++++ webassembly/beta_02_ja.html | 58 +++++ webassembly/beta_02_pt-br.html | 57 +++++ webassembly/beta_02_ro.html | 58 +++++ webassembly/beta_03_en.html | 54 +++++ webassembly/beta_03_en_c.html | 54 +++++ webassembly/beta_03_es.html | 55 +++++ webassembly/beta_03_fr.html | 55 +++++ webassembly/beta_03_fr_c.html | 55 +++++ webassembly/beta_03_ie.html | 54 +++++ webassembly/beta_03_ja.html | 54 +++++ webassembly/beta_03_pt-br.html | 53 +++++ webassembly/beta_03_ro.html | 54 +++++ webassembly/beta_04_en.html | 55 +++++ webassembly/beta_04_en_c.html | 55 +++++ webassembly/beta_04_fr.html | 57 +++++ webassembly/beta_04_fr_c.html | 57 +++++ webassembly/beta_04_ie.html | 55 +++++ webassembly/beta_04_ja.html | 55 +++++ webassembly/beta_04_pt-br.html | 53 +++++ webassembly/beta_04_ro.html | 55 +++++ webassembly/beta_05_en.html | 54 +++++ webassembly/beta_05_en_c.html | 54 +++++ webassembly/beta_05_fr.html | 56 +++++ webassembly/beta_05_fr_c.html | 56 +++++ webassembly/beta_05_ie.html | 54 +++++ webassembly/beta_05_ja.html | 54 +++++ webassembly/beta_05_pt-br.html | 53 +++++ webassembly/beta_05_ro.html | 54 +++++ webassembly/beta_06_en.html | 56 +++++ webassembly/beta_06_en_c.html | 56 +++++ webassembly/beta_06_fr.html | 56 +++++ webassembly/beta_06_fr_c.html | 56 +++++ webassembly/beta_06_ie.html | 56 +++++ webassembly/beta_06_ja.html | 55 +++++ webassembly/beta_06_pt-br.html | 54 +++++ webassembly/beta_06_ro.html | 56 +++++ webassembly/beta_07_en.html | 52 +++++ webassembly/beta_07_en_c.html | 52 +++++ webassembly/beta_07_fr.html | 54 +++++ webassembly/beta_07_fr_c.html | 54 +++++ webassembly/beta_07_ja.html | 52 +++++ webassembly/beta_07_pt-br.html | 51 +++++ webassembly/beta_07_ro.html | 52 +++++ webassembly/beta_09_en.html | 56 +++++ webassembly/beta_09_en_c.html | 54 +++++ webassembly/beta_09_fr.html | 56 +++++ webassembly/beta_09_fr_c.html | 54 +++++ webassembly/beta_09_ja.html | 55 +++++ webassembly/beta_09_pt-br.html | 55 +++++ webassembly/beta_09_ro.html | 56 +++++ webassembly/beta_10_en.html | 57 +++++ webassembly/beta_10_en_c.html | 57 +++++ webassembly/beta_10_fr.html | 57 +++++ webassembly/beta_10_fr_c.html | 57 +++++ webassembly/beta_10_ja.html | 57 +++++ webassembly/beta_10_pt-br.html | 57 +++++ webassembly/beta_10_ro.html | 57 +++++ webassembly/beta_11_en.html | 55 +++++ webassembly/beta_11_en_c.html | 55 +++++ webassembly/beta_11_fr.html | 56 +++++ webassembly/beta_11_fr_c.html | 56 +++++ webassembly/beta_11_ja.html | 54 +++++ webassembly/beta_11_pt-br.html | 54 +++++ webassembly/beta_11_ro.html | 55 +++++ webassembly/beta_12_en.html | 66 ++++++ webassembly/beta_12_en_c.html | 66 ++++++ webassembly/beta_12_fr.html | 67 ++++++ webassembly/beta_12_fr_c.html | 67 ++++++ webassembly/beta_12_ja.html | 66 ++++++ webassembly/beta_12_pt-br.html | 53 +++++ webassembly/beta_12_ro.html | 68 ++++++ webassembly/beta_13_en.html | 68 ++++++ webassembly/beta_13_en_c.html | 68 ++++++ webassembly/beta_13_fr.html | 71 ++++++ webassembly/beta_13_fr_c.html | 71 ++++++ webassembly/beta_13_ja.html | 66 ++++++ webassembly/beta_13_pt-br.html | 53 +++++ webassembly/beta_13_ro.html | 68 ++++++ webassembly/beta_14_en.html | 69 ++++++ webassembly/beta_14_en_c.html | 69 ++++++ webassembly/beta_14_fr.html | 71 ++++++ webassembly/beta_14_fr_c.html | 71 ++++++ webassembly/beta_14_ja.html | 69 ++++++ webassembly/beta_14_pt-br.html | 68 ++++++ webassembly/beta_14_ro.html | 69 ++++++ webassembly/beta_15_en.html | 78 +++++++ webassembly/beta_15_en_c.html | 78 +++++++ webassembly/beta_15_fr.html | 81 +++++++ webassembly/beta_15_fr_c.html | 81 +++++++ webassembly/beta_15_ja.html | 78 +++++++ webassembly/beta_15_pt-br.html | 65 ++++++ webassembly/beta_15_ro.html | 78 +++++++ webassembly/beta_16_en.html | 56 +++++ webassembly/beta_16_en_c.html | 56 +++++ webassembly/beta_16_fr.html | 59 +++++ webassembly/beta_16_fr_c.html | 59 +++++ webassembly/beta_16_ja.html | 54 +++++ webassembly/beta_16_pt-br.html | 54 +++++ webassembly/beta_16_ro.html | 55 +++++ webassembly/beta_17_en.html | 55 +++++ webassembly/beta_17_en_c.html | 55 +++++ webassembly/beta_17_fr.html | 61 +++++ webassembly/beta_17_fr_c.html | 59 +++++ webassembly/beta_17_ja.html | 54 +++++ webassembly/beta_17_pt-br.html | 53 +++++ webassembly/beta_17_ro.html | 55 +++++ webassembly/beta_19_en.html | 61 +++++ webassembly/beta_19_fr.html | 66 ++++++ webassembly/beta_19_ja.html | 59 +++++ webassembly/beta_19_pt-br.html | 56 +++++ webassembly/beta_19_ro.html | 59 +++++ webassembly/beta_20_en.html | 56 +++++ webassembly/beta_20_fr.html | 61 +++++ webassembly/beta_20_ja.html | 56 +++++ webassembly/beta_20_pt-br.html | 56 +++++ webassembly/beta_20_ro.html | 56 +++++ webassembly/beta_21_en.html | 62 ++++++ webassembly/beta_21_fr.html | 67 ++++++ webassembly/beta_21_ja.html | 61 +++++ webassembly/beta_21_pt-br.html | 59 +++++ webassembly/beta_21_ro.html | 62 ++++++ webassembly/beta_22_en.html | 68 ++++++ webassembly/beta_22_fr.html | 74 ++++++ webassembly/beta_22_ja.html | 71 ++++++ webassembly/beta_22_pt-br.html | 63 ++++++ webassembly/beta_22_ro.html | 68 ++++++ webassembly/beta_23_en.html | 66 ++++++ webassembly/beta_23_fr.html | 69 ++++++ webassembly/beta_23_ja.html | 69 ++++++ webassembly/beta_23_pt-br.html | 63 ++++++ webassembly/beta_23_ro.html | 66 ++++++ webassembly/beta_24_en.html | 68 ++++++ webassembly/beta_24_fr.html | 71 ++++++ webassembly/beta_24_ja.html | 69 ++++++ webassembly/beta_24_pt-br.html | 64 ++++++ webassembly/beta_24_ro.html | 68 ++++++ webassembly/beta_25_en.html | 78 +++++++ webassembly/beta_25_fr.html | 83 +++++++ webassembly/beta_25_ja.html | 77 +++++++ webassembly/beta_25_pt-br.html | 72 ++++++ webassembly/beta_25_ro.html | 84 +++++++ webassembly/beta_26_en.html | 78 +++++++ webassembly/beta_26_fr.html | 79 +++++++ webassembly/beta_26_ja.html | 80 +++++++ webassembly/beta_26_pt-br.html | 75 +++++++ webassembly/beta_26_ro.html | 78 +++++++ webassembly/beta_27_en.html | 53 +++++ webassembly/beta_27_fr.html | 56 +++++ webassembly/beta_27_ja.html | 53 +++++ webassembly/beta_27_pt-br.html | 51 +++++ webassembly/beta_27_ro.html | 53 +++++ webassembly/beta_chapter_1_en.html | 59 +++++ webassembly/beta_chapter_1_en_c.html | 59 +++++ webassembly/beta_chapter_1_es.html | 63 ++++++ webassembly/beta_chapter_1_fr.html | 66 ++++++ webassembly/beta_chapter_1_fr_c.html | 66 ++++++ webassembly/beta_chapter_1_ie.html | 59 +++++ webassembly/beta_chapter_1_ja.html | 59 +++++ webassembly/beta_chapter_1_pt-br.html | 58 +++++ webassembly/beta_chapter_1_ro.html | 58 +++++ webassembly/beta_chapter_2_en.html | 53 +++++ webassembly/beta_chapter_2_en_c.html | 53 +++++ webassembly/beta_chapter_2_fr.html | 53 +++++ webassembly/beta_chapter_2_fr_c.html | 53 +++++ webassembly/beta_chapter_2_ja.html | 53 +++++ webassembly/beta_chapter_2_pt-br.html | 53 +++++ webassembly/beta_chapter_2_ro.html | 53 +++++ webassembly/beta_chapter_3_en.html | 51 +++++ webassembly/beta_chapter_3_fr.html | 52 +++++ webassembly/beta_chapter_3_ja.html | 51 +++++ webassembly/beta_chapter_3_pt-br.html | 51 +++++ webassembly/beta_chapter_3_ro.html | 51 +++++ webassembly/beta_index.html | 67 ++++++ webassembly/chapter_1_en.html | 59 +++++ webassembly/chapter_1_en_c.html | 59 +++++ webassembly/chapter_1_es.html | 63 ++++++ webassembly/chapter_1_fr.html | 66 ++++++ webassembly/chapter_1_fr_c.html | 66 ++++++ webassembly/chapter_1_ie.html | 59 +++++ webassembly/chapter_1_ja.html | 59 +++++ webassembly/chapter_1_pt-br.html | 58 +++++ webassembly/chapter_1_ro.html | 58 +++++ webassembly/chapter_2_en.html | 53 +++++ webassembly/chapter_2_en_c.html | 53 +++++ webassembly/chapter_2_es.html | 53 +++++ webassembly/chapter_2_fr.html | 53 +++++ webassembly/chapter_2_fr_c.html | 53 +++++ webassembly/chapter_2_ie.html | 53 +++++ webassembly/chapter_2_ja.html | 53 +++++ webassembly/chapter_2_pt-br.html | 53 +++++ webassembly/chapter_2_ro.html | 53 +++++ webassembly/chapter_3_en.html | 51 +++++ webassembly/chapter_3_en_c.html | 51 +++++ webassembly/chapter_3_es.html | 51 +++++ webassembly/chapter_3_fr.html | 52 +++++ webassembly/chapter_3_fr_c.html | 51 +++++ webassembly/chapter_3_ie.html | 51 +++++ webassembly/chapter_3_ja.html | 51 +++++ webassembly/chapter_3_pt-br.html | 51 +++++ webassembly/chapter_3_ro.html | 51 +++++ {docs/webassembly => webassembly}/ferris.png | Bin webassembly/index.html | 67 ++++++ {docs/webassembly => webassembly}/tour.css | 0 5884 files changed, 341303 insertions(+), 48 deletions(-) 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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_ar.html b/00_ar.html new file mode 100644 index 000000000..b295ead8f --- /dev/null +++ b/00_ar.html @@ -0,0 +1,81 @@ + + + + دورة تعلم رست (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..3c0e9531c --- /dev/null +++ b/00_de.html @@ -0,0 +1,83 @@ + + + + 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..316df7ace --- /dev/null +++ b/00_es.html @@ -0,0 +1,83 @@ + + + + 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..f9f2616c7 --- /dev/null +++ b/00_fa.html @@ -0,0 +1,77 @@ + + + + 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..291ac8f33 --- /dev/null +++ b/00_fi.html @@ -0,0 +1,88 @@ + + + + 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..d576de728 --- /dev/null +++ b/00_fr.html @@ -0,0 +1,83 @@ + + + + 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..45c843aa1 --- /dev/null +++ b/00_gr.html @@ -0,0 +1,76 @@ + + + + Ξενάγηση στη 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..c87ff12c6 --- /dev/null +++ b/00_hu.html @@ -0,0 +1,82 @@ + + + + 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..9734ca69d --- /dev/null +++ b/00_id.html @@ -0,0 +1,77 @@ + + + + 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..72f24857f --- /dev/null +++ b/00_ie.html @@ -0,0 +1,53 @@ + + + + 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..4a25fa35e --- /dev/null +++ b/00_it.html @@ -0,0 +1,80 @@ + + + + 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..5a0d048d6 --- /dev/null +++ b/00_ja.html @@ -0,0 +1,81 @@ + + + + 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..60167d660 --- /dev/null +++ b/00_ko.html @@ -0,0 +1,77 @@ + + + + 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_pl.html b/00_pl.html new file mode 100644 index 000000000..bc1e9c16c --- /dev/null +++ b/00_pl.html @@ -0,0 +1,75 @@ + + + + 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..97f0f3419 --- /dev/null +++ b/00_pt-br.html @@ -0,0 +1,77 @@ + + + + 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..3c19e04e0 --- /dev/null +++ b/00_ro.html @@ -0,0 +1,86 @@ + + + + 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..8b8818a5c --- /dev/null +++ b/00_ru.html @@ -0,0 +1,80 @@ + + + + Тур по 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..8d67d6a10 --- /dev/null +++ b/00_th.html @@ -0,0 +1,76 @@ + + + + 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..f52cae653 --- /dev/null +++ b/00_tr.html @@ -0,0 +1,75 @@ + + + + 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..7deb76218 --- /dev/null +++ b/00_ua.html @@ -0,0 +1,76 @@ + + + + Тур по 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..efe15e23d --- /dev/null +++ b/00_vi.html @@ -0,0 +1,80 @@ + + + + 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..375101739 --- /dev/null +++ b/00_zh-cn.html @@ -0,0 +1,77 @@ + + + + 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..6db693b41 --- /dev/null +++ b/00_zh-tw.html @@ -0,0 +1,77 @@ + + + + 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_ar.html b/02_ar.html new file mode 100644 index 000000000..f819d7fc4 --- /dev/null +++ b/02_ar.html @@ -0,0 +1,54 @@ + + + + دورة تعلم رست (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..66f5e1fc3 --- /dev/null +++ b/02_de.html @@ -0,0 +1,55 @@ + + + + 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..a81f75772 --- /dev/null +++ b/02_en.html @@ -0,0 +1,54 @@ + + + + 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..4eda00417 --- /dev/null +++ b/02_es.html @@ -0,0 +1,54 @@ + + + + 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..3c83db943 --- /dev/null +++ b/02_fa.html @@ -0,0 +1,54 @@ + + + + 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..e5bdd8ae1 --- /dev/null +++ b/02_fi.html @@ -0,0 +1,54 @@ + + + + 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..72e12170f --- /dev/null +++ b/02_fr.html @@ -0,0 +1,54 @@ + + + + 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..37f9185c7 --- /dev/null +++ b/02_gr.html @@ -0,0 +1,54 @@ + + + + Ξενάγηση στη 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..51c2eede6 --- /dev/null +++ b/02_hu.html @@ -0,0 +1,56 @@ + + + + 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..a0868c6fc --- /dev/null +++ b/02_id.html @@ -0,0 +1,54 @@ + + + + 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..19c162554 --- /dev/null +++ b/02_ie.html @@ -0,0 +1,53 @@ + + + + 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..7c26613b4 --- /dev/null +++ b/02_it.html @@ -0,0 +1,54 @@ + + + + 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..22a78eb4c --- /dev/null +++ b/02_ja.html @@ -0,0 +1,54 @@ + + + + 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..7ce93f836 --- /dev/null +++ b/02_ko.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rust 놀이터

+

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

+

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

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/02_pl.html b/02_pl.html new file mode 100644 index 000000000..c68e9b3d3 --- /dev/null +++ b/02_pl.html @@ -0,0 +1,54 @@ + + + + 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..92d4e1baf --- /dev/null +++ b/02_pt-br.html @@ -0,0 +1,54 @@ + + + + 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..d90276510 --- /dev/null +++ b/02_ro.html @@ -0,0 +1,54 @@ + + + + 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..85e202672 --- /dev/null +++ b/02_ru.html @@ -0,0 +1,54 @@ + + + + Тур по 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..33b3b4ff8 --- /dev/null +++ b/02_th.html @@ -0,0 +1,54 @@ + + + + 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..275cd7ac0 --- /dev/null +++ b/02_tr.html @@ -0,0 +1,54 @@ + + + + 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..03c4a881a --- /dev/null +++ b/02_ua.html @@ -0,0 +1,54 @@ + + + + Тур по 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..0acd3b473 --- /dev/null +++ b/02_vi.html @@ -0,0 +1,54 @@ + + + + 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..62f404d7c --- /dev/null +++ b/02_zh-cn.html @@ -0,0 +1,54 @@ + + + + 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..a9c765f13 --- /dev/null +++ b/02_zh-tw.html @@ -0,0 +1,54 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

The Rust Playground (Rust 語言遊樂場)

+

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

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/03_ar.html b/03_ar.html new file mode 100644 index 000000000..5ddb13d9d --- /dev/null +++ b/03_ar.html @@ -0,0 +1,57 @@ + + + + دورة تعلم رست (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..b44327f64 --- /dev/null +++ b/03_de.html @@ -0,0 +1,53 @@ + + + + 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..b72705cd6 --- /dev/null +++ b/03_en.html @@ -0,0 +1,58 @@ + + + + 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..0e50c42db --- /dev/null +++ b/03_es.html @@ -0,0 +1,58 @@ + + + + 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..d268f5660 --- /dev/null +++ b/03_fa.html @@ -0,0 +1,58 @@ + + + + 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..f11b33eac --- /dev/null +++ b/03_fi.html @@ -0,0 +1,56 @@ + + + + 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..8c3463b54 --- /dev/null +++ b/03_fr.html @@ -0,0 +1,59 @@ + + + + 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..aa83bf255 --- /dev/null +++ b/03_gr.html @@ -0,0 +1,56 @@ + + + + Ξενάγηση στη 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..a59b8812b --- /dev/null +++ b/03_hu.html @@ -0,0 +1,58 @@ + + + + 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..842d4a2a4 --- /dev/null +++ b/03_id.html @@ -0,0 +1,56 @@ + + + + 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..92d87f9ff --- /dev/null +++ b/03_ie.html @@ -0,0 +1,53 @@ + + + + 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..5da39e421 --- /dev/null +++ b/03_it.html @@ -0,0 +1,58 @@ + + + + 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..e6c407159 --- /dev/null +++ b/03_ja.html @@ -0,0 +1,57 @@ + + + + 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..14c9e47d5 --- /dev/null +++ b/03_ko.html @@ -0,0 +1,58 @@ + + + + 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_pl.html b/03_pl.html new file mode 100644 index 000000000..52ec4a3dd --- /dev/null +++ b/03_pl.html @@ -0,0 +1,57 @@ + + + + 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..80fbcc938 --- /dev/null +++ b/03_pt-br.html @@ -0,0 +1,57 @@ + + + + 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..6ae7435d9 --- /dev/null +++ b/03_ro.html @@ -0,0 +1,58 @@ + + + + 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..5cbcff3a6 --- /dev/null +++ b/03_ru.html @@ -0,0 +1,56 @@ + + + + Тур по 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..1dc2a781c --- /dev/null +++ b/03_th.html @@ -0,0 +1,56 @@ + + + + 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..eda10c6f7 --- /dev/null +++ b/03_tr.html @@ -0,0 +1,56 @@ + + + + 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..2766ff80f --- /dev/null +++ b/03_ua.html @@ -0,0 +1,56 @@ + + + + Тур по 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..9995d0bdf --- /dev/null +++ b/03_vi.html @@ -0,0 +1,56 @@ + + + + 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..c76a9b6ef --- /dev/null +++ b/03_zh-cn.html @@ -0,0 +1,56 @@ + + + + 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..1463dc628 --- /dev/null +++ b/03_zh-tw.html @@ -0,0 +1,56 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

變量 (Variables)

+

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

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/04_ar.html b/04_ar.html new file mode 100644 index 000000000..7cea0136f --- /dev/null +++ b/04_ar.html @@ -0,0 +1,59 @@ + + + + دورة تعلم رست (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..66dcc24eb --- /dev/null +++ b/04_de.html @@ -0,0 +1,62 @@ + + + + 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..968939079 --- /dev/null +++ b/04_en.html @@ -0,0 +1,60 @@ + + + + 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..8143acbd2 --- /dev/null +++ b/04_es.html @@ -0,0 +1,60 @@ + + + + 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..73c92d698 --- /dev/null +++ b/04_fa.html @@ -0,0 +1,60 @@ + + + + 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..d33b8d4ac --- /dev/null +++ b/04_fi.html @@ -0,0 +1,59 @@ + + + + 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..985414138 --- /dev/null +++ b/04_fr.html @@ -0,0 +1,60 @@ + + + + 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..0b89a3032 --- /dev/null +++ b/04_gr.html @@ -0,0 +1,59 @@ + + + + Ξενάγηση στη 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..db88921f8 --- /dev/null +++ b/04_hu.html @@ -0,0 +1,62 @@ + + + + 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..32f2cdb49 --- /dev/null +++ b/04_id.html @@ -0,0 +1,59 @@ + + + + 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..3fd9b5311 --- /dev/null +++ b/04_ie.html @@ -0,0 +1,53 @@ + + + + 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..a6bb9cb8c --- /dev/null +++ b/04_it.html @@ -0,0 +1,60 @@ + + + + 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..8544a65d8 --- /dev/null +++ b/04_ja.html @@ -0,0 +1,59 @@ + + + + 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..605760a8f --- /dev/null +++ b/04_ko.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

변수의 값 변경하기

+

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

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

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

+

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

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/04_pl.html b/04_pl.html new file mode 100644 index 000000000..91e9a5fa9 --- /dev/null +++ b/04_pl.html @@ -0,0 +1,59 @@ + + + + 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..2ad017fb9 --- /dev/null +++ b/04_pt-br.html @@ -0,0 +1,59 @@ + + + + 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..0a04ede91 --- /dev/null +++ b/04_ro.html @@ -0,0 +1,60 @@ + + + + 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..50994907d --- /dev/null +++ b/04_ru.html @@ -0,0 +1,59 @@ + + + + Тур по 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..56e6dc062 --- /dev/null +++ b/04_th.html @@ -0,0 +1,59 @@ + + + + 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..24931d70d --- /dev/null +++ b/04_tr.html @@ -0,0 +1,59 @@ + + + + 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..9c5d3d1e3 --- /dev/null +++ b/04_ua.html @@ -0,0 +1,59 @@ + + + + Тур по 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..5c8279d3b --- /dev/null +++ b/04_vi.html @@ -0,0 +1,59 @@ + + + + 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..39af94019 --- /dev/null +++ b/04_zh-cn.html @@ -0,0 +1,59 @@ + + + + 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..0cefe1af2 --- /dev/null +++ b/04_zh-tw.html @@ -0,0 +1,59 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

改變變數的值

+

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

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

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

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/05_ar.html b/05_ar.html new file mode 100644 index 000000000..1f54f0b70 --- /dev/null +++ b/05_ar.html @@ -0,0 +1,70 @@ + + + + دورة تعلم رست (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..c119a213e --- /dev/null +++ b/05_de.html @@ -0,0 +1,71 @@ + + + + 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..89f561286 --- /dev/null +++ b/05_en.html @@ -0,0 +1,70 @@ + + + + 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..de7beafc8 --- /dev/null +++ b/05_es.html @@ -0,0 +1,66 @@ + + + + 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..5bfec4f82 --- /dev/null +++ b/05_fa.html @@ -0,0 +1,69 @@ + + + + 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..f98b3f386 --- /dev/null +++ b/05_fi.html @@ -0,0 +1,67 @@ + + + + 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..37419bcdd --- /dev/null +++ b/05_fr.html @@ -0,0 +1,71 @@ + + + + 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..76f378f0a --- /dev/null +++ b/05_gr.html @@ -0,0 +1,66 @@ + + + + Ξενάγηση στη 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..9e867246e --- /dev/null +++ b/05_hu.html @@ -0,0 +1,78 @@ + + + + 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..889de5072 --- /dev/null +++ b/05_id.html @@ -0,0 +1,69 @@ + + + + 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..8868e7104 --- /dev/null +++ b/05_ie.html @@ -0,0 +1,53 @@ + + + + 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..c5bc64e4c --- /dev/null +++ b/05_it.html @@ -0,0 +1,68 @@ + + + + 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..36212814b --- /dev/null +++ b/05_ja.html @@ -0,0 +1,67 @@ + + + + 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..778b14bd6 --- /dev/null +++ b/05_ko.html @@ -0,0 +1,68 @@ + + + + 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_pl.html b/05_pl.html new file mode 100644 index 000000000..11494ce9e --- /dev/null +++ b/05_pl.html @@ -0,0 +1,66 @@ + + + + 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..8c3b28771 --- /dev/null +++ b/05_pt-br.html @@ -0,0 +1,66 @@ + + + + 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..1cc79dbf1 --- /dev/null +++ b/05_ro.html @@ -0,0 +1,70 @@ + + + + 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..91b3d2c9f --- /dev/null +++ b/05_ru.html @@ -0,0 +1,66 @@ + + + + Тур по 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..776fa5351 --- /dev/null +++ b/05_th.html @@ -0,0 +1,67 @@ + + + + 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..e894714e7 --- /dev/null +++ b/05_tr.html @@ -0,0 +1,66 @@ + + + + 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..ca871c62d --- /dev/null +++ b/05_ua.html @@ -0,0 +1,66 @@ + + + + Тур по 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..30ca477b7 --- /dev/null +++ b/05_vi.html @@ -0,0 +1,68 @@ + + + + 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..b1c2b0a25 --- /dev/null +++ b/05_zh-cn.html @@ -0,0 +1,67 @@ + + + + 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..dcaf436ec --- /dev/null +++ b/05_zh-tw.html @@ -0,0 +1,68 @@ + + + + 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_ar.html b/06_ar.html new file mode 100644 index 000000000..a3b573d87 --- /dev/null +++ b/06_ar.html @@ -0,0 +1,54 @@ + + + + دورة تعلم رست (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..32b3acf70 --- /dev/null +++ b/06_de.html @@ -0,0 +1,56 @@ + + + + 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..88e7432bd --- /dev/null +++ b/06_en.html @@ -0,0 +1,56 @@ + + + + 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..c220aad46 --- /dev/null +++ b/06_es.html @@ -0,0 +1,54 @@ + + + + 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..19861f210 --- /dev/null +++ b/06_fa.html @@ -0,0 +1,56 @@ + + + + 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..1dbfce23d --- /dev/null +++ b/06_fi.html @@ -0,0 +1,54 @@ + + + + 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..34456fda9 --- /dev/null +++ b/06_fr.html @@ -0,0 +1,55 @@ + + + + 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..8cfab079e --- /dev/null +++ b/06_gr.html @@ -0,0 +1,54 @@ + + + + Ξενάγηση στη 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..b468ea903 --- /dev/null +++ b/06_hu.html @@ -0,0 +1,55 @@ + + + + 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..1e3b29ede --- /dev/null +++ b/06_id.html @@ -0,0 +1,56 @@ + + + + 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..d463ef9dd --- /dev/null +++ b/06_ie.html @@ -0,0 +1,53 @@ + + + + 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..50ba81d48 --- /dev/null +++ b/06_it.html @@ -0,0 +1,55 @@ + + + + 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..c9ebb072c --- /dev/null +++ b/06_ja.html @@ -0,0 +1,54 @@ + + + + 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..82e7855c6 --- /dev/null +++ b/06_ko.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

기본 자료형 변환

+

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

+

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

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/06_pl.html b/06_pl.html new file mode 100644 index 000000000..d23bf1b35 --- /dev/null +++ b/06_pl.html @@ -0,0 +1,54 @@ + + + + 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..7fd029822 --- /dev/null +++ b/06_pt-br.html @@ -0,0 +1,54 @@ + + + + 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..792ed5a59 --- /dev/null +++ b/06_ro.html @@ -0,0 +1,56 @@ + + + + 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..afeac2e7f --- /dev/null +++ b/06_ru.html @@ -0,0 +1,54 @@ + + + + Тур по 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..9947e9a70 --- /dev/null +++ b/06_th.html @@ -0,0 +1,54 @@ + + + + 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..6fb743da5 --- /dev/null +++ b/06_tr.html @@ -0,0 +1,54 @@ + + + + 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..6fa0bf685 --- /dev/null +++ b/06_ua.html @@ -0,0 +1,54 @@ + + + + Тур по 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..b18995af1 --- /dev/null +++ b/06_vi.html @@ -0,0 +1,54 @@ + + + + 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..a4cc94a51 --- /dev/null +++ b/06_zh-cn.html @@ -0,0 +1,54 @@ + + + + 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..68f1082df --- /dev/null +++ b/06_zh-tw.html @@ -0,0 +1,54 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

基本的數據類型轉換

+

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

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/07_ar.html b/07_ar.html new file mode 100644 index 000000000..d40ca775b --- /dev/null +++ b/07_ar.html @@ -0,0 +1,55 @@ + + + + دورة تعلم رست (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..081d253ff --- /dev/null +++ b/07_de.html @@ -0,0 +1,57 @@ + + + + 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..dfd65b16b --- /dev/null +++ b/07_en.html @@ -0,0 +1,58 @@ + + + + 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..16a3deb3a --- /dev/null +++ b/07_es.html @@ -0,0 +1,55 @@ + + + + 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..fc01eba2e --- /dev/null +++ b/07_fa.html @@ -0,0 +1,58 @@ + + + + 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..c9c6c2410 --- /dev/null +++ b/07_fi.html @@ -0,0 +1,55 @@ + + + + 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..07a3cd03c --- /dev/null +++ b/07_fr.html @@ -0,0 +1,58 @@ + + + + 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..6d0ec0ad8 --- /dev/null +++ b/07_gr.html @@ -0,0 +1,55 @@ + + + + Ξενάγηση στη 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..0c20e6a38 --- /dev/null +++ b/07_hu.html @@ -0,0 +1,57 @@ + + + + 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..c399adf89 --- /dev/null +++ b/07_id.html @@ -0,0 +1,60 @@ + + + + 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..ce83164cf --- /dev/null +++ b/07_ie.html @@ -0,0 +1,53 @@ + + + + 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..b874f1a64 --- /dev/null +++ b/07_it.html @@ -0,0 +1,56 @@ + + + + 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..8a333dcd3 --- /dev/null +++ b/07_ja.html @@ -0,0 +1,56 @@ + + + + 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..2eb5af6a3 --- /dev/null +++ b/07_ko.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

상수

+

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

+

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

+

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

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/07_pl.html b/07_pl.html new file mode 100644 index 000000000..352fcc0f6 --- /dev/null +++ b/07_pl.html @@ -0,0 +1,55 @@ + + + + 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..ea1604d70 --- /dev/null +++ b/07_pt-br.html @@ -0,0 +1,55 @@ + + + + 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..9b6374ced --- /dev/null +++ b/07_ro.html @@ -0,0 +1,57 @@ + + + + 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..aea511575 --- /dev/null +++ b/07_ru.html @@ -0,0 +1,55 @@ + + + + Тур по 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..aa1d2c72d --- /dev/null +++ b/07_th.html @@ -0,0 +1,55 @@ + + + + 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..54e0c581a --- /dev/null +++ b/07_tr.html @@ -0,0 +1,54 @@ + + + + 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..19d374034 --- /dev/null +++ b/07_ua.html @@ -0,0 +1,55 @@ + + + + Тур по 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..2307bfdaa --- /dev/null +++ b/07_vi.html @@ -0,0 +1,55 @@ + + + + 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..52eba398b --- /dev/null +++ b/07_zh-cn.html @@ -0,0 +1,55 @@ + + + + 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..79034b106 --- /dev/null +++ b/07_zh-tw.html @@ -0,0 +1,56 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

常數 (Constant)

+

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

+

常數通常是以 SCREAMING_SNAKE_CASE 命名的。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/08_ar.html b/08_ar.html new file mode 100644 index 000000000..7d5fc5622 --- /dev/null +++ b/08_ar.html @@ -0,0 +1,56 @@ + + + + دورة تعلم رست (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..7a8d07e8c --- /dev/null +++ b/08_de.html @@ -0,0 +1,55 @@ + + + + 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..ac8ad433b --- /dev/null +++ b/08_en.html @@ -0,0 +1,56 @@ + + + + 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..e46737abb --- /dev/null +++ b/08_es.html @@ -0,0 +1,55 @@ + + + + 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..6bf285e5f --- /dev/null +++ b/08_fa.html @@ -0,0 +1,55 @@ + + + + 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..8fe92238e --- /dev/null +++ b/08_fi.html @@ -0,0 +1,56 @@ + + + + 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..6ac8f99bd --- /dev/null +++ b/08_fr.html @@ -0,0 +1,58 @@ + + + + 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..179979579 --- /dev/null +++ b/08_gr.html @@ -0,0 +1,55 @@ + + + + Ξενάγηση στη 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..295a6d6be --- /dev/null +++ b/08_hu.html @@ -0,0 +1,58 @@ + + + + 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..14be4a855 --- /dev/null +++ b/08_id.html @@ -0,0 +1,55 @@ + + + + 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..fb52627b7 --- /dev/null +++ b/08_ie.html @@ -0,0 +1,56 @@ + + + + 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..76f3cddd8 --- /dev/null +++ b/08_it.html @@ -0,0 +1,56 @@ + + + + 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..5e99a09fb --- /dev/null +++ b/08_ja.html @@ -0,0 +1,55 @@ + + + + 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..729abbcbe --- /dev/null +++ b/08_ko.html @@ -0,0 +1,55 @@ + + + + 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_pl.html b/08_pl.html new file mode 100644 index 000000000..3d69815d9 --- /dev/null +++ b/08_pl.html @@ -0,0 +1,55 @@ + + + + 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..c37e97e65 --- /dev/null +++ b/08_pt-br.html @@ -0,0 +1,55 @@ + + + + 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..e25f055eb --- /dev/null +++ b/08_ro.html @@ -0,0 +1,56 @@ + + + + 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..6e414565a --- /dev/null +++ b/08_ru.html @@ -0,0 +1,55 @@ + + + + Тур по 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..1b94ff3ec --- /dev/null +++ b/08_th.html @@ -0,0 +1,55 @@ + + + + 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..1b1facb17 --- /dev/null +++ b/08_tr.html @@ -0,0 +1,55 @@ + + + + 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..a37467112 --- /dev/null +++ b/08_ua.html @@ -0,0 +1,55 @@ + + + + Тур по 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..e3d806a5c --- /dev/null +++ b/08_vi.html @@ -0,0 +1,56 @@ + + + + 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..1f2774e85 --- /dev/null +++ b/08_zh-cn.html @@ -0,0 +1,55 @@ + + + + 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..a697b52c6 --- /dev/null +++ b/08_zh-tw.html @@ -0,0 +1,55 @@ + + + + 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_ar.html b/09_ar.html new file mode 100644 index 000000000..18ff0fb42 --- /dev/null +++ b/09_ar.html @@ -0,0 +1,57 @@ + + + + دورة تعلم رست (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..bcf8b2d10 --- /dev/null +++ b/09_de.html @@ -0,0 +1,56 @@ + + + + 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..dec37bf7c --- /dev/null +++ b/09_en.html @@ -0,0 +1,57 @@ + + + + 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..9e9048a4b --- /dev/null +++ b/09_es.html @@ -0,0 +1,55 @@ + + + + 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..680e33fa1 --- /dev/null +++ b/09_fa.html @@ -0,0 +1,56 @@ + + + + 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..a884ecbb5 --- /dev/null +++ b/09_fi.html @@ -0,0 +1,57 @@ + + + + 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..3e4e4c711 --- /dev/null +++ b/09_fr.html @@ -0,0 +1,56 @@ + + + + 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..859da7b4a --- /dev/null +++ b/09_gr.html @@ -0,0 +1,55 @@ + + + + Ξενάγηση στη 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..b3a5e00fd --- /dev/null +++ b/09_hu.html @@ -0,0 +1,55 @@ + + + + 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..e4d3e702b --- /dev/null +++ b/09_id.html @@ -0,0 +1,55 @@ + + + + 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..443f20362 --- /dev/null +++ b/09_ie.html @@ -0,0 +1,53 @@ + + + + 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..40d90a199 --- /dev/null +++ b/09_it.html @@ -0,0 +1,57 @@ + + + + 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..f8ca35b51 --- /dev/null +++ b/09_ja.html @@ -0,0 +1,55 @@ + + + + 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..6db95e780 --- /dev/null +++ b/09_ko.html @@ -0,0 +1,55 @@ + + + + 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_pl.html b/09_pl.html new file mode 100644 index 000000000..92c973010 --- /dev/null +++ b/09_pl.html @@ -0,0 +1,55 @@ + + + + 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..b442c4881 --- /dev/null +++ b/09_pt-br.html @@ -0,0 +1,55 @@ + + + + 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..24c64dc99 --- /dev/null +++ b/09_ro.html @@ -0,0 +1,57 @@ + + + + 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..03cf84aa1 --- /dev/null +++ b/09_ru.html @@ -0,0 +1,56 @@ + + + + Тур по 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..decf9554e --- /dev/null +++ b/09_th.html @@ -0,0 +1,56 @@ + + + + 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..0c8c19424 --- /dev/null +++ b/09_tr.html @@ -0,0 +1,55 @@ + + + + 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..e29b08807 --- /dev/null +++ b/09_ua.html @@ -0,0 +1,55 @@ + + + + Тур по 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..7148d2471 --- /dev/null +++ b/09_vi.html @@ -0,0 +1,57 @@ + + + + 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..1344c03f3 --- /dev/null +++ b/09_zh-cn.html @@ -0,0 +1,55 @@ + + + + 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..0b159e45a --- /dev/null +++ b/09_zh-tw.html @@ -0,0 +1,55 @@ + + + + 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_ar.html b/100_ar.html new file mode 100644 index 000000000..bd6a7d739 --- /dev/null +++ b/100_ar.html @@ -0,0 +1,54 @@ + + + + دورة تعلم رست (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..b8ad81e26 --- /dev/null +++ b/100_de.html @@ -0,0 +1,56 @@ + + + + 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..7684d6430 --- /dev/null +++ b/100_en.html @@ -0,0 +1,56 @@ + + + + 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..b01dd6580 --- /dev/null +++ b/100_es.html @@ -0,0 +1,54 @@ + + + + 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..21d9fcec3 --- /dev/null +++ b/100_fa.html @@ -0,0 +1,56 @@ + + + + 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..ac9185173 --- /dev/null +++ b/100_fi.html @@ -0,0 +1,56 @@ + + + + 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..4c9c24217 --- /dev/null +++ b/100_fr.html @@ -0,0 +1,57 @@ + + + + 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..1634da5bd --- /dev/null +++ b/100_gr.html @@ -0,0 +1,56 @@ + + + + Ξενάγηση στη 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..80d5efc4c --- /dev/null +++ b/100_hu.html @@ -0,0 +1,56 @@ + + + + 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..42b1b9ecd --- /dev/null +++ b/100_id.html @@ -0,0 +1,56 @@ + + + + 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..47e4688f4 --- /dev/null +++ b/100_ie.html @@ -0,0 +1,55 @@ + + + + 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..d09c05426 --- /dev/null +++ b/100_it.html @@ -0,0 +1,56 @@ + + + + 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..d891e7fad --- /dev/null +++ b/100_ja.html @@ -0,0 +1,56 @@ + + + + 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..bddf4323e --- /dev/null +++ b/100_ko.html @@ -0,0 +1,55 @@ + + + + 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_pl.html b/100_pl.html new file mode 100644 index 000000000..1675f29ad --- /dev/null +++ b/100_pl.html @@ -0,0 +1,56 @@ + + + + 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..958eff5e0 --- /dev/null +++ b/100_pt-br.html @@ -0,0 +1,54 @@ + + + + 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..0e8d69d9b --- /dev/null +++ b/100_ro.html @@ -0,0 +1,56 @@ + + + + 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..58e8d79df --- /dev/null +++ b/100_ru.html @@ -0,0 +1,54 @@ + + + + Тур по 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..33ede1a79 --- /dev/null +++ b/100_th.html @@ -0,0 +1,54 @@ + + + + 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..a610754de --- /dev/null +++ b/100_tr.html @@ -0,0 +1,54 @@ + + + + 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..483bd9afc --- /dev/null +++ b/100_ua.html @@ -0,0 +1,56 @@ + + + + Тур по 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..70daeec9f --- /dev/null +++ b/100_vi.html @@ -0,0 +1,54 @@ + + + + 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..50baf1ca4 --- /dev/null +++ b/100_zh-cn.html @@ -0,0 +1,54 @@ + + + + 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..f1e6b656b --- /dev/null +++ b/100_zh-tw.html @@ -0,0 +1,56 @@ + + + + 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_ar.html b/101_ar.html new file mode 100644 index 000000000..5b6b3588f --- /dev/null +++ b/101_ar.html @@ -0,0 +1,55 @@ + + + + دورة تعلم رست (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..44ebf29d8 --- /dev/null +++ b/101_de.html @@ -0,0 +1,58 @@ + + + + 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..738d04b83 --- /dev/null +++ b/101_en.html @@ -0,0 +1,58 @@ + + + + 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..c0e1002ad --- /dev/null +++ b/101_es.html @@ -0,0 +1,55 @@ + + + + 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..a0ef78208 --- /dev/null +++ b/101_fa.html @@ -0,0 +1,58 @@ + + + + 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..36cf1ad9b --- /dev/null +++ b/101_fi.html @@ -0,0 +1,58 @@ + + + + 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..33b02bb11 --- /dev/null +++ b/101_fr.html @@ -0,0 +1,59 @@ + + + + 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..948ff1304 --- /dev/null +++ b/101_gr.html @@ -0,0 +1,58 @@ + + + + Ξενάγηση στη 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..ab8cd0134 --- /dev/null +++ b/101_hu.html @@ -0,0 +1,59 @@ + + + + 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..f6edf8cd4 --- /dev/null +++ b/101_id.html @@ -0,0 +1,58 @@ + + + + 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..891721f03 --- /dev/null +++ b/101_ie.html @@ -0,0 +1,58 @@ + + + + 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..886a3c8f1 --- /dev/null +++ b/101_it.html @@ -0,0 +1,58 @@ + + + + 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..515974b5c --- /dev/null +++ b/101_ja.html @@ -0,0 +1,58 @@ + + + + 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..0803ff2db --- /dev/null +++ b/101_ko.html @@ -0,0 +1,57 @@ + + + + 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_pl.html b/101_pl.html new file mode 100644 index 000000000..67f164606 --- /dev/null +++ b/101_pl.html @@ -0,0 +1,58 @@ + + + + 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..2ad2cf154 --- /dev/null +++ b/101_pt-br.html @@ -0,0 +1,55 @@ + + + + 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..ab3575cd4 --- /dev/null +++ b/101_ro.html @@ -0,0 +1,57 @@ + + + + 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..a7382d8dd --- /dev/null +++ b/101_ru.html @@ -0,0 +1,55 @@ + + + + Тур по 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..4eec0ff1c --- /dev/null +++ b/101_th.html @@ -0,0 +1,56 @@ + + + + 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..cdf780157 --- /dev/null +++ b/101_tr.html @@ -0,0 +1,55 @@ + + + + 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..dcedea609 --- /dev/null +++ b/101_ua.html @@ -0,0 +1,58 @@ + + + + Тур по 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..2fdab4531 --- /dev/null +++ b/101_vi.html @@ -0,0 +1,55 @@ + + + + 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..65b0ac5d4 --- /dev/null +++ b/101_zh-cn.html @@ -0,0 +1,55 @@ + + + + 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..e75161052 --- /dev/null +++ b/101_zh-tw.html @@ -0,0 +1,58 @@ + + + + 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_ar.html b/102_ar.html new file mode 100644 index 000000000..5145f49d7 --- /dev/null +++ b/102_ar.html @@ -0,0 +1,55 @@ + + + + دورة تعلم رست (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..5bf3de195 --- /dev/null +++ b/102_de.html @@ -0,0 +1,60 @@ + + + + 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..f531351f1 --- /dev/null +++ b/102_en.html @@ -0,0 +1,60 @@ + + + + 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..c483e50da --- /dev/null +++ b/102_es.html @@ -0,0 +1,55 @@ + + + + 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..a421ded62 --- /dev/null +++ b/102_fa.html @@ -0,0 +1,60 @@ + + + + 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..5693ae677 --- /dev/null +++ b/102_fi.html @@ -0,0 +1,60 @@ + + + + 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..aefe1a9ad --- /dev/null +++ b/102_fr.html @@ -0,0 +1,65 @@ + + + + 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..61a9bbe92 --- /dev/null +++ b/102_gr.html @@ -0,0 +1,60 @@ + + + + Ξενάγηση στη 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..8ebac2daa --- /dev/null +++ b/102_hu.html @@ -0,0 +1,63 @@ + + + + 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..66ef9901f --- /dev/null +++ b/102_id.html @@ -0,0 +1,60 @@ + + + + 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..c6e2b07c5 --- /dev/null +++ b/102_ie.html @@ -0,0 +1,59 @@ + + + + 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..9e40f642c --- /dev/null +++ b/102_it.html @@ -0,0 +1,60 @@ + + + + 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..df24d7618 --- /dev/null +++ b/102_ja.html @@ -0,0 +1,60 @@ + + + + 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..7eadc5727 --- /dev/null +++ b/102_ko.html @@ -0,0 +1,60 @@ + + + + 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_pl.html b/102_pl.html new file mode 100644 index 000000000..1a9adebb9 --- /dev/null +++ b/102_pl.html @@ -0,0 +1,60 @@ + + + + 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..e66968f7e --- /dev/null +++ b/102_pt-br.html @@ -0,0 +1,55 @@ + + + + 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..5540f2a99 --- /dev/null +++ b/102_ro.html @@ -0,0 +1,59 @@ + + + + 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..af057cdb9 --- /dev/null +++ b/102_ru.html @@ -0,0 +1,56 @@ + + + + Тур по 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..3d588b050 --- /dev/null +++ b/102_th.html @@ -0,0 +1,56 @@ + + + + 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..8c63db6d5 --- /dev/null +++ b/102_tr.html @@ -0,0 +1,55 @@ + + + + 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..35d3112a5 --- /dev/null +++ b/102_ua.html @@ -0,0 +1,60 @@ + + + + Тур по 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..3d60774e4 --- /dev/null +++ b/102_vi.html @@ -0,0 +1,56 @@ + + + + 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..0386565d5 --- /dev/null +++ b/102_zh-cn.html @@ -0,0 +1,55 @@ + + + + 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..b3d35cb27 --- /dev/null +++ b/102_zh-tw.html @@ -0,0 +1,60 @@ + + + + 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_ar.html b/103_ar.html new file mode 100644 index 000000000..5d0d9be2f --- /dev/null +++ b/103_ar.html @@ -0,0 +1,60 @@ + + + + دورة تعلم رست (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..e82f243dc --- /dev/null +++ b/103_de.html @@ -0,0 +1,62 @@ + + + + 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..9df2b8993 --- /dev/null +++ b/103_en.html @@ -0,0 +1,62 @@ + + + + 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..908ec2782 --- /dev/null +++ b/103_es.html @@ -0,0 +1,60 @@ + + + + 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..41d5e50fd --- /dev/null +++ b/103_fa.html @@ -0,0 +1,62 @@ + + + + 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..d8278cb18 --- /dev/null +++ b/103_fi.html @@ -0,0 +1,62 @@ + + + + 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..29f01e2ac --- /dev/null +++ b/103_fr.html @@ -0,0 +1,74 @@ + + + + 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..d092c80be --- /dev/null +++ b/103_gr.html @@ -0,0 +1,62 @@ + + + + Ξενάγηση στη 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..c53ae7455 --- /dev/null +++ b/103_hu.html @@ -0,0 +1,72 @@ + + + + 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..f58836dcb --- /dev/null +++ b/103_id.html @@ -0,0 +1,62 @@ + + + + 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..5c0427643 --- /dev/null +++ b/103_ie.html @@ -0,0 +1,62 @@ + + + + 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..9f94cdc55 --- /dev/null +++ b/103_it.html @@ -0,0 +1,62 @@ + + + + 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..e9906ccb6 --- /dev/null +++ b/103_ja.html @@ -0,0 +1,62 @@ + + + + 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..2bc7986fb --- /dev/null +++ b/103_ko.html @@ -0,0 +1,60 @@ + + + + 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_pl.html b/103_pl.html new file mode 100644 index 000000000..a64909328 --- /dev/null +++ b/103_pl.html @@ -0,0 +1,62 @@ + + + + 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..0841e876c --- /dev/null +++ b/103_pt-br.html @@ -0,0 +1,60 @@ + + + + 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..87f5860f8 --- /dev/null +++ b/103_ro.html @@ -0,0 +1,62 @@ + + + + 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..8558157bf --- /dev/null +++ b/103_ru.html @@ -0,0 +1,62 @@ + + + + Тур по 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..58df990cf --- /dev/null +++ b/103_th.html @@ -0,0 +1,60 @@ + + + + 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..253aa4366 --- /dev/null +++ b/103_tr.html @@ -0,0 +1,60 @@ + + + + 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..79e2ad9b3 --- /dev/null +++ b/103_ua.html @@ -0,0 +1,60 @@ + + + + Тур по 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..74e7c93c9 --- /dev/null +++ b/103_vi.html @@ -0,0 +1,60 @@ + + + + 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..165498079 --- /dev/null +++ b/103_zh-cn.html @@ -0,0 +1,61 @@ + + + + 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..37c9d35e3 --- /dev/null +++ b/103_zh-tw.html @@ -0,0 +1,62 @@ + + + + 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_ar.html b/104_ar.html new file mode 100644 index 000000000..62ac65247 --- /dev/null +++ b/104_ar.html @@ -0,0 +1,52 @@ + + + + دورة تعلم رست (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..701dd81e4 --- /dev/null +++ b/104_de.html @@ -0,0 +1,55 @@ + + + + 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..2c9b1380a --- /dev/null +++ b/104_en.html @@ -0,0 +1,55 @@ + + + + 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..3091774ff --- /dev/null +++ b/104_es.html @@ -0,0 +1,51 @@ + + + + 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..3cd51414e --- /dev/null +++ b/104_fa.html @@ -0,0 +1,55 @@ + + + + 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..ad656a22d --- /dev/null +++ b/104_fi.html @@ -0,0 +1,55 @@ + + + + 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..ad874e6bf --- /dev/null +++ b/104_fr.html @@ -0,0 +1,55 @@ + + + + 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..abd4b4c76 --- /dev/null +++ b/104_gr.html @@ -0,0 +1,55 @@ + + + + Ξενάγηση στη 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..16893399f --- /dev/null +++ b/104_hu.html @@ -0,0 +1,55 @@ + + + + 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..e7d451123 --- /dev/null +++ b/104_id.html @@ -0,0 +1,55 @@ + + + + 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..0892864a5 --- /dev/null +++ b/104_ie.html @@ -0,0 +1,54 @@ + + + + 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..cff78e636 --- /dev/null +++ b/104_it.html @@ -0,0 +1,55 @@ + + + + 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..ebb95578c --- /dev/null +++ b/104_ja.html @@ -0,0 +1,55 @@ + + + + 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..40f43bb4d --- /dev/null +++ b/104_ko.html @@ -0,0 +1,54 @@ + + + + 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_pl.html b/104_pl.html new file mode 100644 index 000000000..e61f58e50 --- /dev/null +++ b/104_pl.html @@ -0,0 +1,55 @@ + + + + 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..d4955673b --- /dev/null +++ b/104_pt-br.html @@ -0,0 +1,51 @@ + + + + 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..d90a4c4be --- /dev/null +++ b/104_ro.html @@ -0,0 +1,55 @@ + + + + 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..090bb31f8 --- /dev/null +++ b/104_ru.html @@ -0,0 +1,53 @@ + + + + Тур по 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..56140b9fc --- /dev/null +++ b/104_th.html @@ -0,0 +1,52 @@ + + + + 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..55fc7a86d --- /dev/null +++ b/104_tr.html @@ -0,0 +1,52 @@ + + + + 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..87ac934a4 --- /dev/null +++ b/104_ua.html @@ -0,0 +1,52 @@ + + + + Тур по 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..8422477c2 --- /dev/null +++ b/104_vi.html @@ -0,0 +1,51 @@ + + + + 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..f6958f6f8 --- /dev/null +++ b/104_zh-cn.html @@ -0,0 +1,51 @@ + + + + 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..6972f6d1b --- /dev/null +++ b/104_zh-tw.html @@ -0,0 +1,55 @@ + + + + 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_ar.html b/106_ar.html new file mode 100644 index 000000000..c9e911e17 --- /dev/null +++ b/106_ar.html @@ -0,0 +1,55 @@ + + + + دورة تعلم رست (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..eb4373281 --- /dev/null +++ b/106_de.html @@ -0,0 +1,54 @@ + + + + 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..7b1536c53 --- /dev/null +++ b/106_en.html @@ -0,0 +1,55 @@ + + + + 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..4f2babfab --- /dev/null +++ b/106_es.html @@ -0,0 +1,55 @@ + + + + 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..d37e97be2 --- /dev/null +++ b/106_fa.html @@ -0,0 +1,55 @@ + + + + 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..0cbf9941a --- /dev/null +++ b/106_fi.html @@ -0,0 +1,55 @@ + + + + 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..8bf350e8c --- /dev/null +++ b/106_fr.html @@ -0,0 +1,56 @@ + + + + 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..7e26cd020 --- /dev/null +++ b/106_gr.html @@ -0,0 +1,55 @@ + + + + Ξενάγηση στη 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..d6d847e79 --- /dev/null +++ b/106_hu.html @@ -0,0 +1,57 @@ + + + + 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..10a8ed96a --- /dev/null +++ b/106_id.html @@ -0,0 +1,55 @@ + + + + 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..e7829743a --- /dev/null +++ b/106_ie.html @@ -0,0 +1,54 @@ + + + + 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..7cd7952ec --- /dev/null +++ b/106_it.html @@ -0,0 +1,55 @@ + + + + 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..22250b58b --- /dev/null +++ b/106_ja.html @@ -0,0 +1,55 @@ + + + + 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..c382898e1 --- /dev/null +++ b/106_ko.html @@ -0,0 +1,55 @@ + + + + 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_pl.html b/106_pl.html new file mode 100644 index 000000000..783c69fd2 --- /dev/null +++ b/106_pl.html @@ -0,0 +1,55 @@ + + + + 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..448e9ebb0 --- /dev/null +++ b/106_pt-br.html @@ -0,0 +1,55 @@ + + + + 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..27457c4d4 --- /dev/null +++ b/106_ro.html @@ -0,0 +1,55 @@ + + + + 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..bb5d1d029 --- /dev/null +++ b/106_ru.html @@ -0,0 +1,56 @@ + + + + Тур по 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..376057163 --- /dev/null +++ b/106_th.html @@ -0,0 +1,55 @@ + + + + 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..e82296f2b --- /dev/null +++ b/106_tr.html @@ -0,0 +1,56 @@ + + + + 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..f2211344e --- /dev/null +++ b/106_ua.html @@ -0,0 +1,55 @@ + + + + Тур по 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..f389a15f6 --- /dev/null +++ b/106_vi.html @@ -0,0 +1,55 @@ + + + + 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..d54683f9c --- /dev/null +++ b/106_zh-cn.html @@ -0,0 +1,55 @@ + + + + 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..93d47cb2e --- /dev/null +++ b/106_zh-tw.html @@ -0,0 +1,55 @@ + + + + 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_ar.html b/107_ar.html new file mode 100644 index 000000000..3bf8f0281 --- /dev/null +++ b/107_ar.html @@ -0,0 +1,51 @@ + + + + دورة تعلم رست (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..dbc6645de --- /dev/null +++ b/107_de.html @@ -0,0 +1,51 @@ + + + + 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..58060ae72 --- /dev/null +++ b/107_en.html @@ -0,0 +1,51 @@ + + + + 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..a5692f15e --- /dev/null +++ b/107_es.html @@ -0,0 +1,51 @@ + + + + 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..9a7c1aed0 --- /dev/null +++ b/107_fa.html @@ -0,0 +1,51 @@ + + + + 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..665bffa92 --- /dev/null +++ b/107_fi.html @@ -0,0 +1,51 @@ + + + + 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..e9f8a9f11 --- /dev/null +++ b/107_fr.html @@ -0,0 +1,51 @@ + + + + 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..a7ba03eef --- /dev/null +++ b/107_gr.html @@ -0,0 +1,51 @@ + + + + Ξενάγηση στη 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..cd5023f30 --- /dev/null +++ b/107_hu.html @@ -0,0 +1,51 @@ + + + + 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..0bac02e3b --- /dev/null +++ b/107_id.html @@ -0,0 +1,51 @@ + + + + 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..c67d92e23 --- /dev/null +++ b/107_ie.html @@ -0,0 +1,51 @@ + + + + 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..943ec05ef --- /dev/null +++ b/107_it.html @@ -0,0 +1,51 @@ + + + + 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..0465bd0d9 --- /dev/null +++ b/107_ja.html @@ -0,0 +1,51 @@ + + + + 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..5af1d0605 --- /dev/null +++ b/107_ko.html @@ -0,0 +1,51 @@ + + + + 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_pl.html b/107_pl.html new file mode 100644 index 000000000..a98eaa220 --- /dev/null +++ b/107_pl.html @@ -0,0 +1,51 @@ + + + + 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..5af60997c --- /dev/null +++ b/107_pt-br.html @@ -0,0 +1,51 @@ + + + + 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..18c4d99e9 --- /dev/null +++ b/107_ro.html @@ -0,0 +1,51 @@ + + + + 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..d95cd8182 --- /dev/null +++ b/107_ru.html @@ -0,0 +1,51 @@ + + + + Тур по 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..80c8653e9 --- /dev/null +++ b/107_th.html @@ -0,0 +1,51 @@ + + + + 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..d95ec7c2d --- /dev/null +++ b/107_tr.html @@ -0,0 +1,51 @@ + + + + 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..7d8110a1f --- /dev/null +++ b/107_ua.html @@ -0,0 +1,51 @@ + + + + Тур по 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..fba85e155 --- /dev/null +++ b/107_vi.html @@ -0,0 +1,51 @@ + + + + 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..a434a4cda --- /dev/null +++ b/107_zh-cn.html @@ -0,0 +1,51 @@ + + + + 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..6c6bc3b32 --- /dev/null +++ b/107_zh-tw.html @@ -0,0 +1,51 @@ + + + + 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_ar.html b/108_ar.html new file mode 100644 index 000000000..915247657 --- /dev/null +++ b/108_ar.html @@ -0,0 +1,51 @@ + + + + دورة تعلم رست (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..4b6b07a84 --- /dev/null +++ b/108_de.html @@ -0,0 +1,51 @@ + + + + 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..2395dd658 --- /dev/null +++ b/108_en.html @@ -0,0 +1,51 @@ + + + + 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..4434c9e83 --- /dev/null +++ b/108_es.html @@ -0,0 +1,51 @@ + + + + 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..ed5a45ae2 --- /dev/null +++ b/108_fa.html @@ -0,0 +1,51 @@ + + + + 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..84faa6291 --- /dev/null +++ b/108_fi.html @@ -0,0 +1,51 @@ + + + + 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..d51747f5d --- /dev/null +++ b/108_fr.html @@ -0,0 +1,51 @@ + + + + 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..2cef75706 --- /dev/null +++ b/108_gr.html @@ -0,0 +1,51 @@ + + + + Ξενάγηση στη 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..1f2b28aff --- /dev/null +++ b/108_hu.html @@ -0,0 +1,51 @@ + + + + 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..821610944 --- /dev/null +++ b/108_id.html @@ -0,0 +1,51 @@ + + + + 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..8bb8ab1bc --- /dev/null +++ b/108_ie.html @@ -0,0 +1,51 @@ + + + + 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..de3adf4f1 --- /dev/null +++ b/108_it.html @@ -0,0 +1,51 @@ + + + + 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..c59c650e1 --- /dev/null +++ b/108_ja.html @@ -0,0 +1,51 @@ + + + + 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..06c712a16 --- /dev/null +++ b/108_ko.html @@ -0,0 +1,51 @@ + + + + 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_pl.html b/108_pl.html new file mode 100644 index 000000000..fe9c45d59 --- /dev/null +++ b/108_pl.html @@ -0,0 +1,51 @@ + + + + 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..123f78582 --- /dev/null +++ b/108_pt-br.html @@ -0,0 +1,51 @@ + + + + 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..0d58c263d --- /dev/null +++ b/108_ro.html @@ -0,0 +1,51 @@ + + + + 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..481436beb --- /dev/null +++ b/108_ru.html @@ -0,0 +1,51 @@ + + + + Тур по 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..661544338 --- /dev/null +++ b/108_th.html @@ -0,0 +1,51 @@ + + + + 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..f37d5f074 --- /dev/null +++ b/108_tr.html @@ -0,0 +1,51 @@ + + + + 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..9b8dff205 --- /dev/null +++ b/108_ua.html @@ -0,0 +1,51 @@ + + + + Тур по 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..103270809 --- /dev/null +++ b/108_vi.html @@ -0,0 +1,51 @@ + + + + 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..26a359e10 --- /dev/null +++ b/108_zh-cn.html @@ -0,0 +1,51 @@ + + + + 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..764adf4c0 --- /dev/null +++ b/108_zh-tw.html @@ -0,0 +1,51 @@ + + + + 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_ar.html b/109_ar.html new file mode 100644 index 000000000..339b26ab4 --- /dev/null +++ b/109_ar.html @@ -0,0 +1,61 @@ + + + + دورة تعلم رست (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..383077362 --- /dev/null +++ b/109_de.html @@ -0,0 +1,57 @@ + + + + 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..44e84cfe1 --- /dev/null +++ b/109_en.html @@ -0,0 +1,59 @@ + + + + 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..b33f357bc --- /dev/null +++ b/109_es.html @@ -0,0 +1,56 @@ + + + + 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..d8ebba6ce --- /dev/null +++ b/109_fa.html @@ -0,0 +1,59 @@ + + + + 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..fd2b2f5cc --- /dev/null +++ b/109_fi.html @@ -0,0 +1,59 @@ + + + + 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..b3ecd4bc1 --- /dev/null +++ b/109_fr.html @@ -0,0 +1,64 @@ + + + + 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..ff4218909 --- /dev/null +++ b/109_gr.html @@ -0,0 +1,59 @@ + + + + Ξενάγηση στη 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..bc4b1182f --- /dev/null +++ b/109_hu.html @@ -0,0 +1,63 @@ + + + + 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..e1ff9dab3 --- /dev/null +++ b/109_id.html @@ -0,0 +1,59 @@ + + + + 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..05d49944a --- /dev/null +++ b/109_ie.html @@ -0,0 +1,56 @@ + + + + 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..d3518da52 --- /dev/null +++ b/109_it.html @@ -0,0 +1,59 @@ + + + + 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..c5378ff84 --- /dev/null +++ b/109_ja.html @@ -0,0 +1,59 @@ + + + + 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..3829b0cc6 --- /dev/null +++ b/109_ko.html @@ -0,0 +1,59 @@ + + + + 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_pl.html b/109_pl.html new file mode 100644 index 000000000..d17f9b58e --- /dev/null +++ b/109_pl.html @@ -0,0 +1,59 @@ + + + + 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..58ba257bf --- /dev/null +++ b/109_pt-br.html @@ -0,0 +1,56 @@ + + + + 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..8bd3944d4 --- /dev/null +++ b/109_ro.html @@ -0,0 +1,58 @@ + + + + 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..a353d08ed --- /dev/null +++ b/109_ru.html @@ -0,0 +1,56 @@ + + + + Тур по 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..3368d7dcc --- /dev/null +++ b/109_th.html @@ -0,0 +1,57 @@ + + + + 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..0e4a313cf --- /dev/null +++ b/109_tr.html @@ -0,0 +1,56 @@ + + + + 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..c7ca970f1 --- /dev/null +++ b/109_ua.html @@ -0,0 +1,59 @@ + + + + Тур по 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..89a183636 --- /dev/null +++ b/109_vi.html @@ -0,0 +1,56 @@ + + + + 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..d76968b3a --- /dev/null +++ b/109_zh-cn.html @@ -0,0 +1,57 @@ + + + + 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..71c03fef9 --- /dev/null +++ b/109_zh-tw.html @@ -0,0 +1,59 @@ + + + + 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_ar.html b/10_ar.html new file mode 100644 index 000000000..51217f275 --- /dev/null +++ b/10_ar.html @@ -0,0 +1,55 @@ + + + + دورة تعلم رست (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..46b9375cc --- /dev/null +++ b/10_de.html @@ -0,0 +1,56 @@ + + + + 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..fed8cd164 --- /dev/null +++ b/10_en.html @@ -0,0 +1,57 @@ + + + + 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..b4bd4542d --- /dev/null +++ b/10_es.html @@ -0,0 +1,55 @@ + + + + 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..54e043395 --- /dev/null +++ b/10_fa.html @@ -0,0 +1,57 @@ + + + + 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..1e8cc26d1 --- /dev/null +++ b/10_fi.html @@ -0,0 +1,55 @@ + + + + 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..b2677a849 --- /dev/null +++ b/10_fr.html @@ -0,0 +1,56 @@ + + + + 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..5ef7efb52 --- /dev/null +++ b/10_gr.html @@ -0,0 +1,55 @@ + + + + Ξενάγηση στη 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..5be734944 --- /dev/null +++ b/10_hu.html @@ -0,0 +1,56 @@ + + + + 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..85e3f9e0d --- /dev/null +++ b/10_id.html @@ -0,0 +1,57 @@ + + + + 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..dfade6228 --- /dev/null +++ b/10_ie.html @@ -0,0 +1,53 @@ + + + + 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..7472f721a --- /dev/null +++ b/10_it.html @@ -0,0 +1,56 @@ + + + + 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..d548fede0 --- /dev/null +++ b/10_ja.html @@ -0,0 +1,55 @@ + + + + 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..c19f994c2 --- /dev/null +++ b/10_ko.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

여러개의 리턴 값

+

함수는 튜플(tuple)을 리턴함으로써 여러개의 값을 리턴할 수 있습니다.

+

tuple의 원소는 인덱스 숫자를 통해 참조할 수 있습니다.

+

Rust는 데이터 구조의 일부분을 편하게 추출할 수 있도록 해주는 다양한 형태의 분해(destructuring) 방법을 지원합니다. 잘 지켜보세요!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/10_pl.html b/10_pl.html new file mode 100644 index 000000000..46b94b415 --- /dev/null +++ b/10_pl.html @@ -0,0 +1,55 @@ + + + + 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..af6a23fd8 --- /dev/null +++ b/10_pt-br.html @@ -0,0 +1,55 @@ + + + + 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..24ac8c9a0 --- /dev/null +++ b/10_ro.html @@ -0,0 +1,57 @@ + + + + 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..f1971b180 --- /dev/null +++ b/10_ru.html @@ -0,0 +1,55 @@ + + + + Тур по 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..1bd4e7d86 --- /dev/null +++ b/10_th.html @@ -0,0 +1,55 @@ + + + + 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..a6640bd7a --- /dev/null +++ b/10_tr.html @@ -0,0 +1,55 @@ + + + + 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..94cf503c2 --- /dev/null +++ b/10_ua.html @@ -0,0 +1,55 @@ + + + + Тур по 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..1ad12bc84 --- /dev/null +++ b/10_vi.html @@ -0,0 +1,55 @@ + + + + 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..16cacf275 --- /dev/null +++ b/10_zh-cn.html @@ -0,0 +1,55 @@ + + + + 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..e173e0f82 --- /dev/null +++ b/10_zh-tw.html @@ -0,0 +1,55 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

多個回傳值

+

當函數要回傳幾個值的時候,可以把回傳值放到元組(Tuple)回傳。 +元組的元素可以通過索引(Index)來獲取。 +Rust 支持幾種不同的手法來拆解元組, 讓我們可以漂亮的從數據結構中分解出部份有用的值來使用。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/110_ar.html b/110_ar.html new file mode 100644 index 000000000..6bf38ad55 --- /dev/null +++ b/110_ar.html @@ -0,0 +1,54 @@ + + + + دورة تعلم رست (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..a6c1a0c64 --- /dev/null +++ b/110_de.html @@ -0,0 +1,54 @@ + + + + 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..f352b0c30 --- /dev/null +++ b/110_en.html @@ -0,0 +1,54 @@ + + + + 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..22dd8841f --- /dev/null +++ b/110_es.html @@ -0,0 +1,54 @@ + + + + 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..678ca7f22 --- /dev/null +++ b/110_fa.html @@ -0,0 +1,54 @@ + + + + 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..8f434b8c5 --- /dev/null +++ b/110_fi.html @@ -0,0 +1,54 @@ + + + + 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..3002ead0f --- /dev/null +++ b/110_fr.html @@ -0,0 +1,53 @@ + + + + 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..5ef3a0242 --- /dev/null +++ b/110_gr.html @@ -0,0 +1,54 @@ + + + + Ξενάγηση στη 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..f7ef84fa8 --- /dev/null +++ b/110_hu.html @@ -0,0 +1,55 @@ + + + + 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..c047d2bbc --- /dev/null +++ b/110_id.html @@ -0,0 +1,54 @@ + + + + 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..0ca38c30b --- /dev/null +++ b/110_ie.html @@ -0,0 +1,58 @@ + + + + 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..45781999a --- /dev/null +++ b/110_it.html @@ -0,0 +1,54 @@ + + + + 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..e6da49578 --- /dev/null +++ b/110_ja.html @@ -0,0 +1,54 @@ + + + + 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..9d3997d39 --- /dev/null +++ b/110_ko.html @@ -0,0 +1,54 @@ + + + + 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_pl.html b/110_pl.html new file mode 100644 index 000000000..94fb01e6c --- /dev/null +++ b/110_pl.html @@ -0,0 +1,54 @@ + + + + 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..a30da69fa --- /dev/null +++ b/110_pt-br.html @@ -0,0 +1,54 @@ + + + + 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..0b7d70888 --- /dev/null +++ b/110_ro.html @@ -0,0 +1,54 @@ + + + + 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..b8f84c720 --- /dev/null +++ b/110_ru.html @@ -0,0 +1,54 @@ + + + + Тур по 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..024633f06 --- /dev/null +++ b/110_th.html @@ -0,0 +1,54 @@ + + + + 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..ee56968da --- /dev/null +++ b/110_tr.html @@ -0,0 +1,54 @@ + + + + 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..ebbc54986 --- /dev/null +++ b/110_ua.html @@ -0,0 +1,54 @@ + + + + Тур по 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..d833fea14 --- /dev/null +++ b/110_vi.html @@ -0,0 +1,54 @@ + + + + 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..731b46e25 --- /dev/null +++ b/110_zh-cn.html @@ -0,0 +1,54 @@ + + + + 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..319574c1e --- /dev/null +++ b/110_zh-tw.html @@ -0,0 +1,54 @@ + + + + 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_ar.html b/111_ar.html new file mode 100644 index 000000000..f45315138 --- /dev/null +++ b/111_ar.html @@ -0,0 +1,56 @@ + + + + دورة تعلم رست (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..6deb2209d --- /dev/null +++ b/111_de.html @@ -0,0 +1,57 @@ + + + + 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..e6b76c0dd --- /dev/null +++ b/111_en.html @@ -0,0 +1,59 @@ + + + + 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..0fa701799 --- /dev/null +++ b/111_es.html @@ -0,0 +1,56 @@ + + + + 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..db35453bd --- /dev/null +++ b/111_fa.html @@ -0,0 +1,59 @@ + + + + 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..2ecccf8dc --- /dev/null +++ b/111_fi.html @@ -0,0 +1,59 @@ + + + + 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..7e2cec421 --- /dev/null +++ b/111_fr.html @@ -0,0 +1,60 @@ + + + + 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..d5a7b5910 --- /dev/null +++ b/111_gr.html @@ -0,0 +1,59 @@ + + + + Ξενάγηση στη 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..ff8c47af1 --- /dev/null +++ b/111_hu.html @@ -0,0 +1,58 @@ + + + + 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..ebc288b4c --- /dev/null +++ b/111_id.html @@ -0,0 +1,59 @@ + + + + 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..1ca22d9ba --- /dev/null +++ b/111_ie.html @@ -0,0 +1,55 @@ + + + + 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..fb4e7c7b6 --- /dev/null +++ b/111_it.html @@ -0,0 +1,59 @@ + + + + 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..3483ea21a --- /dev/null +++ b/111_ja.html @@ -0,0 +1,59 @@ + + + + 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..d3af0cb41 --- /dev/null +++ b/111_ko.html @@ -0,0 +1,58 @@ + + + + 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_pl.html b/111_pl.html new file mode 100644 index 000000000..51cdd8d1a --- /dev/null +++ b/111_pl.html @@ -0,0 +1,59 @@ + + + + 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..93c3d062e --- /dev/null +++ b/111_pt-br.html @@ -0,0 +1,56 @@ + + + + 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..fc94a6629 --- /dev/null +++ b/111_ro.html @@ -0,0 +1,59 @@ + + + + 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..f6760a536 --- /dev/null +++ b/111_ru.html @@ -0,0 +1,58 @@ + + + + Тур по 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..7d32432b5 --- /dev/null +++ b/111_th.html @@ -0,0 +1,57 @@ + + + + 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..b35e7567e --- /dev/null +++ b/111_tr.html @@ -0,0 +1,57 @@ + + + + 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..dee31b8fe --- /dev/null +++ b/111_ua.html @@ -0,0 +1,59 @@ + + + + Тур по 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..7621903b7 --- /dev/null +++ b/111_vi.html @@ -0,0 +1,57 @@ + + + + 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..4f430fd44 --- /dev/null +++ b/111_zh-cn.html @@ -0,0 +1,56 @@ + + + + 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..37a09985d --- /dev/null +++ b/111_zh-tw.html @@ -0,0 +1,59 @@ + + + + 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_ar.html b/112_ar.html new file mode 100644 index 000000000..62e7a238b --- /dev/null +++ b/112_ar.html @@ -0,0 +1,54 @@ + + + + دورة تعلم رست (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..3b2704d41 --- /dev/null +++ b/112_de.html @@ -0,0 +1,54 @@ + + + + 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..31629ad9b --- /dev/null +++ b/112_en.html @@ -0,0 +1,56 @@ + + + + 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..f0c73f4c2 --- /dev/null +++ b/112_es.html @@ -0,0 +1,54 @@ + + + + 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..2a48f35b1 --- /dev/null +++ b/112_fa.html @@ -0,0 +1,56 @@ + + + + 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..a40e41a0b --- /dev/null +++ b/112_fi.html @@ -0,0 +1,56 @@ + + + + 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..8b5298e7e --- /dev/null +++ b/112_fr.html @@ -0,0 +1,57 @@ + + + + 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..88f019fb1 --- /dev/null +++ b/112_gr.html @@ -0,0 +1,56 @@ + + + + Ξενάγηση στη 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..4403282cc --- /dev/null +++ b/112_hu.html @@ -0,0 +1,56 @@ + + + + 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..93eee5a70 --- /dev/null +++ b/112_id.html @@ -0,0 +1,56 @@ + + + + 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..1d6c8ac56 --- /dev/null +++ b/112_ie.html @@ -0,0 +1,62 @@ + + + + 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..fbf2d0790 --- /dev/null +++ b/112_it.html @@ -0,0 +1,56 @@ + + + + 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..456149186 --- /dev/null +++ b/112_ja.html @@ -0,0 +1,56 @@ + + + + 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..dcd0694a8 --- /dev/null +++ b/112_ko.html @@ -0,0 +1,56 @@ + + + + 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_pl.html b/112_pl.html new file mode 100644 index 000000000..c5bf942ac --- /dev/null +++ b/112_pl.html @@ -0,0 +1,56 @@ + + + + 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..462e0ae36 --- /dev/null +++ b/112_pt-br.html @@ -0,0 +1,54 @@ + + + + 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..739d190ed --- /dev/null +++ b/112_ro.html @@ -0,0 +1,56 @@ + + + + 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..d387e57cb --- /dev/null +++ b/112_ru.html @@ -0,0 +1,54 @@ + + + + Тур по 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..d4cd3c16e --- /dev/null +++ b/112_th.html @@ -0,0 +1,54 @@ + + + + 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..3343d53d5 --- /dev/null +++ b/112_tr.html @@ -0,0 +1,54 @@ + + + + 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..3fe650f65 --- /dev/null +++ b/112_ua.html @@ -0,0 +1,56 @@ + + + + Тур по 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..006ce1d63 --- /dev/null +++ b/112_vi.html @@ -0,0 +1,54 @@ + + + + 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..135089f06 --- /dev/null +++ b/112_zh-cn.html @@ -0,0 +1,54 @@ + + + + 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..709dbebf2 --- /dev/null +++ b/112_zh-tw.html @@ -0,0 +1,56 @@ + + + + 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_ar.html b/113_ar.html new file mode 100644 index 000000000..e6d05ff17 --- /dev/null +++ b/113_ar.html @@ -0,0 +1,63 @@ + + + + دورة تعلم رست (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..0a4233eda --- /dev/null +++ b/113_de.html @@ -0,0 +1,63 @@ + + + + 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..71f957767 --- /dev/null +++ b/113_en.html @@ -0,0 +1,63 @@ + + + + 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..668bba284 --- /dev/null +++ b/113_es.html @@ -0,0 +1,63 @@ + + + + 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..8a0e8ccd0 --- /dev/null +++ b/113_fa.html @@ -0,0 +1,63 @@ + + + + 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..f64d75802 --- /dev/null +++ b/113_fi.html @@ -0,0 +1,63 @@ + + + + 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..f68b385b4 --- /dev/null +++ b/113_fr.html @@ -0,0 +1,65 @@ + + + + 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..f30126cde --- /dev/null +++ b/113_gr.html @@ -0,0 +1,63 @@ + + + + Ξενάγηση στη 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..f9ee59de8 --- /dev/null +++ b/113_hu.html @@ -0,0 +1,63 @@ + + + + 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..4e4c7be8f --- /dev/null +++ b/113_id.html @@ -0,0 +1,63 @@ + + + + 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..a1019eb36 --- /dev/null +++ b/113_ie.html @@ -0,0 +1,56 @@ + + + + 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..df6c347ae --- /dev/null +++ b/113_it.html @@ -0,0 +1,63 @@ + + + + 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..db7882435 --- /dev/null +++ b/113_ja.html @@ -0,0 +1,63 @@ + + + + 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..a64ce0fd9 --- /dev/null +++ b/113_ko.html @@ -0,0 +1,63 @@ + + + + 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_pl.html b/113_pl.html new file mode 100644 index 000000000..e3fe132d4 --- /dev/null +++ b/113_pl.html @@ -0,0 +1,63 @@ + + + + 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..253e87fe0 --- /dev/null +++ b/113_pt-br.html @@ -0,0 +1,63 @@ + + + + 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..9afbc0643 --- /dev/null +++ b/113_ro.html @@ -0,0 +1,63 @@ + + + + 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..a7f75beeb --- /dev/null +++ b/113_ru.html @@ -0,0 +1,63 @@ + + + + Тур по 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..1ec642370 --- /dev/null +++ b/113_th.html @@ -0,0 +1,63 @@ + + + + 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..0e4f215a6 --- /dev/null +++ b/113_tr.html @@ -0,0 +1,63 @@ + + + + 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..a01a03312 --- /dev/null +++ b/113_ua.html @@ -0,0 +1,63 @@ + + + + Тур по 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..6ed9fac40 --- /dev/null +++ b/113_vi.html @@ -0,0 +1,65 @@ + + + + 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..14c1d36ec --- /dev/null +++ b/113_zh-cn.html @@ -0,0 +1,61 @@ + + + + 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..61fef97ac --- /dev/null +++ b/113_zh-tw.html @@ -0,0 +1,63 @@ + + + + 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_ar.html b/114_ar.html new file mode 100644 index 000000000..e37ef8a24 --- /dev/null +++ b/114_ar.html @@ -0,0 +1,56 @@ + + + + دورة تعلم رست (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..45c32ac2e --- /dev/null +++ b/114_de.html @@ -0,0 +1,56 @@ + + + + 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..0a7576b11 --- /dev/null +++ b/114_en.html @@ -0,0 +1,56 @@ + + + + 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..f0901f9b6 --- /dev/null +++ b/114_es.html @@ -0,0 +1,56 @@ + + + + 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..2985a54cb --- /dev/null +++ b/114_fa.html @@ -0,0 +1,56 @@ + + + + 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..39cee21ae --- /dev/null +++ b/114_fi.html @@ -0,0 +1,56 @@ + + + + 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..09e5c9da2 --- /dev/null +++ b/114_fr.html @@ -0,0 +1,57 @@ + + + + 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..2ad17458a --- /dev/null +++ b/114_gr.html @@ -0,0 +1,56 @@ + + + + Ξενάγηση στη 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..b6178223f --- /dev/null +++ b/114_hu.html @@ -0,0 +1,57 @@ + + + + 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..1b593fdd6 --- /dev/null +++ b/114_id.html @@ -0,0 +1,56 @@ + + + + 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..e8910a7ee --- /dev/null +++ b/114_ie.html @@ -0,0 +1,53 @@ + + + + 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..cf0f5af37 --- /dev/null +++ b/114_it.html @@ -0,0 +1,56 @@ + + + + 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..10474f4f4 --- /dev/null +++ b/114_ja.html @@ -0,0 +1,56 @@ + + + + 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..4e2f2244d --- /dev/null +++ b/114_ko.html @@ -0,0 +1,56 @@ + + + + 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_pl.html b/114_pl.html new file mode 100644 index 000000000..6d81d6084 --- /dev/null +++ b/114_pl.html @@ -0,0 +1,56 @@ + + + + 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..e02cdef43 --- /dev/null +++ b/114_pt-br.html @@ -0,0 +1,56 @@ + + + + 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..e1a29716a --- /dev/null +++ b/114_ro.html @@ -0,0 +1,56 @@ + + + + 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..e137464a2 --- /dev/null +++ b/114_ru.html @@ -0,0 +1,56 @@ + + + + Тур по 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..1bc5e4192 --- /dev/null +++ b/114_th.html @@ -0,0 +1,56 @@ + + + + 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..0cf1f4d33 --- /dev/null +++ b/114_tr.html @@ -0,0 +1,56 @@ + + + + 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..12d271f16 --- /dev/null +++ b/114_ua.html @@ -0,0 +1,56 @@ + + + + Тур по 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..1a5482081 --- /dev/null +++ b/114_vi.html @@ -0,0 +1,56 @@ + + + + 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..587bf60af --- /dev/null +++ b/114_zh-cn.html @@ -0,0 +1,56 @@ + + + + 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..a7eefd97a --- /dev/null +++ b/114_zh-tw.html @@ -0,0 +1,56 @@ + + + + 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_ar.html b/115_ar.html new file mode 100644 index 000000000..ad1cc3f0e --- /dev/null +++ b/115_ar.html @@ -0,0 +1,52 @@ + + + + دورة تعلم رست (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..fbca0b7ea --- /dev/null +++ b/115_de.html @@ -0,0 +1,56 @@ + + + + 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..66831902e --- /dev/null +++ b/115_en.html @@ -0,0 +1,54 @@ + + + + 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..bb1e38034 --- /dev/null +++ b/115_es.html @@ -0,0 +1,52 @@ + + + + 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..652bbebc1 --- /dev/null +++ b/115_fa.html @@ -0,0 +1,54 @@ + + + + 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..c3c181b5d --- /dev/null +++ b/115_fi.html @@ -0,0 +1,54 @@ + + + + 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..9035fe22c --- /dev/null +++ b/115_fr.html @@ -0,0 +1,57 @@ + + + + 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..5b7165bfe --- /dev/null +++ b/115_gr.html @@ -0,0 +1,54 @@ + + + + Ξενάγηση στη 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..dd8dd7306 --- /dev/null +++ b/115_hu.html @@ -0,0 +1,56 @@ + + + + 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..fa26b413c --- /dev/null +++ b/115_id.html @@ -0,0 +1,54 @@ + + + + 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..cce1bb4ac --- /dev/null +++ b/115_ie.html @@ -0,0 +1,53 @@ + + + + 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..361d18456 --- /dev/null +++ b/115_it.html @@ -0,0 +1,54 @@ + + + + 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..87cbc981c --- /dev/null +++ b/115_ja.html @@ -0,0 +1,54 @@ + + + + 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..9d6e1e9ae --- /dev/null +++ b/115_ko.html @@ -0,0 +1,54 @@ + + + + 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_pl.html b/115_pl.html new file mode 100644 index 000000000..b191d864e --- /dev/null +++ b/115_pl.html @@ -0,0 +1,54 @@ + + + + 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..4004df849 --- /dev/null +++ b/115_pt-br.html @@ -0,0 +1,51 @@ + + + + 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..8cb7d5b94 --- /dev/null +++ b/115_ro.html @@ -0,0 +1,54 @@ + + + + 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..a8c537081 --- /dev/null +++ b/115_ru.html @@ -0,0 +1,52 @@ + + + + Тур по 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..89d0aedfa --- /dev/null +++ b/115_th.html @@ -0,0 +1,52 @@ + + + + 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..a0afde805 --- /dev/null +++ b/115_tr.html @@ -0,0 +1,52 @@ + + + + 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..29cdef144 --- /dev/null +++ b/115_ua.html @@ -0,0 +1,54 @@ + + + + Тур по 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..5e84fdc3c --- /dev/null +++ b/115_vi.html @@ -0,0 +1,52 @@ + + + + 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..f57db3b0a --- /dev/null +++ b/115_zh-cn.html @@ -0,0 +1,52 @@ + + + + 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..30d8bbb9e --- /dev/null +++ b/115_zh-tw.html @@ -0,0 +1,54 @@ + + + + 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_ar.html b/116_ar.html new file mode 100644 index 000000000..f7381b0f4 --- /dev/null +++ b/116_ar.html @@ -0,0 +1,53 @@ + + + + دورة تعلم رست (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..128c78b2e --- /dev/null +++ b/116_de.html @@ -0,0 +1,54 @@ + + + + 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..3708b543f --- /dev/null +++ b/116_en.html @@ -0,0 +1,53 @@ + + + + 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..77e8364ef --- /dev/null +++ b/116_es.html @@ -0,0 +1,53 @@ + + + + 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..a7bc6e91a --- /dev/null +++ b/116_fa.html @@ -0,0 +1,53 @@ + + + + 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..2139c33aa --- /dev/null +++ b/116_fi.html @@ -0,0 +1,53 @@ + + + + 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..cfd9d6e29 --- /dev/null +++ b/116_fr.html @@ -0,0 +1,54 @@ + + + + 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..4cca56c7e --- /dev/null +++ b/116_gr.html @@ -0,0 +1,53 @@ + + + + Ξενάγηση στη 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..d6913ccd6 --- /dev/null +++ b/116_hu.html @@ -0,0 +1,54 @@ + + + + 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..829af3ba7 --- /dev/null +++ b/116_id.html @@ -0,0 +1,53 @@ + + + + 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..78a1d2286 --- /dev/null +++ b/116_ie.html @@ -0,0 +1,53 @@ + + + + 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..a649c38d0 --- /dev/null +++ b/116_it.html @@ -0,0 +1,53 @@ + + + + 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..5706a7447 --- /dev/null +++ b/116_ja.html @@ -0,0 +1,53 @@ + + + + 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..3345626ba --- /dev/null +++ b/116_ko.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

구조체 가시성

+

함수와 마찬가지로, structure도 module 외부로 무엇을 노출할지를 pub을 사용해 선언할 수 있습니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/116_pl.html b/116_pl.html new file mode 100644 index 000000000..77b7a86b1 --- /dev/null +++ b/116_pl.html @@ -0,0 +1,53 @@ + + + + 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..1fa4cc110 --- /dev/null +++ b/116_pt-br.html @@ -0,0 +1,53 @@ + + + + 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..22d70a6dd --- /dev/null +++ b/116_ro.html @@ -0,0 +1,53 @@ + + + + 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..e2a443835 --- /dev/null +++ b/116_ru.html @@ -0,0 +1,53 @@ + + + + Тур по 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..9117c017a --- /dev/null +++ b/116_th.html @@ -0,0 +1,53 @@ + + + + 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..d41540508 --- /dev/null +++ b/116_tr.html @@ -0,0 +1,53 @@ + + + + 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..42746d9d2 --- /dev/null +++ b/116_ua.html @@ -0,0 +1,53 @@ + + + + Тур по 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..9173d0b62 --- /dev/null +++ b/116_vi.html @@ -0,0 +1,53 @@ + + + + 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..14687a97c --- /dev/null +++ b/116_zh-cn.html @@ -0,0 +1,53 @@ + + + + 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..ce7152487 --- /dev/null +++ b/116_zh-tw.html @@ -0,0 +1,53 @@ + + + + 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_ar.html b/117_ar.html new file mode 100644 index 000000000..c3db39bfc --- /dev/null +++ b/117_ar.html @@ -0,0 +1,53 @@ + + + + دورة تعلم رست (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..5844e5d4a --- /dev/null +++ b/117_de.html @@ -0,0 +1,54 @@ + + + + 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..8a02b44af --- /dev/null +++ b/117_en.html @@ -0,0 +1,57 @@ + + + + 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..72c634d24 --- /dev/null +++ b/117_es.html @@ -0,0 +1,55 @@ + + + + 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..8b88f0e92 --- /dev/null +++ b/117_fa.html @@ -0,0 +1,57 @@ + + + + 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..67bb57424 --- /dev/null +++ b/117_fi.html @@ -0,0 +1,57 @@ + + + + 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..604d3294c --- /dev/null +++ b/117_fr.html @@ -0,0 +1,57 @@ + + + + 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..53ade2558 --- /dev/null +++ b/117_gr.html @@ -0,0 +1,57 @@ + + + + Ξενάγηση στη 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..18b42a1af --- /dev/null +++ b/117_hu.html @@ -0,0 +1,55 @@ + + + + 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..7d89fb4f0 --- /dev/null +++ b/117_id.html @@ -0,0 +1,57 @@ + + + + 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..65a8df276 --- /dev/null +++ b/117_ie.html @@ -0,0 +1,57 @@ + + + + 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..9db8a29db --- /dev/null +++ b/117_it.html @@ -0,0 +1,57 @@ + + + + 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..5fa9ded28 --- /dev/null +++ b/117_ja.html @@ -0,0 +1,57 @@ + + + + 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..f9f5fc857 --- /dev/null +++ b/117_ko.html @@ -0,0 +1,55 @@ + + + + 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_pl.html b/117_pl.html new file mode 100644 index 000000000..f46725eac --- /dev/null +++ b/117_pl.html @@ -0,0 +1,57 @@ + + + + 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..fe97c2cb5 --- /dev/null +++ b/117_pt-br.html @@ -0,0 +1,52 @@ + + + + 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..d1f51a3f7 --- /dev/null +++ b/117_ro.html @@ -0,0 +1,57 @@ + + + + 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..6acf5067a --- /dev/null +++ b/117_ru.html @@ -0,0 +1,56 @@ + + + + Тур по 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..78f705ca5 --- /dev/null +++ b/117_th.html @@ -0,0 +1,56 @@ + + + + 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..d3cf4f3da --- /dev/null +++ b/117_tr.html @@ -0,0 +1,54 @@ + + + + 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..90dcdafad --- /dev/null +++ b/117_ua.html @@ -0,0 +1,57 @@ + + + + Тур по 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..db5056acf --- /dev/null +++ b/117_vi.html @@ -0,0 +1,54 @@ + + + + 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..0e3208950 --- /dev/null +++ b/117_zh-cn.html @@ -0,0 +1,54 @@ + + + + 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..8b2a540a2 --- /dev/null +++ b/117_zh-tw.html @@ -0,0 +1,57 @@ + + + + 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_ar.html b/118_ar.html new file mode 100644 index 000000000..367955ce9 --- /dev/null +++ b/118_ar.html @@ -0,0 +1,53 @@ + + + + دورة تعلم رست (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..41cf82ccb --- /dev/null +++ b/118_de.html @@ -0,0 +1,53 @@ + + + + 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..e57f9b6df --- /dev/null +++ b/118_en.html @@ -0,0 +1,55 @@ + + + + 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..76ecbb75b --- /dev/null +++ b/118_es.html @@ -0,0 +1,52 @@ + + + + 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..4686e2a96 --- /dev/null +++ b/118_fa.html @@ -0,0 +1,55 @@ + + + + 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..d07facbce --- /dev/null +++ b/118_fi.html @@ -0,0 +1,55 @@ + + + + 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..f15e0bedc --- /dev/null +++ b/118_fr.html @@ -0,0 +1,56 @@ + + + + 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..70e89e359 --- /dev/null +++ b/118_gr.html @@ -0,0 +1,55 @@ + + + + Ξενάγηση στη 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..cd7fc9b37 --- /dev/null +++ b/118_hu.html @@ -0,0 +1,56 @@ + + + + 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..d060421a3 --- /dev/null +++ b/118_id.html @@ -0,0 +1,55 @@ + + + + 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..f7022a3c7 --- /dev/null +++ b/118_ie.html @@ -0,0 +1,55 @@ + + + + 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..c90cf4947 --- /dev/null +++ b/118_it.html @@ -0,0 +1,55 @@ + + + + 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..ee9f8752d --- /dev/null +++ b/118_ja.html @@ -0,0 +1,55 @@ + + + + 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..171172f43 --- /dev/null +++ b/118_ko.html @@ -0,0 +1,55 @@ + + + + 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_pl.html b/118_pl.html new file mode 100644 index 000000000..1b18cc4e7 --- /dev/null +++ b/118_pl.html @@ -0,0 +1,55 @@ + + + + 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..e0a41fd94 --- /dev/null +++ b/118_pt-br.html @@ -0,0 +1,53 @@ + + + + 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..72af9a29f --- /dev/null +++ b/118_ro.html @@ -0,0 +1,55 @@ + + + + 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..3eafa58ff --- /dev/null +++ b/118_ru.html @@ -0,0 +1,53 @@ + + + + Тур по 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..27cd775cd --- /dev/null +++ b/118_th.html @@ -0,0 +1,53 @@ + + + + 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..442a79aa1 --- /dev/null +++ b/118_tr.html @@ -0,0 +1,52 @@ + + + + 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..447f24a14 --- /dev/null +++ b/118_ua.html @@ -0,0 +1,53 @@ + + + + Тур по 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..4d3d9fa2b --- /dev/null +++ b/118_vi.html @@ -0,0 +1,53 @@ + + + + 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..9c7648bf2 --- /dev/null +++ b/118_zh-cn.html @@ -0,0 +1,53 @@ + + + + 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..138b337c1 --- /dev/null +++ b/118_zh-tw.html @@ -0,0 +1,55 @@ + + + + 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_ar.html b/119_ar.html new file mode 100644 index 000000000..2c4f1d090 --- /dev/null +++ b/119_ar.html @@ -0,0 +1,55 @@ + + + + دورة تعلم رست (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..e59b76788 --- /dev/null +++ b/119_de.html @@ -0,0 +1,56 @@ + + + + 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..29965ebaf --- /dev/null +++ b/119_en.html @@ -0,0 +1,56 @@ + + + + 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..f3c6178ae --- /dev/null +++ b/119_es.html @@ -0,0 +1,55 @@ + + + + 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..e61c8c83c --- /dev/null +++ b/119_fa.html @@ -0,0 +1,56 @@ + + + + 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..b6526b276 --- /dev/null +++ b/119_fi.html @@ -0,0 +1,56 @@ + + + + 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..9b6e259ea --- /dev/null +++ b/119_fr.html @@ -0,0 +1,59 @@ + + + + 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..3bd41089f --- /dev/null +++ b/119_gr.html @@ -0,0 +1,56 @@ + + + + Ξενάγηση στη 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..9845fa7a1 --- /dev/null +++ b/119_hu.html @@ -0,0 +1,58 @@ + + + + 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..d8fba709f --- /dev/null +++ b/119_id.html @@ -0,0 +1,56 @@ + + + + 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..38d0e7367 --- /dev/null +++ b/119_ie.html @@ -0,0 +1,56 @@ + + + + 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..ec4d36d41 --- /dev/null +++ b/119_it.html @@ -0,0 +1,56 @@ + + + + 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..aca267a7b --- /dev/null +++ b/119_ja.html @@ -0,0 +1,56 @@ + + + + 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..c5af25d19 --- /dev/null +++ b/119_ko.html @@ -0,0 +1,56 @@ + + + + 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_pl.html b/119_pl.html new file mode 100644 index 000000000..6962f3621 --- /dev/null +++ b/119_pl.html @@ -0,0 +1,56 @@ + + + + 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..b3918d24c --- /dev/null +++ b/119_pt-br.html @@ -0,0 +1,55 @@ + + + + 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..7f37c2eea --- /dev/null +++ b/119_ro.html @@ -0,0 +1,56 @@ + + + + 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..ebd8dfe0a --- /dev/null +++ b/119_ru.html @@ -0,0 +1,56 @@ + + + + Тур по 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..ada2796bc --- /dev/null +++ b/119_th.html @@ -0,0 +1,56 @@ + + + + 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..90c2a9c0d --- /dev/null +++ b/119_tr.html @@ -0,0 +1,55 @@ + + + + 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..280012c6a --- /dev/null +++ b/119_ua.html @@ -0,0 +1,55 @@ + + + + Тур по 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..c96eab935 --- /dev/null +++ b/119_vi.html @@ -0,0 +1,55 @@ + + + + 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..08c44acd1 --- /dev/null +++ b/119_zh-cn.html @@ -0,0 +1,55 @@ + + + + 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..53e747ca0 --- /dev/null +++ b/119_zh-tw.html @@ -0,0 +1,56 @@ + + + + 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_ar.html b/11_ar.html new file mode 100644 index 000000000..8f4b8f375 --- /dev/null +++ b/11_ar.html @@ -0,0 +1,55 @@ + + + + دورة تعلم رست (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..f2e0c8385 --- /dev/null +++ b/11_de.html @@ -0,0 +1,55 @@ + + + + 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..0f06e3da2 --- /dev/null +++ b/11_en.html @@ -0,0 +1,55 @@ + + + + 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..6d1382866 --- /dev/null +++ b/11_es.html @@ -0,0 +1,55 @@ + + + + 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..0d5b0e9e7 --- /dev/null +++ b/11_fa.html @@ -0,0 +1,55 @@ + + + + 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..f5bc3da92 --- /dev/null +++ b/11_fi.html @@ -0,0 +1,55 @@ + + + + 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..b15731cfc --- /dev/null +++ b/11_fr.html @@ -0,0 +1,56 @@ + + + + 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..f6b9f7dc6 --- /dev/null +++ b/11_gr.html @@ -0,0 +1,55 @@ + + + + Ξενάγηση στη 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..ca381ae33 --- /dev/null +++ b/11_hu.html @@ -0,0 +1,57 @@ + + + + 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..19e6e8b13 --- /dev/null +++ b/11_id.html @@ -0,0 +1,55 @@ + + + + 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..c4c823669 --- /dev/null +++ b/11_ie.html @@ -0,0 +1,55 @@ + + + + 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..0114684b3 --- /dev/null +++ b/11_it.html @@ -0,0 +1,55 @@ + + + + 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..790b56202 --- /dev/null +++ b/11_ja.html @@ -0,0 +1,55 @@ + + + + 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..a8c850bcc --- /dev/null +++ b/11_ko.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

아무것도 리턴하지 않기

+

함수에 리턴형을 지정하지 않은 경우 빈 tuple을 리턴하는데, 이는 unit이라고도 합니다.

+

빈 tuple은 ()로 표현합니다.

+

()를 사용하는 경우는 드물지만, 뭔지 알아두는 것이 좋을 정도로 꽤 자주 마주치게 될겁니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/11_pl.html b/11_pl.html new file mode 100644 index 000000000..edf5651f7 --- /dev/null +++ b/11_pl.html @@ -0,0 +1,55 @@ + + + + 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..6f1e2d01f --- /dev/null +++ b/11_pt-br.html @@ -0,0 +1,55 @@ + + + + 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..3c5be2bdb --- /dev/null +++ b/11_ro.html @@ -0,0 +1,55 @@ + + + + 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..bdf8f1e47 --- /dev/null +++ b/11_ru.html @@ -0,0 +1,55 @@ + + + + Тур по 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..e89387fde --- /dev/null +++ b/11_th.html @@ -0,0 +1,55 @@ + + + + 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..ac3cfa61f --- /dev/null +++ b/11_tr.html @@ -0,0 +1,55 @@ + + + + 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..4d42474d2 --- /dev/null +++ b/11_ua.html @@ -0,0 +1,54 @@ + + + + Тур по 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..44273f8ba --- /dev/null +++ b/11_vi.html @@ -0,0 +1,55 @@ + + + + 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..1a0695c45 --- /dev/null +++ b/11_zh-cn.html @@ -0,0 +1,55 @@ + + + + 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..516ad8948 --- /dev/null +++ b/11_zh-tw.html @@ -0,0 +1,55 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

沒有回傳類型

+

當一沒有標明函數的回傳類型時,Rust 會默認回傳空的元組,稱為一個單元(Unit)

+

一個空的元組是以 () 來展示。 +直接使用()並不常見,但會經常出現。所以最好也能夠知道它是什麽。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/12_ar.html b/12_ar.html new file mode 100644 index 000000000..6d732b01a --- /dev/null +++ b/12_ar.html @@ -0,0 +1,59 @@ + + + + دورة تعلم رست (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..58c041ea9 --- /dev/null +++ b/12_de.html @@ -0,0 +1,61 @@ + + + + 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..f269e28ec --- /dev/null +++ b/12_en.html @@ -0,0 +1,61 @@ + + + + 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..f4237a6b6 --- /dev/null +++ b/12_es.html @@ -0,0 +1,57 @@ + + + + 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..a590771a1 --- /dev/null +++ b/12_fa.html @@ -0,0 +1,61 @@ + + + + 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..5764c67b7 --- /dev/null +++ b/12_fi.html @@ -0,0 +1,57 @@ + + + + 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..1e54ae4e1 --- /dev/null +++ b/12_fr.html @@ -0,0 +1,61 @@ + + + + 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..bdcf3c2f2 --- /dev/null +++ b/12_gr.html @@ -0,0 +1,57 @@ + + + + Ξενάγηση στη 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..0c16138e4 --- /dev/null +++ b/12_hu.html @@ -0,0 +1,63 @@ + + + + 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..7e5a319e6 --- /dev/null +++ b/12_id.html @@ -0,0 +1,63 @@ + + + + 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..75a521294 --- /dev/null +++ b/12_ie.html @@ -0,0 +1,51 @@ + + + + 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..5f3283d77 --- /dev/null +++ b/12_it.html @@ -0,0 +1,60 @@ + + + + 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..9db59bf71 --- /dev/null +++ b/12_ja.html @@ -0,0 +1,60 @@ + + + + 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..073cdd27e --- /dev/null +++ b/12_ko.html @@ -0,0 +1,61 @@ + + + + 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_pl.html b/12_pl.html new file mode 100644 index 000000000..54b390d49 --- /dev/null +++ b/12_pl.html @@ -0,0 +1,57 @@ + + + + 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..02071696c --- /dev/null +++ b/12_pt-br.html @@ -0,0 +1,57 @@ + + + + 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..b3b55c852 --- /dev/null +++ b/12_ro.html @@ -0,0 +1,61 @@ + + + + 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..eb45615b0 --- /dev/null +++ b/12_ru.html @@ -0,0 +1,57 @@ + + + + Тур по 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..872520fd8 --- /dev/null +++ b/12_th.html @@ -0,0 +1,60 @@ + + + + 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..cf8fa474b --- /dev/null +++ b/12_tr.html @@ -0,0 +1,58 @@ + + + + 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..af66af8ce --- /dev/null +++ b/12_ua.html @@ -0,0 +1,59 @@ + + + + Тур по 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..1185310b6 --- /dev/null +++ b/12_vi.html @@ -0,0 +1,58 @@ + + + + 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..592a02e86 --- /dev/null +++ b/12_zh-cn.html @@ -0,0 +1,61 @@ + + + + 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..30c607821 --- /dev/null +++ b/12_zh-tw.html @@ -0,0 +1,60 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第一章 - 總結

+

到目前為止做得很好! Rust的基礎還不錯,對吧? 我們是窺探了Rust編譯器的想法。 +作為系統編程語言,它非常關心內存中的值大小,是否可以修改,並確保您的算法是您想要的。 +接下來,我們將看著一些老朋友: +if 測試 和 for 循環

+

更多資源:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/14_ar.html b/14_ar.html new file mode 100644 index 000000000..d417b63ad --- /dev/null +++ b/14_ar.html @@ -0,0 +1,55 @@ + + + + دورة تعلم رست (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..14b82e51d --- /dev/null +++ b/14_de.html @@ -0,0 +1,56 @@ + + + + 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..2ddf46a4d --- /dev/null +++ b/14_en.html @@ -0,0 +1,55 @@ + + + + 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..e208385e0 --- /dev/null +++ b/14_es.html @@ -0,0 +1,55 @@ + + + + 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..d734e81d8 --- /dev/null +++ b/14_fa.html @@ -0,0 +1,55 @@ + + + + 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..f689ce096 --- /dev/null +++ b/14_fi.html @@ -0,0 +1,55 @@ + + + + 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..3b298a320 --- /dev/null +++ b/14_fr.html @@ -0,0 +1,56 @@ + + + + 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..aaaaea550 --- /dev/null +++ b/14_gr.html @@ -0,0 +1,55 @@ + + + + Ξενάγηση στη 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..3f66a712d --- /dev/null +++ b/14_hu.html @@ -0,0 +1,57 @@ + + + + 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..8284779ae --- /dev/null +++ b/14_id.html @@ -0,0 +1,55 @@ + + + + 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..f4b02f8a5 --- /dev/null +++ b/14_ie.html @@ -0,0 +1,53 @@ + + + + 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..472e6e755 --- /dev/null +++ b/14_it.html @@ -0,0 +1,55 @@ + + + + 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..a94f873e2 --- /dev/null +++ b/14_ja.html @@ -0,0 +1,55 @@ + + + + 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..5c541b537 --- /dev/null +++ b/14_ko.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

if/else if/else

+

Rust에서의 코드 분기는 놀랄게 없습니다.

+

조건문에 괄호가 없습니다! 괄호가 필요하긴 했던가요? 우리의 로직이 이제 멋지고 깔끔해 보입니다.

+

모든 일반적인 관계 연산자와 논리 연산자가 그대로 동작합니다: ==, !=, <, >, <=, >=, !, ||, &&.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/14_pl.html b/14_pl.html new file mode 100644 index 000000000..8c836c62f --- /dev/null +++ b/14_pl.html @@ -0,0 +1,55 @@ + + + + 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..287742519 --- /dev/null +++ b/14_pt-br.html @@ -0,0 +1,55 @@ + + + + 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..fc10a122b --- /dev/null +++ b/14_ro.html @@ -0,0 +1,55 @@ + + + + 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..f0acf3e17 --- /dev/null +++ b/14_ru.html @@ -0,0 +1,56 @@ + + + + Тур по 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..6b9ab880c --- /dev/null +++ b/14_th.html @@ -0,0 +1,55 @@ + + + + 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..e4fed2ab6 --- /dev/null +++ b/14_tr.html @@ -0,0 +1,55 @@ + + + + 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..1e11ec027 --- /dev/null +++ b/14_ua.html @@ -0,0 +1,55 @@ + + + + Тур по 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..3def941d7 --- /dev/null +++ b/14_vi.html @@ -0,0 +1,55 @@ + + + + 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..b2229f412 --- /dev/null +++ b/14_zh-cn.html @@ -0,0 +1,55 @@ + + + + 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..311771a5e --- /dev/null +++ b/14_zh-tw.html @@ -0,0 +1,55 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

if/else if/else

+

程式碼分支在 Rust 裡並不是什麼新奇的東西。

+

條件敘述沒有括號!我們真的需要它們嗎?我們的邏輯現在看起來漂亮且清晰。

+

所有你常用的關係式及邏輯運算符號仍然正常運作:==!=<><=>=!||&&

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/15_ar.html b/15_ar.html new file mode 100644 index 000000000..6f61d6c38 --- /dev/null +++ b/15_ar.html @@ -0,0 +1,56 @@ + + + + دورة تعلم رست (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..8db98b006 --- /dev/null +++ b/15_de.html @@ -0,0 +1,54 @@ + + + + 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..44983cf5b --- /dev/null +++ b/15_en.html @@ -0,0 +1,56 @@ + + + + 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..7720519d5 --- /dev/null +++ b/15_es.html @@ -0,0 +1,56 @@ + + + + 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..874ed45c0 --- /dev/null +++ b/15_fa.html @@ -0,0 +1,56 @@ + + + + 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..190dc0c53 --- /dev/null +++ b/15_fi.html @@ -0,0 +1,56 @@ + + + + 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..6c7ef5bb8 --- /dev/null +++ b/15_fr.html @@ -0,0 +1,56 @@ + + + + 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..3f4158313 --- /dev/null +++ b/15_gr.html @@ -0,0 +1,54 @@ + + + + Ξενάγηση στη 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..3a76883e3 --- /dev/null +++ b/15_hu.html @@ -0,0 +1,56 @@ + + + + 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..65913992b --- /dev/null +++ b/15_id.html @@ -0,0 +1,56 @@ + + + + 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..77db3ef59 --- /dev/null +++ b/15_ie.html @@ -0,0 +1,53 @@ + + + + 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..070e5ae5d --- /dev/null +++ b/15_it.html @@ -0,0 +1,56 @@ + + + + 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..8ccf40d46 --- /dev/null +++ b/15_ja.html @@ -0,0 +1,55 @@ + + + + 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..92c338ca7 --- /dev/null +++ b/15_ko.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

loop

+

무한 반복문이 필요하십니까?

+

Rust에서는 쉬운 일입니다.

+

break는 여러분이 준비되면 loop을 탈출하게 해줍니다.

+

loop에는 우리가 곧 알아볼 비밀이 한 가지 있습니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/15_pl.html b/15_pl.html new file mode 100644 index 000000000..2879d72b9 --- /dev/null +++ b/15_pl.html @@ -0,0 +1,56 @@ + + + + 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..1f4eb74fa --- /dev/null +++ b/15_pt-br.html @@ -0,0 +1,56 @@ + + + + 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..8d73b5bfb --- /dev/null +++ b/15_ro.html @@ -0,0 +1,56 @@ + + + + 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..cc118b3c4 --- /dev/null +++ b/15_ru.html @@ -0,0 +1,56 @@ + + + + Тур по 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..3fbaf9c3e --- /dev/null +++ b/15_th.html @@ -0,0 +1,56 @@ + + + + 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..1700e6900 --- /dev/null +++ b/15_tr.html @@ -0,0 +1,55 @@ + + + + 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..61e9ec391 --- /dev/null +++ b/15_ua.html @@ -0,0 +1,55 @@ + + + + Тур по 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..2d2a33790 --- /dev/null +++ b/15_vi.html @@ -0,0 +1,56 @@ + + + + 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..26e05f84b --- /dev/null +++ b/15_zh-cn.html @@ -0,0 +1,55 @@ + + + + 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..9d86417b6 --- /dev/null +++ b/15_zh-tw.html @@ -0,0 +1,56 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

loop

+

需要一個無窮迴圈嗎?

+

Rust 將它變得很簡單。

+

當你準備好時,break 會離開一個迴圈。

+

loop 有個秘密,我們很快就會談到它。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/16_ar.html b/16_ar.html new file mode 100644 index 000000000..c206a5bbc --- /dev/null +++ b/16_ar.html @@ -0,0 +1,54 @@ + + + + دورة تعلم رست (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..dfd07a013 --- /dev/null +++ b/16_de.html @@ -0,0 +1,53 @@ + + + + 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..6683deaf8 --- /dev/null +++ b/16_en.html @@ -0,0 +1,54 @@ + + + + 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..3e47d9a13 --- /dev/null +++ b/16_es.html @@ -0,0 +1,54 @@ + + + + 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..5b5eeb53d --- /dev/null +++ b/16_fa.html @@ -0,0 +1,54 @@ + + + + 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..28c07b562 --- /dev/null +++ b/16_fi.html @@ -0,0 +1,54 @@ + + + + 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..bc6e4d275 --- /dev/null +++ b/16_fr.html @@ -0,0 +1,54 @@ + + + + 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..9a5d9de92 --- /dev/null +++ b/16_gr.html @@ -0,0 +1,54 @@ + + + + Ξενάγηση στη 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..a7383ca61 --- /dev/null +++ b/16_hu.html @@ -0,0 +1,54 @@ + + + + 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..b0dff820e --- /dev/null +++ b/16_id.html @@ -0,0 +1,54 @@ + + + + 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..64c9574c6 --- /dev/null +++ b/16_ie.html @@ -0,0 +1,53 @@ + + + + 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..879737a92 --- /dev/null +++ b/16_it.html @@ -0,0 +1,54 @@ + + + + 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..1ff1829a8 --- /dev/null +++ b/16_ja.html @@ -0,0 +1,54 @@ + + + + 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..d149992b7 --- /dev/null +++ b/16_ko.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

while

+

while은 반복문에 조건을 간단히 넣을 수 있게 해줍니다.

+

조건의 평가결과가 false인 경우, 반복문은 종료됩니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/16_pl.html b/16_pl.html new file mode 100644 index 000000000..53ff796e3 --- /dev/null +++ b/16_pl.html @@ -0,0 +1,54 @@ + + + + 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..97ab9eaa2 --- /dev/null +++ b/16_pt-br.html @@ -0,0 +1,54 @@ + + + + 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..6861c2b7f --- /dev/null +++ b/16_ro.html @@ -0,0 +1,54 @@ + + + + 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..35734c43f --- /dev/null +++ b/16_ru.html @@ -0,0 +1,54 @@ + + + + Тур по 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..fedbd3f2a --- /dev/null +++ b/16_th.html @@ -0,0 +1,54 @@ + + + + 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..cfffbca4d --- /dev/null +++ b/16_tr.html @@ -0,0 +1,54 @@ + + + + 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..38aa069d4 --- /dev/null +++ b/16_ua.html @@ -0,0 +1,54 @@ + + + + Тур по 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..d3a69290d --- /dev/null +++ b/16_vi.html @@ -0,0 +1,54 @@ + + + + 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..6510212cf --- /dev/null +++ b/16_zh-cn.html @@ -0,0 +1,54 @@ + + + + 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..be7f89743 --- /dev/null +++ b/16_zh-tw.html @@ -0,0 +1,54 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

while

+

while 讓你輕鬆的加入一個條件到迴圈裡。

+

如果該條件的結果是 false,那迴圈將會中止。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/17_ar.html b/17_ar.html new file mode 100644 index 000000000..0369e5ee9 --- /dev/null +++ b/17_ar.html @@ -0,0 +1,55 @@ + + + + دورة تعلم رست (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..0a74c02dd --- /dev/null +++ b/17_de.html @@ -0,0 +1,63 @@ + + + + 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..325a2dce3 --- /dev/null +++ b/17_en.html @@ -0,0 +1,62 @@ + + + + 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..f64c400a0 --- /dev/null +++ b/17_es.html @@ -0,0 +1,56 @@ + + + + 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..baa9cb57a --- /dev/null +++ b/17_fa.html @@ -0,0 +1,62 @@ + + + + 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..a73444c0e --- /dev/null +++ b/17_fi.html @@ -0,0 +1,62 @@ + + + + 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..c7b4e8703 --- /dev/null +++ b/17_fr.html @@ -0,0 +1,62 @@ + + + + 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..06892a5a5 --- /dev/null +++ b/17_gr.html @@ -0,0 +1,57 @@ + + + + Ξενάγηση στη 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..6adbc8953 --- /dev/null +++ b/17_hu.html @@ -0,0 +1,60 @@ + + + + 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..c2dfdd498 --- /dev/null +++ b/17_id.html @@ -0,0 +1,57 @@ + + + + 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..00b9622e6 --- /dev/null +++ b/17_ie.html @@ -0,0 +1,53 @@ + + + + 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..41f702749 --- /dev/null +++ b/17_it.html @@ -0,0 +1,57 @@ + + + + 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..245e54eb7 --- /dev/null +++ b/17_ja.html @@ -0,0 +1,59 @@ + + + + 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..6cb4d0d57 --- /dev/null +++ b/17_ko.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

for

+

Rust의 for 반복문은 강력한 업그레이드입니다. +어떠한 표현이든지, 그로부터 평가된 반복자의 값을 반복합니다. +반복자란 무엇일까요? 반복자는 더 가진게 없을 때까지 "다음에 가진게 뭐야?" 라고 요청할 수 있는 객체입니다.

+

이건 앞으로 더 살펴볼겁니다. 그동안에는 일단 Rust가 +정수의 배열을 생성하는 반복자를 만들기 쉽게 한다고만 알고 있읍시다.

+

.. 연산자는 시작 숫자에서 끝 숫자 전까지의 숫자들을 생성하는 반복자를 만듭니다.

+

..= 연산자는 시작 숫자에서 끝 숫자까지의 숫자들을 생성하는 반복자를 만듭니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/17_pl.html b/17_pl.html new file mode 100644 index 000000000..60a85301a --- /dev/null +++ b/17_pl.html @@ -0,0 +1,57 @@ + + + + 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..9c32798e5 --- /dev/null +++ b/17_pt-br.html @@ -0,0 +1,56 @@ + + + + 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..a5d050803 --- /dev/null +++ b/17_ro.html @@ -0,0 +1,62 @@ + + + + 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..a1315293c --- /dev/null +++ b/17_ru.html @@ -0,0 +1,59 @@ + + + + Тур по 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..bb454e3f9 --- /dev/null +++ b/17_th.html @@ -0,0 +1,57 @@ + + + + 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..13ae4b521 --- /dev/null +++ b/17_tr.html @@ -0,0 +1,57 @@ + + + + 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..275061f29 --- /dev/null +++ b/17_ua.html @@ -0,0 +1,57 @@ + + + + Тур по 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..c2186ff88 --- /dev/null +++ b/17_vi.html @@ -0,0 +1,60 @@ + + + + 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..e2def4f64 --- /dev/null +++ b/17_zh-cn.html @@ -0,0 +1,57 @@ + + + + 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..88dfc8497 --- /dev/null +++ b/17_zh-tw.html @@ -0,0 +1,56 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

for

+

Rust 的 for 迴圈是個強大升級版。 它會迭代任何表達式的數值,並且將該數值放入迭代器 (iterator) 裡。 什麼是迭代器?迭代器是一個物件,你可以向這個物件詢問:「下一個物品是什麼?」,直到沒有下一個物品了。

+

我們在後續章節會探討更多。同時,現在只需要知道 Rust 可以讓你輕鬆的建立一個產生整數數列的迭代器就好了。

+

.. 運算子產生一個迭代器,而這個迭代器產生一連串的數字,從起始數字開始,但不包含最後一個數字。

+

..= 運算子產生一個迭代器,而這個迭代器產生一連串的數字,從起始數字開始直到最後一個數字。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/18_ar.html b/18_ar.html new file mode 100644 index 000000000..a87ad6717 --- /dev/null +++ b/18_ar.html @@ -0,0 +1,56 @@ + + + + دورة تعلم رست (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..58e11d0aa --- /dev/null +++ b/18_de.html @@ -0,0 +1,62 @@ + + + + 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..57c0cae72 --- /dev/null +++ b/18_en.html @@ -0,0 +1,61 @@ + + + + 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..bc30af50d --- /dev/null +++ b/18_es.html @@ -0,0 +1,55 @@ + + + + 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..5ce3e969c --- /dev/null +++ b/18_fa.html @@ -0,0 +1,61 @@ + + + + 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..c7fb32df3 --- /dev/null +++ b/18_fi.html @@ -0,0 +1,61 @@ + + + + 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..44339693b --- /dev/null +++ b/18_fr.html @@ -0,0 +1,60 @@ + + + + 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..2dd002e86 --- /dev/null +++ b/18_gr.html @@ -0,0 +1,55 @@ + + + + Ξενάγηση στη 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..ab7a9f155 --- /dev/null +++ b/18_hu.html @@ -0,0 +1,60 @@ + + + + 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..78c2baead --- /dev/null +++ b/18_id.html @@ -0,0 +1,55 @@ + + + + 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..878e2905e --- /dev/null +++ b/18_ie.html @@ -0,0 +1,53 @@ + + + + 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..0dc42241d --- /dev/null +++ b/18_it.html @@ -0,0 +1,55 @@ + + + + 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..bad2550e7 --- /dev/null +++ b/18_ja.html @@ -0,0 +1,59 @@ + + + + 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..90a4dfba0 --- /dev/null +++ b/18_ko.html @@ -0,0 +1,58 @@ + + + + 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_pl.html b/18_pl.html new file mode 100644 index 000000000..9f826d0b7 --- /dev/null +++ b/18_pl.html @@ -0,0 +1,58 @@ + + + + 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..b757d7841 --- /dev/null +++ b/18_pt-br.html @@ -0,0 +1,55 @@ + + + + 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..cdf69b1cb --- /dev/null +++ b/18_ro.html @@ -0,0 +1,61 @@ + + + + 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..669fc03b0 --- /dev/null +++ b/18_ru.html @@ -0,0 +1,58 @@ + + + + Тур по 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..4f4c7022d --- /dev/null +++ b/18_th.html @@ -0,0 +1,58 @@ + + + + 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..e2050d6b0 --- /dev/null +++ b/18_tr.html @@ -0,0 +1,56 @@ + + + + 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..4e9d7f4ff --- /dev/null +++ b/18_ua.html @@ -0,0 +1,56 @@ + + + + Тур по 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..fd86c4580 --- /dev/null +++ b/18_vi.html @@ -0,0 +1,56 @@ + + + + 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..5a75c1b8d --- /dev/null +++ b/18_zh-cn.html @@ -0,0 +1,57 @@ + + + + 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..61a72a1e8 --- /dev/null +++ b/18_zh-tw.html @@ -0,0 +1,55 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

match

+

懷念你的 switch 條件判斷式嗎?Rust 有一個神妙的關鍵字 (keyword) 可以匹配所有可能的條件結果, 一旦該結果為真就執行該區間的程式碼。 現在讓我們看看這些是怎麼在數字上運作。在後續章節我們會探討更多有關複雜資料的配對。我向你保證這是值得等待的。

+

match 會徹底的檢查,所以所有可能性都必需被掌控。

+

配對與解構 (destructuring) 一起使用,是你目前為止看到 Rust 最常使用的模式之一。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/19_ar.html b/19_ar.html new file mode 100644 index 000000000..edcc5d5c5 --- /dev/null +++ b/19_ar.html @@ -0,0 +1,53 @@ + + + + دورة تعلم رست (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..41d42390f --- /dev/null +++ b/19_de.html @@ -0,0 +1,53 @@ + + + + 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..df88c0b9b --- /dev/null +++ b/19_en.html @@ -0,0 +1,53 @@ + + + + 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..6cfbbe0b3 --- /dev/null +++ b/19_es.html @@ -0,0 +1,53 @@ + + + + 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..2d4692a08 --- /dev/null +++ b/19_fa.html @@ -0,0 +1,53 @@ + + + + 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..8c48cf1ea --- /dev/null +++ b/19_fi.html @@ -0,0 +1,53 @@ + + + + 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..732de0d93 --- /dev/null +++ b/19_fr.html @@ -0,0 +1,53 @@ + + + + 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..e2a3ba1ed --- /dev/null +++ b/19_gr.html @@ -0,0 +1,53 @@ + + + + Ξενάγηση στη 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..20d8d2c53 --- /dev/null +++ b/19_hu.html @@ -0,0 +1,53 @@ + + + + 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..2bf114a37 --- /dev/null +++ b/19_id.html @@ -0,0 +1,53 @@ + + + + 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..31614d87d --- /dev/null +++ b/19_ie.html @@ -0,0 +1,53 @@ + + + + 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..687bf5031 --- /dev/null +++ b/19_it.html @@ -0,0 +1,53 @@ + + + + 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..8d04b231d --- /dev/null +++ b/19_ja.html @@ -0,0 +1,53 @@ + + + + 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..c6f3c21f6 --- /dev/null +++ b/19_ko.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

loop에서 값 리턴하기

+

loop에서 break과 동시에 값을 리턴할 수 있습니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/19_pl.html b/19_pl.html new file mode 100644 index 000000000..c6884f0a2 --- /dev/null +++ b/19_pl.html @@ -0,0 +1,53 @@ + + + + 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..904ef1f73 --- /dev/null +++ b/19_pt-br.html @@ -0,0 +1,53 @@ + + + + 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..9ec5fedfa --- /dev/null +++ b/19_ro.html @@ -0,0 +1,53 @@ + + + + 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..8ed885c74 --- /dev/null +++ b/19_ru.html @@ -0,0 +1,53 @@ + + + + Тур по 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..62d03ae6c --- /dev/null +++ b/19_th.html @@ -0,0 +1,53 @@ + + + + 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..7be5c106d --- /dev/null +++ b/19_tr.html @@ -0,0 +1,53 @@ + + + + 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..a06409021 --- /dev/null +++ b/19_ua.html @@ -0,0 +1,53 @@ + + + + Тур по 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..eaddc9d75 --- /dev/null +++ b/19_vi.html @@ -0,0 +1,53 @@ + + + + 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..a06e958ad --- /dev/null +++ b/19_zh-cn.html @@ -0,0 +1,53 @@ + + + + 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..ecd258bc0 --- /dev/null +++ b/19_zh-tw.html @@ -0,0 +1,53 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

從迴圈回傳數值

+

loop 可以用 break 來回傳數值。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/20_ar.html b/20_ar.html new file mode 100644 index 000000000..6cdda0142 --- /dev/null +++ b/20_ar.html @@ -0,0 +1,55 @@ + + + + دورة تعلم رست (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..7f831f560 --- /dev/null +++ b/20_de.html @@ -0,0 +1,61 @@ + + + + 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..b25f5d1a7 --- /dev/null +++ b/20_en.html @@ -0,0 +1,58 @@ + + + + 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..f9ef8d7c4 --- /dev/null +++ b/20_es.html @@ -0,0 +1,55 @@ + + + + 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..024176545 --- /dev/null +++ b/20_fa.html @@ -0,0 +1,58 @@ + + + + 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..1c62e0b60 --- /dev/null +++ b/20_fi.html @@ -0,0 +1,58 @@ + + + + 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..82720e66c --- /dev/null +++ b/20_fr.html @@ -0,0 +1,59 @@ + + + + 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..2130974bf --- /dev/null +++ b/20_gr.html @@ -0,0 +1,55 @@ + + + + Ξενάγηση στη 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..dcbdcbacb --- /dev/null +++ b/20_hu.html @@ -0,0 +1,59 @@ + + + + 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..f9808f846 --- /dev/null +++ b/20_id.html @@ -0,0 +1,55 @@ + + + + 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..ed5c2a2c1 --- /dev/null +++ b/20_ie.html @@ -0,0 +1,53 @@ + + + + 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..c4175ae8f --- /dev/null +++ b/20_it.html @@ -0,0 +1,55 @@ + + + + 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..0b847b1e0 --- /dev/null +++ b/20_ja.html @@ -0,0 +1,56 @@ + + + + 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..e60c080a8 --- /dev/null +++ b/20_ko.html @@ -0,0 +1,57 @@ + + + + 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_pl.html b/20_pl.html new file mode 100644 index 000000000..e8e46a5fa --- /dev/null +++ b/20_pl.html @@ -0,0 +1,56 @@ + + + + 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..d26d0f613 --- /dev/null +++ b/20_pt-br.html @@ -0,0 +1,56 @@ + + + + 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..8b331c3de --- /dev/null +++ b/20_ro.html @@ -0,0 +1,58 @@ + + + + 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..be7817e95 --- /dev/null +++ b/20_ru.html @@ -0,0 +1,58 @@ + + + + Тур по 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..546140004 --- /dev/null +++ b/20_th.html @@ -0,0 +1,56 @@ + + + + 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..b579d53da --- /dev/null +++ b/20_tr.html @@ -0,0 +1,55 @@ + + + + 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..f5c09149b --- /dev/null +++ b/20_ua.html @@ -0,0 +1,56 @@ + + + + Тур по 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..50f581238 --- /dev/null +++ b/20_vi.html @@ -0,0 +1,56 @@ + + + + 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..21bb13b09 --- /dev/null +++ b/20_zh-cn.html @@ -0,0 +1,57 @@ + + + + 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..116ca36ba --- /dev/null +++ b/20_zh-tw.html @@ -0,0 +1,55 @@ + + + + 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_ar.html b/21_ar.html new file mode 100644 index 000000000..87846d8a5 --- /dev/null +++ b/21_ar.html @@ -0,0 +1,51 @@ + + + + دورة تعلم رست (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..1c91b8414 --- /dev/null +++ b/21_de.html @@ -0,0 +1,56 @@ + + + + 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..62f4a46dd --- /dev/null +++ b/21_en.html @@ -0,0 +1,55 @@ + + + + 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..208fb1a8a --- /dev/null +++ b/21_es.html @@ -0,0 +1,51 @@ + + + + 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..dd4197349 --- /dev/null +++ b/21_fa.html @@ -0,0 +1,55 @@ + + + + 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..c2de2c3c3 --- /dev/null +++ b/21_fi.html @@ -0,0 +1,54 @@ + + + + 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..bd8e534f6 --- /dev/null +++ b/21_fr.html @@ -0,0 +1,54 @@ + + + + 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..8d4f7b06e --- /dev/null +++ b/21_gr.html @@ -0,0 +1,51 @@ + + + + Ξενάγηση στη 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..777aa8d35 --- /dev/null +++ b/21_hu.html @@ -0,0 +1,54 @@ + + + + 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..caaf9b52a --- /dev/null +++ b/21_id.html @@ -0,0 +1,51 @@ + + + + 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..590d7053d --- /dev/null +++ b/21_ie.html @@ -0,0 +1,51 @@ + + + + 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..30bdee5ea --- /dev/null +++ b/21_it.html @@ -0,0 +1,52 @@ + + + + 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..28dcd67e2 --- /dev/null +++ b/21_ja.html @@ -0,0 +1,53 @@ + + + + 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..fcfdcb52d --- /dev/null +++ b/21_ko.html @@ -0,0 +1,54 @@ + + + + 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_pl.html b/21_pl.html new file mode 100644 index 000000000..912044d45 --- /dev/null +++ b/21_pl.html @@ -0,0 +1,53 @@ + + + + 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..24eba4209 --- /dev/null +++ b/21_pt-br.html @@ -0,0 +1,51 @@ + + + + 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..a77d1037e --- /dev/null +++ b/21_ro.html @@ -0,0 +1,55 @@ + + + + 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..2339df612 --- /dev/null +++ b/21_ru.html @@ -0,0 +1,54 @@ + + + + Тур по 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..50adddf4b --- /dev/null +++ b/21_th.html @@ -0,0 +1,54 @@ + + + + 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..addda1084 --- /dev/null +++ b/21_tr.html @@ -0,0 +1,52 @@ + + + + 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..5e520f5b9 --- /dev/null +++ b/21_ua.html @@ -0,0 +1,53 @@ + + + + Тур по 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..6d5a1aa61 --- /dev/null +++ b/21_vi.html @@ -0,0 +1,53 @@ + + + + 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..0c69fc47c --- /dev/null +++ b/21_zh-cn.html @@ -0,0 +1,53 @@ + + + + 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..b8e31bd3a --- /dev/null +++ b/21_zh-tw.html @@ -0,0 +1,51 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第二章 - 總結

+

希望即使是最基本的語言特性,我也讓你一瞥 Rust 的力量。 我們將會更深入的探討 formatch,以取得更多相關知識進而利用它們的能力。 下一章節我們會進入 Rust 的基本資料結構 (data structures)。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/23_ar.html b/23_ar.html new file mode 100644 index 000000000..50aa76021 --- /dev/null +++ b/23_ar.html @@ -0,0 +1,55 @@ + + + + دورة تعلم رست (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..e13c14c69 --- /dev/null +++ b/23_de.html @@ -0,0 +1,55 @@ + + + + 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..7b5f8c544 --- /dev/null +++ b/23_en.html @@ -0,0 +1,55 @@ + + + + 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..7ce7392e2 --- /dev/null +++ b/23_es.html @@ -0,0 +1,55 @@ + + + + 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..a9e6caac2 --- /dev/null +++ b/23_fa.html @@ -0,0 +1,55 @@ + + + + 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..f53ba1af4 --- /dev/null +++ b/23_fi.html @@ -0,0 +1,55 @@ + + + + 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..dbf6eff92 --- /dev/null +++ b/23_fr.html @@ -0,0 +1,57 @@ + + + + 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..8ad33d605 --- /dev/null +++ b/23_gr.html @@ -0,0 +1,55 @@ + + + + Ξενάγηση στη 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..0446d5c62 --- /dev/null +++ b/23_hu.html @@ -0,0 +1,57 @@ + + + + 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..189636c08 --- /dev/null +++ b/23_id.html @@ -0,0 +1,55 @@ + + + + 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..a338fbb19 --- /dev/null +++ b/23_ie.html @@ -0,0 +1,55 @@ + + + + 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..1b12d9278 --- /dev/null +++ b/23_it.html @@ -0,0 +1,55 @@ + + + + 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..e05a47e42 --- /dev/null +++ b/23_ja.html @@ -0,0 +1,55 @@ + + + + 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..6f925a3a9 --- /dev/null +++ b/23_ko.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

구조체

+

struct는 필드(field)들의 collection입니다.

+

field는 간단하게 데이터 구조에 연관된 데이터 값입니다. 이 값은 기본 자료형이나 데이터 구조일 수 있습니다.

+

이 정의는 메모리 상에 field들을 어떻게 배치할지에 대한 컴파일러의 청사진과도 같습니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/23_pl.html b/23_pl.html new file mode 100644 index 000000000..012dcb69d --- /dev/null +++ b/23_pl.html @@ -0,0 +1,55 @@ + + + + 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..ecf86972e --- /dev/null +++ b/23_pt-br.html @@ -0,0 +1,55 @@ + + + + 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..4fe28f66c --- /dev/null +++ b/23_ro.html @@ -0,0 +1,55 @@ + + + + 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..5dc214c1d --- /dev/null +++ b/23_ru.html @@ -0,0 +1,55 @@ + + + + Тур по 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..ca6a0d1a8 --- /dev/null +++ b/23_th.html @@ -0,0 +1,56 @@ + + + + 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..e9a434d3f --- /dev/null +++ b/23_tr.html @@ -0,0 +1,55 @@ + + + + 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..82d069a1b --- /dev/null +++ b/23_ua.html @@ -0,0 +1,54 @@ + + + + Тур по 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..00779f421 --- /dev/null +++ b/23_vi.html @@ -0,0 +1,55 @@ + + + + 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..c4cd624e0 --- /dev/null +++ b/23_zh-cn.html @@ -0,0 +1,55 @@ + + + + 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..14d663ddf --- /dev/null +++ b/23_zh-tw.html @@ -0,0 +1,55 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

結構 (structures)

+

一個 struct 是一群欄位 (field) 的集合。

+

一個欄位 (field) 就只是一個在結構裡的數值。它的數值可以是最原始的型別,也可以是另一種資料結構。

+

它的定義就像是一張藍圖一樣,讓編譯器 (compiler) 可以在記憶體裡畫出欄位之間如何擺放。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/24_ar.html b/24_ar.html new file mode 100644 index 000000000..0d20eecc4 --- /dev/null +++ b/24_ar.html @@ -0,0 +1,56 @@ + + + + دورة تعلم رست (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..d92dd617d --- /dev/null +++ b/24_de.html @@ -0,0 +1,57 @@ + + + + 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..4a2fdbd67 --- /dev/null +++ b/24_en.html @@ -0,0 +1,56 @@ + + + + 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..2cae02083 --- /dev/null +++ b/24_es.html @@ -0,0 +1,56 @@ + + + + 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..ee1d43887 --- /dev/null +++ b/24_fa.html @@ -0,0 +1,56 @@ + + + + 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..5e27dbe26 --- /dev/null +++ b/24_fi.html @@ -0,0 +1,56 @@ + + + + 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..d5b92fa7f --- /dev/null +++ b/24_fr.html @@ -0,0 +1,57 @@ + + + + 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..e6fa5d900 --- /dev/null +++ b/24_gr.html @@ -0,0 +1,56 @@ + + + + Ξενάγηση στη 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..7cdacb2ef --- /dev/null +++ b/24_hu.html @@ -0,0 +1,59 @@ + + + + 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..5d3dbf993 --- /dev/null +++ b/24_id.html @@ -0,0 +1,56 @@ + + + + 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..8d4b0c4e4 --- /dev/null +++ b/24_ie.html @@ -0,0 +1,53 @@ + + + + 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..c2ecbc8bd --- /dev/null +++ b/24_it.html @@ -0,0 +1,56 @@ + + + + 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..0cbffa4f2 --- /dev/null +++ b/24_ja.html @@ -0,0 +1,56 @@ + + + + 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..a48405cba --- /dev/null +++ b/24_ko.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

메소드 호출하기

+

함수와 달리, 메소드는 특정 데이터 자료형과 연관된 함수입니다.

+

스태틱 메소드(static methods) - 자료형 그 자체에 속하는 메소드로서, :: 연산자를 이용하여 호출함.

+

인스턴스 메소드(instance methods) - 자료형의 인스턴스에 속하는 메소드로서, . 연산자를 이용하여 호출함.

+

다가올 장에서 여러분만의 메소드를 만드는 법에 대해 살펴보겠습니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/24_pl.html b/24_pl.html new file mode 100644 index 000000000..94531ea18 --- /dev/null +++ b/24_pl.html @@ -0,0 +1,56 @@ + + + + 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..bc5b81050 --- /dev/null +++ b/24_pt-br.html @@ -0,0 +1,56 @@ + + + + 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..ffa6f7c79 --- /dev/null +++ b/24_ro.html @@ -0,0 +1,56 @@ + + + + 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..a32d359f5 --- /dev/null +++ b/24_ru.html @@ -0,0 +1,56 @@ + + + + Тур по 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..748921542 --- /dev/null +++ b/24_th.html @@ -0,0 +1,56 @@ + + + + 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..68816a136 --- /dev/null +++ b/24_tr.html @@ -0,0 +1,56 @@ + + + + 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..0334dfd64 --- /dev/null +++ b/24_ua.html @@ -0,0 +1,58 @@ + + + + Тур по 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..912eba656 --- /dev/null +++ b/24_vi.html @@ -0,0 +1,56 @@ + + + + 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..5693ba6c1 --- /dev/null +++ b/24_zh-cn.html @@ -0,0 +1,56 @@ + + + + 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..ad97281d3 --- /dev/null +++ b/24_zh-tw.html @@ -0,0 +1,56 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

呼叫方法 (method)

+

不同於函數 (function),方法 (method) 是有著特定資料型別的函數。

+

靜態方法 (static method):屬於型別自己本身的方法,使用 :: 來呼叫。

+

實體方法 (instance method):屬於某種型別的實體方法,使用 . 來呼叫。

+

後續章節我們將會探討更多關於如何產生你自己的方法。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/25_ar.html b/25_ar.html new file mode 100644 index 000000000..a5823f3b0 --- /dev/null +++ b/25_ar.html @@ -0,0 +1,56 @@ + + + + دورة تعلم رست (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..e809df477 --- /dev/null +++ b/25_de.html @@ -0,0 +1,66 @@ + + + + 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..5008a0477 --- /dev/null +++ b/25_en.html @@ -0,0 +1,67 @@ + + + + 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..a23de9c5c --- /dev/null +++ b/25_es.html @@ -0,0 +1,66 @@ + + + + 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..e7e319a16 --- /dev/null +++ b/25_fa.html @@ -0,0 +1,67 @@ + + + + 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..d6be7c597 --- /dev/null +++ b/25_fi.html @@ -0,0 +1,67 @@ + + + + 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..3a1fffa82 --- /dev/null +++ b/25_fr.html @@ -0,0 +1,70 @@ + + + + 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..c0c13a234 --- /dev/null +++ b/25_gr.html @@ -0,0 +1,56 @@ + + + + Ξενάγηση στη 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..a156f8829 --- /dev/null +++ b/25_hu.html @@ -0,0 +1,68 @@ + + + + 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..8381aa8d5 --- /dev/null +++ b/25_id.html @@ -0,0 +1,67 @@ + + + + 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..9bf220163 --- /dev/null +++ b/25_ie.html @@ -0,0 +1,64 @@ + + + + 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..922d6b5f8 --- /dev/null +++ b/25_it.html @@ -0,0 +1,59 @@ + + + + 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..d98d99a94 --- /dev/null +++ b/25_ja.html @@ -0,0 +1,61 @@ + + + + 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..25cc1f8e3 --- /dev/null +++ b/25_ko.html @@ -0,0 +1,65 @@ + + + + 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_pl.html b/25_pl.html new file mode 100644 index 000000000..d239390cc --- /dev/null +++ b/25_pl.html @@ -0,0 +1,69 @@ + + + + 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..8d50242b1 --- /dev/null +++ b/25_pt-br.html @@ -0,0 +1,56 @@ + + + + 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..9031f45ac --- /dev/null +++ b/25_ro.html @@ -0,0 +1,67 @@ + + + + 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..68c9de8bf --- /dev/null +++ b/25_ru.html @@ -0,0 +1,66 @@ + + + + Тур по 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..c4cb25535 --- /dev/null +++ b/25_th.html @@ -0,0 +1,66 @@ + + + + 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..21380b5d7 --- /dev/null +++ b/25_tr.html @@ -0,0 +1,65 @@ + + + + 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..194930fa6 --- /dev/null +++ b/25_ua.html @@ -0,0 +1,61 @@ + + + + Тур по 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..54ce125e1 --- /dev/null +++ b/25_vi.html @@ -0,0 +1,68 @@ + + + + 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..ddc3a963f --- /dev/null +++ b/25_zh-cn.html @@ -0,0 +1,62 @@ + + + + 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..5f0b6e97b --- /dev/null +++ b/25_zh-tw.html @@ -0,0 +1,62 @@ + + + + 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_ar.html b/26_ar.html new file mode 100644 index 000000000..c0a8537ee --- /dev/null +++ b/26_ar.html @@ -0,0 +1,63 @@ + + + + دورة تعلم رست (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..7b8d1532b --- /dev/null +++ b/26_de.html @@ -0,0 +1,72 @@ + + + + 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..6fdf84736 --- /dev/null +++ b/26_en.html @@ -0,0 +1,73 @@ + + + + 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..619f9dc63 --- /dev/null +++ b/26_es.html @@ -0,0 +1,72 @@ + + + + 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..46d84cf87 --- /dev/null +++ b/26_fa.html @@ -0,0 +1,73 @@ + + + + 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..91228c06a --- /dev/null +++ b/26_fi.html @@ -0,0 +1,73 @@ + + + + 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..2dd0b2a15 --- /dev/null +++ b/26_fr.html @@ -0,0 +1,75 @@ + + + + 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..fc0c1f8ed --- /dev/null +++ b/26_gr.html @@ -0,0 +1,64 @@ + + + + Ξενάγηση στη 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..95646792b --- /dev/null +++ b/26_hu.html @@ -0,0 +1,75 @@ + + + + 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..4576625b9 --- /dev/null +++ b/26_id.html @@ -0,0 +1,73 @@ + + + + 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..4cb6f8a72 --- /dev/null +++ b/26_ie.html @@ -0,0 +1,72 @@ + + + + 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..afaf2bb5b --- /dev/null +++ b/26_it.html @@ -0,0 +1,67 @@ + + + + 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..52035d1eb --- /dev/null +++ b/26_ja.html @@ -0,0 +1,69 @@ + + + + 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..24cfa0161 --- /dev/null +++ b/26_ko.html @@ -0,0 +1,72 @@ + + + + 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_pl.html b/26_pl.html new file mode 100644 index 000000000..b612e78e8 --- /dev/null +++ b/26_pl.html @@ -0,0 +1,63 @@ + + + + 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..1318bcc00 --- /dev/null +++ b/26_pt-br.html @@ -0,0 +1,68 @@ + + + + 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..beff12870 --- /dev/null +++ b/26_ro.html @@ -0,0 +1,72 @@ + + + + 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..9c4f456fa --- /dev/null +++ b/26_ru.html @@ -0,0 +1,72 @@ + + + + Тур по 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..da22b6495 --- /dev/null +++ b/26_th.html @@ -0,0 +1,72 @@ + + + + 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..f8983e49e --- /dev/null +++ b/26_tr.html @@ -0,0 +1,70 @@ + + + + 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..3449661ed --- /dev/null +++ b/26_ua.html @@ -0,0 +1,68 @@ + + + + Тур по 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..761720827 --- /dev/null +++ b/26_vi.html @@ -0,0 +1,74 @@ + + + + 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..62137a83b --- /dev/null +++ b/26_zh-cn.html @@ -0,0 +1,65 @@ + + + + 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..3c67bca1f --- /dev/null +++ b/26_zh-tw.html @@ -0,0 +1,69 @@ + + + + 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_ar.html b/27_ar.html new file mode 100644 index 000000000..7e5d4d669 --- /dev/null +++ b/27_ar.html @@ -0,0 +1,53 @@ + + + + دورة تعلم رست (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..e188027d9 --- /dev/null +++ b/27_de.html @@ -0,0 +1,53 @@ + + + + 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..2f7ca994a --- /dev/null +++ b/27_en.html @@ -0,0 +1,53 @@ + + + + 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..be0e3e285 --- /dev/null +++ b/27_es.html @@ -0,0 +1,53 @@ + + + + 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..dd8b8a77a --- /dev/null +++ b/27_fa.html @@ -0,0 +1,53 @@ + + + + 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..c3c61a3f0 --- /dev/null +++ b/27_fi.html @@ -0,0 +1,53 @@ + + + + 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..f1d7e47b2 --- /dev/null +++ b/27_fr.html @@ -0,0 +1,53 @@ + + + + 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..d7b236788 --- /dev/null +++ b/27_gr.html @@ -0,0 +1,53 @@ + + + + Ξενάγηση στη 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..330fce7a8 --- /dev/null +++ b/27_hu.html @@ -0,0 +1,53 @@ + + + + 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..60db50c9d --- /dev/null +++ b/27_id.html @@ -0,0 +1,53 @@ + + + + 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..c12a03186 --- /dev/null +++ b/27_ie.html @@ -0,0 +1,53 @@ + + + + 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..beb9ea4e5 --- /dev/null +++ b/27_it.html @@ -0,0 +1,53 @@ + + + + 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..861af87f3 --- /dev/null +++ b/27_ja.html @@ -0,0 +1,53 @@ + + + + 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..2896ac01c --- /dev/null +++ b/27_ko.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Tuple 같은 구조체

+

간결함을 위해, tuple처럼 사용되는 struct를 생성할 수 있습니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/27_pl.html b/27_pl.html new file mode 100644 index 000000000..bd5686f69 --- /dev/null +++ b/27_pl.html @@ -0,0 +1,53 @@ + + + + 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..db0546ae7 --- /dev/null +++ b/27_pt-br.html @@ -0,0 +1,53 @@ + + + + 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..437a03a6e --- /dev/null +++ b/27_ro.html @@ -0,0 +1,53 @@ + + + + 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..60593c8ec --- /dev/null +++ b/27_ru.html @@ -0,0 +1,53 @@ + + + + Тур по 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..a3a3c9973 --- /dev/null +++ b/27_th.html @@ -0,0 +1,53 @@ + + + + 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..646455b0a --- /dev/null +++ b/27_tr.html @@ -0,0 +1,53 @@ + + + + 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..15cdda0a5 --- /dev/null +++ b/27_ua.html @@ -0,0 +1,53 @@ + + + + Тур по 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..45e3ba67f --- /dev/null +++ b/27_vi.html @@ -0,0 +1,53 @@ + + + + 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..6474c052d --- /dev/null +++ b/27_zh-cn.html @@ -0,0 +1,53 @@ + + + + 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..95267d752 --- /dev/null +++ b/27_zh-tw.html @@ -0,0 +1,53 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

數組型結構 (tuple-like)

+

更簡潔的說,你可以產生用起來像數組 (tuple) 的結構。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/28_ar.html b/28_ar.html new file mode 100644 index 000000000..edfce4905 --- /dev/null +++ b/28_ar.html @@ -0,0 +1,55 @@ + + + + دورة تعلم رست (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..1b5c87e45 --- /dev/null +++ b/28_de.html @@ -0,0 +1,55 @@ + + + + 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..bff587960 --- /dev/null +++ b/28_en.html @@ -0,0 +1,55 @@ + + + + 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..ebf87671f --- /dev/null +++ b/28_es.html @@ -0,0 +1,55 @@ + + + + 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..73bec246c --- /dev/null +++ b/28_fa.html @@ -0,0 +1,55 @@ + + + + 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..402c787e7 --- /dev/null +++ b/28_fi.html @@ -0,0 +1,55 @@ + + + + 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..9b4240bfc --- /dev/null +++ b/28_fr.html @@ -0,0 +1,56 @@ + + + + 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..903b5605e --- /dev/null +++ b/28_gr.html @@ -0,0 +1,55 @@ + + + + Ξενάγηση στη 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..7e952256d --- /dev/null +++ b/28_hu.html @@ -0,0 +1,56 @@ + + + + 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..e8f486ee8 --- /dev/null +++ b/28_id.html @@ -0,0 +1,55 @@ + + + + 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..0223211e6 --- /dev/null +++ b/28_ie.html @@ -0,0 +1,55 @@ + + + + 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..0aaa1ce50 --- /dev/null +++ b/28_it.html @@ -0,0 +1,55 @@ + + + + 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..fb0e4f77b --- /dev/null +++ b/28_ja.html @@ -0,0 +1,55 @@ + + + + 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..ee6ee63d4 --- /dev/null +++ b/28_ko.html @@ -0,0 +1,55 @@ + + + + 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_pl.html b/28_pl.html new file mode 100644 index 000000000..7d8f12b7d --- /dev/null +++ b/28_pl.html @@ -0,0 +1,55 @@ + + + + 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..eef3c8b6b --- /dev/null +++ b/28_pt-br.html @@ -0,0 +1,56 @@ + + + + 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..71796108a --- /dev/null +++ b/28_ro.html @@ -0,0 +1,55 @@ + + + + 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..19fa24327 --- /dev/null +++ b/28_ru.html @@ -0,0 +1,55 @@ + + + + Тур по 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..0aeacc8b5 --- /dev/null +++ b/28_th.html @@ -0,0 +1,55 @@ + + + + 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..439d74067 --- /dev/null +++ b/28_tr.html @@ -0,0 +1,55 @@ + + + + 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..3cfa8e73e --- /dev/null +++ b/28_ua.html @@ -0,0 +1,55 @@ + + + + Тур по 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..1942a5ffa --- /dev/null +++ b/28_vi.html @@ -0,0 +1,55 @@ + + + + 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..fd6e9294c --- /dev/null +++ b/28_zh-cn.html @@ -0,0 +1,55 @@ + + + + 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..cf3958f6d --- /dev/null +++ b/28_zh-tw.html @@ -0,0 +1,55 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

單組型結構 (unit-like)

+

沒有任何欄位的結構即是單組 (unit)。

+

如同在第一章所提到的,一個單組 (unit) 即是空數組 () 的另一種說法。 這也是為什麼這類型的結構稱之為單組型 (unit-like)。

+

這類型的結構甚少使用。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/29_ar.html b/29_ar.html new file mode 100644 index 000000000..dbceefc32 --- /dev/null +++ b/29_ar.html @@ -0,0 +1,54 @@ + + + + دورة تعلم رست (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..c54c3de65 --- /dev/null +++ b/29_de.html @@ -0,0 +1,57 @@ + + + + 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..e97e6cef9 --- /dev/null +++ b/29_en.html @@ -0,0 +1,54 @@ + + + + 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..60f26cae4 --- /dev/null +++ b/29_es.html @@ -0,0 +1,56 @@ + + + + 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..75701a479 --- /dev/null +++ b/29_fa.html @@ -0,0 +1,54 @@ + + + + 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..4c4ace06f --- /dev/null +++ b/29_fi.html @@ -0,0 +1,54 @@ + + + + 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..45aed1023 --- /dev/null +++ b/29_fr.html @@ -0,0 +1,57 @@ + + + + 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..1344e2d3f --- /dev/null +++ b/29_gr.html @@ -0,0 +1,54 @@ + + + + Ξενάγηση στη 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..330e2074d --- /dev/null +++ b/29_hu.html @@ -0,0 +1,58 @@ + + + + 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..9766cddc4 --- /dev/null +++ b/29_id.html @@ -0,0 +1,54 @@ + + + + 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..a0ac923d6 --- /dev/null +++ b/29_ie.html @@ -0,0 +1,56 @@ + + + + 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..c3af1868d --- /dev/null +++ b/29_it.html @@ -0,0 +1,54 @@ + + + + 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..727fca560 --- /dev/null +++ b/29_ja.html @@ -0,0 +1,54 @@ + + + + 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..a1a280439 --- /dev/null +++ b/29_ko.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

열거형

+

열거형(enumeration)은 enum 키워드를 통해 몇 가지 태그된 원소의 값을 가질 수 있는 새로운 자료형을 생성할 수 있습니다.

+

match는 모든 가능한 enum 값을 빠짐없이 처리할 수 있도록 하여 퀄리티 있는 코드를 만드는데 강력한 도구가 되어줄 것입니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/29_pl.html b/29_pl.html new file mode 100644 index 000000000..6d498a0d0 --- /dev/null +++ b/29_pl.html @@ -0,0 +1,54 @@ + + + + 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..51d1e729a --- /dev/null +++ b/29_pt-br.html @@ -0,0 +1,54 @@ + + + + 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..f64cf5ba2 --- /dev/null +++ b/29_ro.html @@ -0,0 +1,54 @@ + + + + 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..40cff96fe --- /dev/null +++ b/29_ru.html @@ -0,0 +1,54 @@ + + + + Тур по 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..155231a2d --- /dev/null +++ b/29_th.html @@ -0,0 +1,54 @@ + + + + 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..034581559 --- /dev/null +++ b/29_tr.html @@ -0,0 +1,54 @@ + + + + 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..9e9c41545 --- /dev/null +++ b/29_ua.html @@ -0,0 +1,54 @@ + + + + Тур по 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..7e42babd0 --- /dev/null +++ b/29_vi.html @@ -0,0 +1,54 @@ + + + + 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..7b548d5bf --- /dev/null +++ b/29_zh-cn.html @@ -0,0 +1,54 @@ + + + + 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..515202ff5 --- /dev/null +++ b/29_zh-tw.html @@ -0,0 +1,54 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

列舉 (enumerations)

+

列舉允許你產生新的型別,此型別可以有多個被標記的元素,而這些元素使用 enum 關鍵字宣告。

+

match 徹底的保證所有可能的列舉數值都會被掌控,這使得它成為一個強大的工具用來保證有品質的程式碼。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/30_ar.html b/30_ar.html new file mode 100644 index 000000000..4dea0d30f --- /dev/null +++ b/30_ar.html @@ -0,0 +1,68 @@ + + + + دورة تعلم رست (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..ad30599d9 --- /dev/null +++ b/30_de.html @@ -0,0 +1,65 @@ + + + + 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..307fdb5a8 --- /dev/null +++ b/30_en.html @@ -0,0 +1,64 @@ + + + + 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..2c7e5f1b9 --- /dev/null +++ b/30_es.html @@ -0,0 +1,66 @@ + + + + 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..b9ab00d07 --- /dev/null +++ b/30_fa.html @@ -0,0 +1,64 @@ + + + + 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..9ac07ff65 --- /dev/null +++ b/30_fi.html @@ -0,0 +1,64 @@ + + + + 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..665f355d4 --- /dev/null +++ b/30_fr.html @@ -0,0 +1,69 @@ + + + + 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..5968d5e83 --- /dev/null +++ b/30_gr.html @@ -0,0 +1,64 @@ + + + + Ξενάγηση στη 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..9e674f0b6 --- /dev/null +++ b/30_hu.html @@ -0,0 +1,69 @@ + + + + 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..59250f9c6 --- /dev/null +++ b/30_id.html @@ -0,0 +1,64 @@ + + + + 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..ada32765e --- /dev/null +++ b/30_ie.html @@ -0,0 +1,67 @@ + + + + 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..b413e9383 --- /dev/null +++ b/30_it.html @@ -0,0 +1,64 @@ + + + + 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..db8a0fdc1 --- /dev/null +++ b/30_ja.html @@ -0,0 +1,64 @@ + + + + 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..ef470b116 --- /dev/null +++ b/30_ko.html @@ -0,0 +1,64 @@ + + + + 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_pl.html b/30_pl.html new file mode 100644 index 000000000..1969248f9 --- /dev/null +++ b/30_pl.html @@ -0,0 +1,64 @@ + + + + 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..aca81f94e --- /dev/null +++ b/30_pt-br.html @@ -0,0 +1,64 @@ + + + + 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..eda58265f --- /dev/null +++ b/30_ro.html @@ -0,0 +1,64 @@ + + + + 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..36d8b4680 --- /dev/null +++ b/30_ru.html @@ -0,0 +1,64 @@ + + + + Тур по 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..e578005c8 --- /dev/null +++ b/30_th.html @@ -0,0 +1,64 @@ + + + + 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..a52c0d3bc --- /dev/null +++ b/30_tr.html @@ -0,0 +1,64 @@ + + + + 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..6503e1693 --- /dev/null +++ b/30_ua.html @@ -0,0 +1,65 @@ + + + + Тур по 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..fb91a08c1 --- /dev/null +++ b/30_vi.html @@ -0,0 +1,64 @@ + + + + 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..16cce7b7a --- /dev/null +++ b/30_zh-cn.html @@ -0,0 +1,64 @@ + + + + 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..79753bc81 --- /dev/null +++ b/30_zh-tw.html @@ -0,0 +1,64 @@ + + + + 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_ar.html b/31_ar.html new file mode 100644 index 000000000..90f0536e2 --- /dev/null +++ b/31_ar.html @@ -0,0 +1,51 @@ + + + + دورة تعلم رست (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..b5119120e --- /dev/null +++ b/31_de.html @@ -0,0 +1,53 @@ + + + + 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..e88a3fddd --- /dev/null +++ b/31_en.html @@ -0,0 +1,53 @@ + + + + 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..c8426f24b --- /dev/null +++ b/31_es.html @@ -0,0 +1,54 @@ + + + + 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..8e5246d41 --- /dev/null +++ b/31_fa.html @@ -0,0 +1,53 @@ + + + + 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..e7fe267a4 --- /dev/null +++ b/31_fi.html @@ -0,0 +1,53 @@ + + + + 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..a14cb159a --- /dev/null +++ b/31_fr.html @@ -0,0 +1,54 @@ + + + + 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..12115e159 --- /dev/null +++ b/31_gr.html @@ -0,0 +1,51 @@ + + + + Ξενάγηση στη 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..11284df87 --- /dev/null +++ b/31_hu.html @@ -0,0 +1,55 @@ + + + + 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..56193e56f --- /dev/null +++ b/31_id.html @@ -0,0 +1,53 @@ + + + + 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..a1673a9ea --- /dev/null +++ b/31_ie.html @@ -0,0 +1,54 @@ + + + + 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..cce4e2aa2 --- /dev/null +++ b/31_it.html @@ -0,0 +1,51 @@ + + + + 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..e56809085 --- /dev/null +++ b/31_ja.html @@ -0,0 +1,52 @@ + + + + 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..1e0d42218 --- /dev/null +++ b/31_ko.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

3장 - 마무리

+

신난다! 이제 우리는 아이디어를 코드로 표현할 수 있는 가장 기본적인 도구를 갖게 되었습니다. +이제 Rust의 기본 기능이 어떻게 자료형들과 함께 조화롭고 간결하게 동작하는지 어렴풋이 보이길 바랍니다. +다음에는 자료형에 더 많은 표현의 유연함을 주는 개념인 제네릭(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..38732ce41 --- /dev/null +++ b/31_pl.html @@ -0,0 +1,53 @@ + + + + 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..438dc7415 --- /dev/null +++ b/31_pt-br.html @@ -0,0 +1,52 @@ + + + + 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..4501dccbd --- /dev/null +++ b/31_ro.html @@ -0,0 +1,53 @@ + + + + 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..36ca3139a --- /dev/null +++ b/31_ru.html @@ -0,0 +1,52 @@ + + + + Тур по 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..e9f95a1de --- /dev/null +++ b/31_th.html @@ -0,0 +1,51 @@ + + + + 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..0972f9a64 --- /dev/null +++ b/31_tr.html @@ -0,0 +1,52 @@ + + + + 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..8893979f9 --- /dev/null +++ b/31_ua.html @@ -0,0 +1,52 @@ + + + + Тур по 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..95cb70b1b --- /dev/null +++ b/31_vi.html @@ -0,0 +1,51 @@ + + + + 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..462d8487a --- /dev/null +++ b/31_zh-cn.html @@ -0,0 +1,53 @@ + + + + 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..822e87c1a --- /dev/null +++ b/31_zh-tw.html @@ -0,0 +1,51 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第三章 - 總結

+

多麼令人興奮!現在我們有了最基本的工具,可以用來將我們的點子以程式碼的方式呈現出來。 但願現在我們能看到些許 Rust 的基礎操作是如此簡潔和諧的與它的型別一起工作。 接下來我們會探討一個概念,它可以讓我們的資料型別在呈現上更有彈性:泛型 (generics)。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/33_ar.html b/33_ar.html new file mode 100644 index 000000000..8f4d54722 --- /dev/null +++ b/33_ar.html @@ -0,0 +1,54 @@ + + + + دورة تعلم رست (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..96917bc3e --- /dev/null +++ b/33_de.html @@ -0,0 +1,57 @@ + + + + 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..4af00858d --- /dev/null +++ b/33_en.html @@ -0,0 +1,56 @@ + + + + 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..3b43172bc --- /dev/null +++ b/33_es.html @@ -0,0 +1,57 @@ + + + + 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..1831abd92 --- /dev/null +++ b/33_fa.html @@ -0,0 +1,56 @@ + + + + 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..db6106b0c --- /dev/null +++ b/33_fi.html @@ -0,0 +1,56 @@ + + + + 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..e26f9557e --- /dev/null +++ b/33_fr.html @@ -0,0 +1,57 @@ + + + + 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..b8815e182 --- /dev/null +++ b/33_gr.html @@ -0,0 +1,54 @@ + + + + Ξενάγηση στη 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..dbe256278 --- /dev/null +++ b/33_hu.html @@ -0,0 +1,57 @@ + + + + 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..157089771 --- /dev/null +++ b/33_id.html @@ -0,0 +1,56 @@ + + + + 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..f835ab227 --- /dev/null +++ b/33_ie.html @@ -0,0 +1,57 @@ + + + + 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..cc55957c4 --- /dev/null +++ b/33_it.html @@ -0,0 +1,54 @@ + + + + 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..f2fca0b8b --- /dev/null +++ b/33_ja.html @@ -0,0 +1,57 @@ + + + + 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..d1849711f --- /dev/null +++ b/33_ko.html @@ -0,0 +1,56 @@ + + + + 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_pl.html b/33_pl.html new file mode 100644 index 000000000..4cc61ca4d --- /dev/null +++ b/33_pl.html @@ -0,0 +1,54 @@ + + + + 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..e8aa22296 --- /dev/null +++ b/33_pt-br.html @@ -0,0 +1,54 @@ + + + + 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..400b6c50b --- /dev/null +++ b/33_ro.html @@ -0,0 +1,56 @@ + + + + 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..4ac6c3816 --- /dev/null +++ b/33_ru.html @@ -0,0 +1,56 @@ + + + + Тур по 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..ace9121ea --- /dev/null +++ b/33_th.html @@ -0,0 +1,54 @@ + + + + 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..d6da805cd --- /dev/null +++ b/33_tr.html @@ -0,0 +1,54 @@ + + + + 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..7b372b109 --- /dev/null +++ b/33_ua.html @@ -0,0 +1,54 @@ + + + + Тур по 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..187d7e72d --- /dev/null +++ b/33_vi.html @@ -0,0 +1,54 @@ + + + + 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..d3dade1db --- /dev/null +++ b/33_zh-cn.html @@ -0,0 +1,55 @@ + + + + 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..6c7a3f99f --- /dev/null +++ b/33_zh-tw.html @@ -0,0 +1,54 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

什麼是泛型?

+

泛型允許我們定義一部份的結構 (struct) 或列舉 (enum),使編譯器根據我們的程式碼,在編譯時期就產生一個完整的版本。

+

Rust 大多時候可以根據我們的實體 (instantiation) 來推斷最終型別,但如果你需要幫忙的話,只要使用 ::<T> 運算子, 你也可以明確的表示出來,我們也稱之為 turbofish (他也是我的其中一個好朋友!)。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/34_ar.html b/34_ar.html new file mode 100644 index 000000000..edb9e3116 --- /dev/null +++ b/34_ar.html @@ -0,0 +1,55 @@ + + + + دورة تعلم رست (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..3351ce38f --- /dev/null +++ b/34_de.html @@ -0,0 +1,59 @@ + + + + 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..8d19de173 --- /dev/null +++ b/34_en.html @@ -0,0 +1,59 @@ + + + + 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..0eb822ce1 --- /dev/null +++ b/34_es.html @@ -0,0 +1,59 @@ + + + + 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..1d882eac5 --- /dev/null +++ b/34_fa.html @@ -0,0 +1,59 @@ + + + + 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..25ed6f1f1 --- /dev/null +++ b/34_fi.html @@ -0,0 +1,59 @@ + + + + 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..b80760aa8 --- /dev/null +++ b/34_fr.html @@ -0,0 +1,60 @@ + + + + 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..90b4f9d84 --- /dev/null +++ b/34_gr.html @@ -0,0 +1,56 @@ + + + + Ξενάγηση στη 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..f5bee83d9 --- /dev/null +++ b/34_hu.html @@ -0,0 +1,62 @@ + + + + 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..1a668d7fb --- /dev/null +++ b/34_id.html @@ -0,0 +1,59 @@ + + + + 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..0a537dddc --- /dev/null +++ b/34_ie.html @@ -0,0 +1,59 @@ + + + + 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..64ebce311 --- /dev/null +++ b/34_it.html @@ -0,0 +1,58 @@ + + + + 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..a9ec7d46c --- /dev/null +++ b/34_ja.html @@ -0,0 +1,58 @@ + + + + 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..5d253c272 --- /dev/null +++ b/34_ko.html @@ -0,0 +1,59 @@ + + + + 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_pl.html b/34_pl.html new file mode 100644 index 000000000..22546a779 --- /dev/null +++ b/34_pl.html @@ -0,0 +1,57 @@ + + + + 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..130a2425b --- /dev/null +++ b/34_pt-br.html @@ -0,0 +1,55 @@ + + + + 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..468ca3675 --- /dev/null +++ b/34_ro.html @@ -0,0 +1,59 @@ + + + + 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..57209034a --- /dev/null +++ b/34_ru.html @@ -0,0 +1,59 @@ + + + + Тур по 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..7546eb08f --- /dev/null +++ b/34_th.html @@ -0,0 +1,55 @@ + + + + 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..04c2e9c65 --- /dev/null +++ b/34_tr.html @@ -0,0 +1,55 @@ + + + + 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..42de4afe9 --- /dev/null +++ b/34_ua.html @@ -0,0 +1,56 @@ + + + + Тур по 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..1fa42d472 --- /dev/null +++ b/34_vi.html @@ -0,0 +1,55 @@ + + + + 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..892b085e0 --- /dev/null +++ b/34_zh-cn.html @@ -0,0 +1,56 @@ + + + + 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..d3fa91016 --- /dev/null +++ b/34_zh-tw.html @@ -0,0 +1,55 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

空值表示

+

在其他語言裡,關鍵字 null 用來表示空值。這在程式語言裡產生了一些問題,因為它有可能讓我們的程式因為存取變量或欄位時失敗。

+

Rust 沒有 null,但這不代表我們不知道表示空值的重要性!我們用一個已知的工具來簡單的表示。

+

透過給定一個 None 來表示一個或多個其他數值,在 Rust 是非常常見的,因為它沒有 null。泛型可以用來幫助解決這個問題。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/35_ar.html b/35_ar.html new file mode 100644 index 000000000..9b4f1d03b --- /dev/null +++ b/35_ar.html @@ -0,0 +1,59 @@ + + + + دورة تعلم رست (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..bbbb429f9 --- /dev/null +++ b/35_de.html @@ -0,0 +1,60 @@ + + + + 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..04d4d7c8b --- /dev/null +++ b/35_en.html @@ -0,0 +1,60 @@ + + + + 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..a1b6594a9 --- /dev/null +++ b/35_es.html @@ -0,0 +1,61 @@ + + + + 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..3592250fd --- /dev/null +++ b/35_fa.html @@ -0,0 +1,60 @@ + + + + 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..8a5a75c52 --- /dev/null +++ b/35_fi.html @@ -0,0 +1,60 @@ + + + + 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..f7925848f --- /dev/null +++ b/35_fr.html @@ -0,0 +1,60 @@ + + + + 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..2f3e67652 --- /dev/null +++ b/35_gr.html @@ -0,0 +1,59 @@ + + + + Ξενάγηση στη 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..ad226e1e8 --- /dev/null +++ b/35_hu.html @@ -0,0 +1,61 @@ + + + + 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..d1f1be361 --- /dev/null +++ b/35_id.html @@ -0,0 +1,60 @@ + + + + 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..06faead56 --- /dev/null +++ b/35_ie.html @@ -0,0 +1,60 @@ + + + + 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..bebb04cd8 --- /dev/null +++ b/35_it.html @@ -0,0 +1,59 @@ + + + + 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..d47447dbe --- /dev/null +++ b/35_ja.html @@ -0,0 +1,59 @@ + + + + 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..a0d558c31 --- /dev/null +++ b/35_ko.html @@ -0,0 +1,60 @@ + + + + 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_pl.html b/35_pl.html new file mode 100644 index 000000000..449b1227b --- /dev/null +++ b/35_pl.html @@ -0,0 +1,59 @@ + + + + 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..7cfd57df8 --- /dev/null +++ b/35_pt-br.html @@ -0,0 +1,59 @@ + + + + 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..aed9741fd --- /dev/null +++ b/35_ro.html @@ -0,0 +1,60 @@ + + + + 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..7d6fc9625 --- /dev/null +++ b/35_ru.html @@ -0,0 +1,61 @@ + + + + Тур по 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..3b3a3df6d --- /dev/null +++ b/35_th.html @@ -0,0 +1,59 @@ + + + + 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..665e5c03e --- /dev/null +++ b/35_tr.html @@ -0,0 +1,58 @@ + + + + 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..52214fc70 --- /dev/null +++ b/35_ua.html @@ -0,0 +1,59 @@ + + + + Тур по 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..30264c844 --- /dev/null +++ b/35_vi.html @@ -0,0 +1,59 @@ + + + + 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..b86b0d4dd --- /dev/null +++ b/35_zh-cn.html @@ -0,0 +1,59 @@ + + + + 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..f35ea7464 --- /dev/null +++ b/35_zh-tw.html @@ -0,0 +1,59 @@ + + + + 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_ar.html b/36_ar.html new file mode 100644 index 000000000..5d363fb8f --- /dev/null +++ b/36_ar.html @@ -0,0 +1,60 @@ + + + + دورة تعلم رست (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..5d6dfff00 --- /dev/null +++ b/36_de.html @@ -0,0 +1,61 @@ + + + + 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..d9b0264d7 --- /dev/null +++ b/36_en.html @@ -0,0 +1,61 @@ + + + + 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..46ac7da34 --- /dev/null +++ b/36_es.html @@ -0,0 +1,63 @@ + + + + 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..c4ed97d44 --- /dev/null +++ b/36_fa.html @@ -0,0 +1,61 @@ + + + + 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..65b7f1d61 --- /dev/null +++ b/36_fi.html @@ -0,0 +1,61 @@ + + + + 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..e0696a746 --- /dev/null +++ b/36_fr.html @@ -0,0 +1,61 @@ + + + + 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..57d64a4ac --- /dev/null +++ b/36_gr.html @@ -0,0 +1,60 @@ + + + + Ξενάγηση στη 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..ae7dbd02e --- /dev/null +++ b/36_hu.html @@ -0,0 +1,65 @@ + + + + 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..735de8838 --- /dev/null +++ b/36_id.html @@ -0,0 +1,61 @@ + + + + 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..761740601 --- /dev/null +++ b/36_ie.html @@ -0,0 +1,61 @@ + + + + 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..9fab53cb3 --- /dev/null +++ b/36_it.html @@ -0,0 +1,61 @@ + + + + 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..603cf09d3 --- /dev/null +++ b/36_ja.html @@ -0,0 +1,61 @@ + + + + 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..43d457dab --- /dev/null +++ b/36_ko.html @@ -0,0 +1,61 @@ + + + + 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_pl.html b/36_pl.html new file mode 100644 index 000000000..f66d1d3d4 --- /dev/null +++ b/36_pl.html @@ -0,0 +1,61 @@ + + + + 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..4f12663a8 --- /dev/null +++ b/36_pt-br.html @@ -0,0 +1,61 @@ + + + + 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..bb6cdbf1e --- /dev/null +++ b/36_ro.html @@ -0,0 +1,61 @@ + + + + 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..f54648de5 --- /dev/null +++ b/36_ru.html @@ -0,0 +1,62 @@ + + + + Тур по 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..9f8975d00 --- /dev/null +++ b/36_th.html @@ -0,0 +1,60 @@ + + + + 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..67a0b2a85 --- /dev/null +++ b/36_tr.html @@ -0,0 +1,59 @@ + + + + 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..c78994a17 --- /dev/null +++ b/36_ua.html @@ -0,0 +1,60 @@ + + + + Тур по 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..a3a291eaf --- /dev/null +++ b/36_vi.html @@ -0,0 +1,60 @@ + + + + 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..8fc97a4c4 --- /dev/null +++ b/36_zh-cn.html @@ -0,0 +1,61 @@ + + + + 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..6251dc091 --- /dev/null +++ b/36_zh-tw.html @@ -0,0 +1,60 @@ + + + + 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_ar.html b/37_ar.html new file mode 100644 index 000000000..27d059566 --- /dev/null +++ b/37_ar.html @@ -0,0 +1,53 @@ + + + + دورة تعلم رست (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..93a42d950 --- /dev/null +++ b/37_de.html @@ -0,0 +1,53 @@ + + + + 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..4e0bf3e3c --- /dev/null +++ b/37_en.html @@ -0,0 +1,53 @@ + + + + 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..3a63cdf62 --- /dev/null +++ b/37_es.html @@ -0,0 +1,53 @@ + + + + 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..fe27ff46b --- /dev/null +++ b/37_fa.html @@ -0,0 +1,53 @@ + + + + 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..0d4a93664 --- /dev/null +++ b/37_fi.html @@ -0,0 +1,53 @@ + + + + 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..bbed14d05 --- /dev/null +++ b/37_fr.html @@ -0,0 +1,53 @@ + + + + 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..7a87efb39 --- /dev/null +++ b/37_gr.html @@ -0,0 +1,53 @@ + + + + Ξενάγηση στη 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..3263908b7 --- /dev/null +++ b/37_hu.html @@ -0,0 +1,53 @@ + + + + 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..58b5ec99e --- /dev/null +++ b/37_id.html @@ -0,0 +1,53 @@ + + + + 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..a533db537 --- /dev/null +++ b/37_ie.html @@ -0,0 +1,53 @@ + + + + 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..3cf20a4cc --- /dev/null +++ b/37_it.html @@ -0,0 +1,53 @@ + + + + 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..4d4b0c73e --- /dev/null +++ b/37_ja.html @@ -0,0 +1,53 @@ + + + + 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..c670b475f --- /dev/null +++ b/37_ko.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

실패할 수 있는 메인

+

mainResult를 리턴할 수 있다!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/37_pl.html b/37_pl.html new file mode 100644 index 000000000..c365b90e3 --- /dev/null +++ b/37_pl.html @@ -0,0 +1,53 @@ + + + + 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..b9b3608e5 --- /dev/null +++ b/37_pt-br.html @@ -0,0 +1,53 @@ + + + + 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..db82d75e1 --- /dev/null +++ b/37_ro.html @@ -0,0 +1,53 @@ + + + + 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..7e2a93f8a --- /dev/null +++ b/37_ru.html @@ -0,0 +1,53 @@ + + + + Тур по 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..cc463a098 --- /dev/null +++ b/37_th.html @@ -0,0 +1,53 @@ + + + + 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..fada7a91f --- /dev/null +++ b/37_tr.html @@ -0,0 +1,53 @@ + + + + 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..e9d43d5e2 --- /dev/null +++ b/37_ua.html @@ -0,0 +1,53 @@ + + + + Тур по 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..e7538286f --- /dev/null +++ b/37_vi.html @@ -0,0 +1,53 @@ + + + + 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..9240dbca7 --- /dev/null +++ b/37_zh-cn.html @@ -0,0 +1,53 @@ + + + + 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..43f1f64fb --- /dev/null +++ b/37_zh-tw.html @@ -0,0 +1,53 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

失敗的主函式 (failable main)

+

main 有能力回傳一個 Result

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/38_ar.html b/38_ar.html new file mode 100644 index 000000000..b88ee2390 --- /dev/null +++ b/38_ar.html @@ -0,0 +1,60 @@ + + + + دورة تعلم رست (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..5efb88a3d --- /dev/null +++ b/38_de.html @@ -0,0 +1,60 @@ + + + + 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..037a76ec2 --- /dev/null +++ b/38_en.html @@ -0,0 +1,60 @@ + + + + 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..e29903fd5 --- /dev/null +++ b/38_es.html @@ -0,0 +1,61 @@ + + + + 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..acbb3cc1e --- /dev/null +++ b/38_fa.html @@ -0,0 +1,60 @@ + + + + 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..ada20ca67 --- /dev/null +++ b/38_fi.html @@ -0,0 +1,60 @@ + + + + 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..460e66215 --- /dev/null +++ b/38_fr.html @@ -0,0 +1,60 @@ + + + + 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..32e9951a6 --- /dev/null +++ b/38_gr.html @@ -0,0 +1,61 @@ + + + + Ξενάγηση στη 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..30ca70f5f --- /dev/null +++ b/38_hu.html @@ -0,0 +1,61 @@ + + + + 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..ff04b843f --- /dev/null +++ b/38_id.html @@ -0,0 +1,60 @@ + + + + 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..efabf36c5 --- /dev/null +++ b/38_ie.html @@ -0,0 +1,60 @@ + + + + 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..af7674cc4 --- /dev/null +++ b/38_it.html @@ -0,0 +1,60 @@ + + + + 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..f871e2df7 --- /dev/null +++ b/38_ja.html @@ -0,0 +1,61 @@ + + + + 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..3614a7a53 --- /dev/null +++ b/38_ko.html @@ -0,0 +1,60 @@ + + + + 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_pl.html b/38_pl.html new file mode 100644 index 000000000..2aa6ce155 --- /dev/null +++ b/38_pl.html @@ -0,0 +1,60 @@ + + + + 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..1cfb0185f --- /dev/null +++ b/38_pt-br.html @@ -0,0 +1,60 @@ + + + + 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..47bcf7bc0 --- /dev/null +++ b/38_ro.html @@ -0,0 +1,60 @@ + + + + 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..1d70e4288 --- /dev/null +++ b/38_ru.html @@ -0,0 +1,60 @@ + + + + Тур по 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..65077905c --- /dev/null +++ b/38_th.html @@ -0,0 +1,60 @@ + + + + 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..c3d2ed791 --- /dev/null +++ b/38_tr.html @@ -0,0 +1,58 @@ + + + + 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..9f53e5ae9 --- /dev/null +++ b/38_ua.html @@ -0,0 +1,60 @@ + + + + Тур по 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..561083f96 --- /dev/null +++ b/38_vi.html @@ -0,0 +1,60 @@ + + + + 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..f48f3ad4f --- /dev/null +++ b/38_zh-cn.html @@ -0,0 +1,61 @@ + + + + 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..c31b85c15 --- /dev/null +++ b/38_zh-tw.html @@ -0,0 +1,60 @@ + + + + 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_ar.html b/39_ar.html new file mode 100644 index 000000000..a07b21a35 --- /dev/null +++ b/39_ar.html @@ -0,0 +1,74 @@ + + + + دورة تعلم رست (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..780187751 --- /dev/null +++ b/39_de.html @@ -0,0 +1,75 @@ + + + + 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..bd726ed4d --- /dev/null +++ b/39_en.html @@ -0,0 +1,75 @@ + + + + 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..f0033f24c --- /dev/null +++ b/39_es.html @@ -0,0 +1,76 @@ + + + + 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..fc08ada69 --- /dev/null +++ b/39_fa.html @@ -0,0 +1,75 @@ + + + + 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..847799836 --- /dev/null +++ b/39_fi.html @@ -0,0 +1,75 @@ + + + + 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..d21a244d9 --- /dev/null +++ b/39_fr.html @@ -0,0 +1,78 @@ + + + + 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..fcd95fbc2 --- /dev/null +++ b/39_gr.html @@ -0,0 +1,74 @@ + + + + Ξενάγηση στη 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..c9c9dc358 --- /dev/null +++ b/39_hu.html @@ -0,0 +1,78 @@ + + + + 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..090fd8940 --- /dev/null +++ b/39_id.html @@ -0,0 +1,75 @@ + + + + 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..97d398597 --- /dev/null +++ b/39_ie.html @@ -0,0 +1,75 @@ + + + + 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..f06d8cb77 --- /dev/null +++ b/39_it.html @@ -0,0 +1,75 @@ + + + + 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..a59c3de01 --- /dev/null +++ b/39_ja.html @@ -0,0 +1,76 @@ + + + + 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..e950c3e72 --- /dev/null +++ b/39_ko.html @@ -0,0 +1,75 @@ + + + + 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_pl.html b/39_pl.html new file mode 100644 index 000000000..b73c30a73 --- /dev/null +++ b/39_pl.html @@ -0,0 +1,72 @@ + + + + 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..d28ae3ea1 --- /dev/null +++ b/39_pt-br.html @@ -0,0 +1,74 @@ + + + + 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..c6970e8db --- /dev/null +++ b/39_ro.html @@ -0,0 +1,75 @@ + + + + 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..62939c475 --- /dev/null +++ b/39_ru.html @@ -0,0 +1,75 @@ + + + + Тур по 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..9711e1237 --- /dev/null +++ b/39_th.html @@ -0,0 +1,74 @@ + + + + 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..383cbf8ce --- /dev/null +++ b/39_tr.html @@ -0,0 +1,75 @@ + + + + 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..b21cb8e99 --- /dev/null +++ b/39_ua.html @@ -0,0 +1,74 @@ + + + + Тур по 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..e0760715e --- /dev/null +++ b/39_vi.html @@ -0,0 +1,74 @@ + + + + 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..741862f4d --- /dev/null +++ b/39_zh-cn.html @@ -0,0 +1,76 @@ + + + + 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..d7b74e8f6 --- /dev/null +++ b/39_zh-tw.html @@ -0,0 +1,74 @@ + + + + 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_ar.html b/40_ar.html new file mode 100644 index 000000000..4a4a0dffb --- /dev/null +++ b/40_ar.html @@ -0,0 +1,61 @@ + + + + دورة تعلم رست (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..af9a30fa8 --- /dev/null +++ b/40_de.html @@ -0,0 +1,63 @@ + + + + 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..166d9733a --- /dev/null +++ b/40_en.html @@ -0,0 +1,63 @@ + + + + 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..4f3acb68f --- /dev/null +++ b/40_es.html @@ -0,0 +1,64 @@ + + + + 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..87ee73947 --- /dev/null +++ b/40_fa.html @@ -0,0 +1,63 @@ + + + + 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..26927b6fe --- /dev/null +++ b/40_fi.html @@ -0,0 +1,63 @@ + + + + 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..ad644d2a1 --- /dev/null +++ b/40_fr.html @@ -0,0 +1,63 @@ + + + + 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..d3ee855c1 --- /dev/null +++ b/40_gr.html @@ -0,0 +1,60 @@ + + + + Ξενάγηση στη 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..123f03220 --- /dev/null +++ b/40_hu.html @@ -0,0 +1,66 @@ + + + + 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..5767ae0ed --- /dev/null +++ b/40_id.html @@ -0,0 +1,63 @@ + + + + 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..b4aa77fdd --- /dev/null +++ b/40_ie.html @@ -0,0 +1,63 @@ + + + + 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..259e4c474 --- /dev/null +++ b/40_it.html @@ -0,0 +1,60 @@ + + + + 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..3c82f18c5 --- /dev/null +++ b/40_ja.html @@ -0,0 +1,63 @@ + + + + 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..e0c48ae55 --- /dev/null +++ b/40_ko.html @@ -0,0 +1,63 @@ + + + + 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_pl.html b/40_pl.html new file mode 100644 index 000000000..1d0379f5d --- /dev/null +++ b/40_pl.html @@ -0,0 +1,61 @@ + + + + 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..b7822ccf8 --- /dev/null +++ b/40_pt-br.html @@ -0,0 +1,60 @@ + + + + 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..84665a646 --- /dev/null +++ b/40_ro.html @@ -0,0 +1,63 @@ + + + + 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..09c5687aa --- /dev/null +++ b/40_ru.html @@ -0,0 +1,60 @@ + + + + Тур по 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..b3778772c --- /dev/null +++ b/40_th.html @@ -0,0 +1,61 @@ + + + + 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..6407828ea --- /dev/null +++ b/40_tr.html @@ -0,0 +1,60 @@ + + + + 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..74ad7122b --- /dev/null +++ b/40_ua.html @@ -0,0 +1,60 @@ + + + + Тур по 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..d3d32b77b --- /dev/null +++ b/40_vi.html @@ -0,0 +1,60 @@ + + + + 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..c0d2ab023 --- /dev/null +++ b/40_zh-cn.html @@ -0,0 +1,60 @@ + + + + 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..f270f371c --- /dev/null +++ b/40_zh-tw.html @@ -0,0 +1,60 @@ + + + + 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_ar.html b/41_ar.html new file mode 100644 index 000000000..b40e3654a --- /dev/null +++ b/41_ar.html @@ -0,0 +1,51 @@ + + + + دورة تعلم رست (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..f8be380c5 --- /dev/null +++ b/41_de.html @@ -0,0 +1,54 @@ + + + + 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..50956f3a6 --- /dev/null +++ b/41_en.html @@ -0,0 +1,54 @@ + + + + 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..ed0de3849 --- /dev/null +++ b/41_es.html @@ -0,0 +1,54 @@ + + + + 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..fa886b532 --- /dev/null +++ b/41_fa.html @@ -0,0 +1,54 @@ + + + + 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..656baa6d9 --- /dev/null +++ b/41_fi.html @@ -0,0 +1,54 @@ + + + + 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..a976bb1a1 --- /dev/null +++ b/41_fr.html @@ -0,0 +1,55 @@ + + + + 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..f9ee54cdd --- /dev/null +++ b/41_gr.html @@ -0,0 +1,51 @@ + + + + Ξενάγηση στη 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..664d5923c --- /dev/null +++ b/41_hu.html @@ -0,0 +1,54 @@ + + + + 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..13decf710 --- /dev/null +++ b/41_id.html @@ -0,0 +1,54 @@ + + + + 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..e4c829cab --- /dev/null +++ b/41_ie.html @@ -0,0 +1,55 @@ + + + + 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..85d1b0b81 --- /dev/null +++ b/41_it.html @@ -0,0 +1,54 @@ + + + + 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..a362e9b2e --- /dev/null +++ b/41_ja.html @@ -0,0 +1,55 @@ + + + + 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..c4473c7d5 --- /dev/null +++ b/41_ko.html @@ -0,0 +1,54 @@ + + + + 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_pl.html b/41_pl.html new file mode 100644 index 000000000..1ba63b69a --- /dev/null +++ b/41_pl.html @@ -0,0 +1,53 @@ + + + + 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..4977659ee --- /dev/null +++ b/41_pt-br.html @@ -0,0 +1,51 @@ + + + + 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..49df2ce15 --- /dev/null +++ b/41_ro.html @@ -0,0 +1,54 @@ + + + + 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..c72c9a9c5 --- /dev/null +++ b/41_ru.html @@ -0,0 +1,54 @@ + + + + Тур по 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..78596f1e4 --- /dev/null +++ b/41_th.html @@ -0,0 +1,52 @@ + + + + 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..fd16b7b76 --- /dev/null +++ b/41_tr.html @@ -0,0 +1,51 @@ + + + + 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..d668c08e0 --- /dev/null +++ b/41_ua.html @@ -0,0 +1,52 @@ + + + + Тур по 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..24945eba1 --- /dev/null +++ b/41_vi.html @@ -0,0 +1,51 @@ + + + + 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..fc3ddf170 --- /dev/null +++ b/41_zh-cn.html @@ -0,0 +1,53 @@ + + + + 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..7404d7115 --- /dev/null +++ b/41_zh-tw.html @@ -0,0 +1,52 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第四章 - 總結

+

在這個章節,我們學到了泛型給了我們多強大的力量!如果你沒有完全理解你要怎麼使用,那也別擔心, 現在開始正是時候好好的注意這些主要概念,而且你將會一而再,再而三的在程式碼裡看到它們。 +我們的函數將將會越來越長!在下一章節裡,我們將會討論 Rust 裡很重要的概念:資料擁有權 (data ownership)。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/43_ar.html b/43_ar.html new file mode 100644 index 000000000..ec97c135c --- /dev/null +++ b/43_ar.html @@ -0,0 +1,53 @@ + + + + دورة تعلم رست (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..9033fc687 --- /dev/null +++ b/43_de.html @@ -0,0 +1,54 @@ + + + + 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..f6f449a5d --- /dev/null +++ b/43_en.html @@ -0,0 +1,54 @@ + + + + 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..211fc837f --- /dev/null +++ b/43_es.html @@ -0,0 +1,53 @@ + + + + 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..144c73651 --- /dev/null +++ b/43_fa.html @@ -0,0 +1,54 @@ + + + + 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..47923457a --- /dev/null +++ b/43_fi.html @@ -0,0 +1,54 @@ + + + + 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..a6c73bd00 --- /dev/null +++ b/43_fr.html @@ -0,0 +1,55 @@ + + + + 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..d2ad4bc48 --- /dev/null +++ b/43_gr.html @@ -0,0 +1,53 @@ + + + + Ξενάγηση στη 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..3245de0ea --- /dev/null +++ b/43_hu.html @@ -0,0 +1,55 @@ + + + + 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..13295d5ef --- /dev/null +++ b/43_id.html @@ -0,0 +1,54 @@ + + + + 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..7bb8cf706 --- /dev/null +++ b/43_ie.html @@ -0,0 +1,54 @@ + + + + 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..539cc5e68 --- /dev/null +++ b/43_it.html @@ -0,0 +1,54 @@ + + + + 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..8696848f4 --- /dev/null +++ b/43_ja.html @@ -0,0 +1,54 @@ + + + + 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..c9228dfb0 --- /dev/null +++ b/43_ko.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

소유권

+

자료형을 인스턴스화 하여 변수명에 할당(binding)하는 행위는 +Rust 컴파일러가 전체 생명주기(lifetime)동안 검증할 메모리 리소스를 생성하는 것입니다. +할당된 변수는 리소스의 소유자(owner)라고 불립니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/43_pl.html b/43_pl.html new file mode 100644 index 000000000..a238c793b --- /dev/null +++ b/43_pl.html @@ -0,0 +1,54 @@ + + + + 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..17224b740 --- /dev/null +++ b/43_pt-br.html @@ -0,0 +1,53 @@ + + + + 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..4b5a9982e --- /dev/null +++ b/43_ro.html @@ -0,0 +1,54 @@ + + + + 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..eea63b1d8 --- /dev/null +++ b/43_ru.html @@ -0,0 +1,53 @@ + + + + Тур по 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..b9e47ab40 --- /dev/null +++ b/43_th.html @@ -0,0 +1,53 @@ + + + + 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..23d94017b --- /dev/null +++ b/43_tr.html @@ -0,0 +1,53 @@ + + + + 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..7c505db8c --- /dev/null +++ b/43_ua.html @@ -0,0 +1,54 @@ + + + + Тур по 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..f802ef7a8 --- /dev/null +++ b/43_vi.html @@ -0,0 +1,53 @@ + + + + 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..80900192e --- /dev/null +++ b/43_zh-cn.html @@ -0,0 +1,53 @@ + + + + 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..51483521d --- /dev/null +++ b/43_zh-tw.html @@ -0,0 +1,53 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

擁有權 (ownership)

+

實體化一種型別並到一個變量時,會產生記憶體資源,而該記憶體資源的整個生命週期都會被 Rust 編譯器驗證過。 綁定的變量就稱作記憶體資源的擁有者

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/44_ar.html b/44_ar.html new file mode 100644 index 000000000..826b6d3d0 --- /dev/null +++ b/44_ar.html @@ -0,0 +1,59 @@ + + + + دورة تعلم رست (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..22c8909a5 --- /dev/null +++ b/44_de.html @@ -0,0 +1,59 @@ + + + + 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..9fb5a1f9d --- /dev/null +++ b/44_en.html @@ -0,0 +1,59 @@ + + + + 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..e95c1807c --- /dev/null +++ b/44_es.html @@ -0,0 +1,60 @@ + + + + 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..34c31b1ac --- /dev/null +++ b/44_fa.html @@ -0,0 +1,59 @@ + + + + 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..7ced2b5ef --- /dev/null +++ b/44_fi.html @@ -0,0 +1,59 @@ + + + + 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..227ca716c --- /dev/null +++ b/44_fr.html @@ -0,0 +1,60 @@ + + + + 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..77324828a --- /dev/null +++ b/44_gr.html @@ -0,0 +1,58 @@ + + + + Ξενάγηση στη 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..4dd6ea7dc --- /dev/null +++ b/44_hu.html @@ -0,0 +1,60 @@ + + + + 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..07592d794 --- /dev/null +++ b/44_id.html @@ -0,0 +1,59 @@ + + + + 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..624b12c68 --- /dev/null +++ b/44_ie.html @@ -0,0 +1,59 @@ + + + + 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..9a91fb01c --- /dev/null +++ b/44_it.html @@ -0,0 +1,59 @@ + + + + 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..1ea69d118 --- /dev/null +++ b/44_ja.html @@ -0,0 +1,59 @@ + + + + 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..bc6e2c234 --- /dev/null +++ b/44_ko.html @@ -0,0 +1,59 @@ + + + + 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_pl.html b/44_pl.html new file mode 100644 index 000000000..21ebfc806 --- /dev/null +++ b/44_pl.html @@ -0,0 +1,62 @@ + + + + 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..70fa36bb3 --- /dev/null +++ b/44_pt-br.html @@ -0,0 +1,59 @@ + + + + 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..015dc1f36 --- /dev/null +++ b/44_ro.html @@ -0,0 +1,59 @@ + + + + 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..424e387e8 --- /dev/null +++ b/44_ru.html @@ -0,0 +1,59 @@ + + + + Тур по 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..a0f429d0f --- /dev/null +++ b/44_th.html @@ -0,0 +1,59 @@ + + + + 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..de56bdd21 --- /dev/null +++ b/44_tr.html @@ -0,0 +1,59 @@ + + + + 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..f58f141b9 --- /dev/null +++ b/44_ua.html @@ -0,0 +1,62 @@ + + + + Тур по 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..b162cd6d8 --- /dev/null +++ b/44_vi.html @@ -0,0 +1,60 @@ + + + + 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..06d5a4f34 --- /dev/null +++ b/44_zh-cn.html @@ -0,0 +1,58 @@ + + + + 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..a629550ab --- /dev/null +++ b/44_zh-tw.html @@ -0,0 +1,59 @@ + + + + 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_ar.html b/45_ar.html new file mode 100644 index 000000000..9cbcc2ecd --- /dev/null +++ b/45_ar.html @@ -0,0 +1,58 @@ + + + + دورة تعلم رست (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..8d420b243 --- /dev/null +++ b/45_de.html @@ -0,0 +1,58 @@ + + + + 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..fdf2b5549 --- /dev/null +++ b/45_en.html @@ -0,0 +1,58 @@ + + + + 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..326694e4d --- /dev/null +++ b/45_es.html @@ -0,0 +1,58 @@ + + + + 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..cac3554be --- /dev/null +++ b/45_fa.html @@ -0,0 +1,58 @@ + + + + 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..eccb652d0 --- /dev/null +++ b/45_fi.html @@ -0,0 +1,58 @@ + + + + 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..dbaffd5c6 --- /dev/null +++ b/45_fr.html @@ -0,0 +1,59 @@ + + + + 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..b2235c1f0 --- /dev/null +++ b/45_gr.html @@ -0,0 +1,58 @@ + + + + Ξενάγηση στη 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..18bdc9370 --- /dev/null +++ b/45_hu.html @@ -0,0 +1,60 @@ + + + + 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..c0412f770 --- /dev/null +++ b/45_id.html @@ -0,0 +1,58 @@ + + + + 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..09ca0c8e0 --- /dev/null +++ b/45_ie.html @@ -0,0 +1,58 @@ + + + + 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..079f90b86 --- /dev/null +++ b/45_it.html @@ -0,0 +1,58 @@ + + + + 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..642d46481 --- /dev/null +++ b/45_ja.html @@ -0,0 +1,58 @@ + + + + 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..5d08721a2 --- /dev/null +++ b/45_ko.html @@ -0,0 +1,58 @@ + + + + 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_pl.html b/45_pl.html new file mode 100644 index 000000000..023077841 --- /dev/null +++ b/45_pl.html @@ -0,0 +1,58 @@ + + + + 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..7c683c6b0 --- /dev/null +++ b/45_pt-br.html @@ -0,0 +1,58 @@ + + + + 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..a6508cd68 --- /dev/null +++ b/45_ro.html @@ -0,0 +1,58 @@ + + + + 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..ca393b706 --- /dev/null +++ b/45_ru.html @@ -0,0 +1,58 @@ + + + + Тур по 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..c64574317 --- /dev/null +++ b/45_th.html @@ -0,0 +1,58 @@ + + + + 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..5dc4a60e5 --- /dev/null +++ b/45_tr.html @@ -0,0 +1,58 @@ + + + + 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..e643845d8 --- /dev/null +++ b/45_ua.html @@ -0,0 +1,58 @@ + + + + Тур по 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..e32ed7f9b --- /dev/null +++ b/45_vi.html @@ -0,0 +1,58 @@ + + + + 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..719dfa551 --- /dev/null +++ b/45_zh-cn.html @@ -0,0 +1,58 @@ + + + + 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..8b8f9e2a8 --- /dev/null +++ b/45_zh-tw.html @@ -0,0 +1,58 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

徹下是有階級的

+

當一備結構被徹下時,該結構本身會先被徹下,再來是它的子結構逐一被徹下。

+

記憶體細節:

+
    +
  • 當自動釋放記憶體時,Rust 會幫你確保有更少的記憶體洩漏 (memory leaks)
  • +
  • 記憶體資源只能被徹下一次
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/46_ar.html b/46_ar.html new file mode 100644 index 000000000..49b9899ce --- /dev/null +++ b/46_ar.html @@ -0,0 +1,58 @@ + + + + دورة تعلم رست (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..8cd1142c6 --- /dev/null +++ b/46_de.html @@ -0,0 +1,58 @@ + + + + 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..e1c727212 --- /dev/null +++ b/46_en.html @@ -0,0 +1,58 @@ + + + + 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..d85d182ea --- /dev/null +++ b/46_es.html @@ -0,0 +1,58 @@ + + + + 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..482edd818 --- /dev/null +++ b/46_fa.html @@ -0,0 +1,58 @@ + + + + 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..5751f1f04 --- /dev/null +++ b/46_fi.html @@ -0,0 +1,58 @@ + + + + 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..b50cac044 --- /dev/null +++ b/46_fr.html @@ -0,0 +1,58 @@ + + + + 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..839c4c1e0 --- /dev/null +++ b/46_gr.html @@ -0,0 +1,59 @@ + + + + Ξενάγηση στη 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..f65741155 --- /dev/null +++ b/46_hu.html @@ -0,0 +1,60 @@ + + + + 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..6c98ed85b --- /dev/null +++ b/46_id.html @@ -0,0 +1,58 @@ + + + + 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..e79973ff1 --- /dev/null +++ b/46_ie.html @@ -0,0 +1,59 @@ + + + + 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..b9b3c19f7 --- /dev/null +++ b/46_it.html @@ -0,0 +1,58 @@ + + + + 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..c7e7eb3a1 --- /dev/null +++ b/46_ja.html @@ -0,0 +1,58 @@ + + + + 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..7ccb2f3a5 --- /dev/null +++ b/46_ko.html @@ -0,0 +1,58 @@ + + + + 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_pl.html b/46_pl.html new file mode 100644 index 000000000..05f37eb8f --- /dev/null +++ b/46_pl.html @@ -0,0 +1,58 @@ + + + + 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..3b325a16a --- /dev/null +++ b/46_pt-br.html @@ -0,0 +1,58 @@ + + + + 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..62a62d0af --- /dev/null +++ b/46_ro.html @@ -0,0 +1,58 @@ + + + + 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..8c812eead --- /dev/null +++ b/46_ru.html @@ -0,0 +1,58 @@ + + + + Тур по 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..bf782323b --- /dev/null +++ b/46_th.html @@ -0,0 +1,58 @@ + + + + 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..53108ed17 --- /dev/null +++ b/46_tr.html @@ -0,0 +1,58 @@ + + + + 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..03634b806 --- /dev/null +++ b/46_ua.html @@ -0,0 +1,58 @@ + + + + Тур по 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..1eae9e783 --- /dev/null +++ b/46_vi.html @@ -0,0 +1,58 @@ + + + + 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..28de52ae5 --- /dev/null +++ b/46_zh-cn.html @@ -0,0 +1,57 @@ + + + + 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..ff0ff67bc --- /dev/null +++ b/46_zh-tw.html @@ -0,0 +1,58 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

擁有權轉移

+

當一個擁有者被當作參數 (argument) 傳遞到函數時,擁有權則被轉移給該函式的參數 (parameter)。

+

在經過轉移後,在原本函數的變量就無法再被使用了。

+

記憶體細節:

+
    +
  • 轉移的過程中,堆疊記憶體的擁有者將被複製到函數參數的堆疊記憶體。
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/47_ar.html b/47_ar.html new file mode 100644 index 000000000..8cf041b9d --- /dev/null +++ b/47_ar.html @@ -0,0 +1,53 @@ + + + + دورة تعلم رست (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..64836e1c9 --- /dev/null +++ b/47_de.html @@ -0,0 +1,53 @@ + + + + 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..4dd8bd697 --- /dev/null +++ b/47_en.html @@ -0,0 +1,53 @@ + + + + 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..75d8d93ba --- /dev/null +++ b/47_es.html @@ -0,0 +1,53 @@ + + + + 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..f7160bacc --- /dev/null +++ b/47_fa.html @@ -0,0 +1,53 @@ + + + + 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..a21d7b900 --- /dev/null +++ b/47_fi.html @@ -0,0 +1,53 @@ + + + + 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..b99b86ac1 --- /dev/null +++ b/47_fr.html @@ -0,0 +1,53 @@ + + + + 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..06765857c --- /dev/null +++ b/47_gr.html @@ -0,0 +1,53 @@ + + + + Ξενάγηση στη 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..29268800f --- /dev/null +++ b/47_hu.html @@ -0,0 +1,53 @@ + + + + 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..1ad8e94e3 --- /dev/null +++ b/47_id.html @@ -0,0 +1,53 @@ + + + + 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..b085c89ad --- /dev/null +++ b/47_ie.html @@ -0,0 +1,53 @@ + + + + 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..86d243886 --- /dev/null +++ b/47_it.html @@ -0,0 +1,53 @@ + + + + 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..48aab8191 --- /dev/null +++ b/47_ja.html @@ -0,0 +1,53 @@ + + + + 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..1d773f5e5 --- /dev/null +++ b/47_ko.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

소유권 리턴하기

+

ownership은 함수에서도 리턴될 수 있습니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/47_pl.html b/47_pl.html new file mode 100644 index 000000000..fb2a58d22 --- /dev/null +++ b/47_pl.html @@ -0,0 +1,53 @@ + + + + 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..590bed371 --- /dev/null +++ b/47_pt-br.html @@ -0,0 +1,53 @@ + + + + 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..f23665d72 --- /dev/null +++ b/47_ro.html @@ -0,0 +1,53 @@ + + + + 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..5a387c230 --- /dev/null +++ b/47_ru.html @@ -0,0 +1,53 @@ + + + + Тур по 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..d93a0d86a --- /dev/null +++ b/47_th.html @@ -0,0 +1,53 @@ + + + + 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..32193ccc5 --- /dev/null +++ b/47_tr.html @@ -0,0 +1,53 @@ + + + + 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..68a9d3de2 --- /dev/null +++ b/47_ua.html @@ -0,0 +1,55 @@ + + + + Тур по 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..3f54aa0e4 --- /dev/null +++ b/47_vi.html @@ -0,0 +1,53 @@ + + + + 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..8af64dc8a --- /dev/null +++ b/47_zh-cn.html @@ -0,0 +1,53 @@ + + + + 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..67656a634 --- /dev/null +++ b/47_zh-tw.html @@ -0,0 +1,53 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

擁有權歸還

+

擁有權可以從一個函式被歸還。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/48_ar.html b/48_ar.html new file mode 100644 index 000000000..80f758064 --- /dev/null +++ b/48_ar.html @@ -0,0 +1,54 @@ + + + + دورة تعلم رست (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..a42e0ca56 --- /dev/null +++ b/48_de.html @@ -0,0 +1,54 @@ + + + + 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..3b839dca8 --- /dev/null +++ b/48_en.html @@ -0,0 +1,54 @@ + + + + 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..0690f5d71 --- /dev/null +++ b/48_es.html @@ -0,0 +1,54 @@ + + + + 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..4614035f6 --- /dev/null +++ b/48_fa.html @@ -0,0 +1,54 @@ + + + + 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..98c438be3 --- /dev/null +++ b/48_fi.html @@ -0,0 +1,54 @@ + + + + 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..a099497e9 --- /dev/null +++ b/48_fr.html @@ -0,0 +1,54 @@ + + + + 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..a5c8b80a9 --- /dev/null +++ b/48_gr.html @@ -0,0 +1,53 @@ + + + + Ξενάγηση στη 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..ac2704df1 --- /dev/null +++ b/48_hu.html @@ -0,0 +1,55 @@ + + + + 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..1d6f0bb18 --- /dev/null +++ b/48_id.html @@ -0,0 +1,54 @@ + + + + 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..b65c0f43e --- /dev/null +++ b/48_ie.html @@ -0,0 +1,54 @@ + + + + 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..998eae4c7 --- /dev/null +++ b/48_it.html @@ -0,0 +1,54 @@ + + + + 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..a9186cf36 --- /dev/null +++ b/48_ja.html @@ -0,0 +1,54 @@ + + + + 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..fbcafa2e4 --- /dev/null +++ b/48_ko.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

참조로 소유권 대여하기

+

& 연산자를 통해 참조로 리소스에 대한 접근권한을 대여할 수 있습니다.

+

참조도 다른 리소스와 마찬가지로 drop 됩니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/48_pl.html b/48_pl.html new file mode 100644 index 000000000..b97611483 --- /dev/null +++ b/48_pl.html @@ -0,0 +1,55 @@ + + + + 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..bc23ea0af --- /dev/null +++ b/48_pt-br.html @@ -0,0 +1,54 @@ + + + + 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..7bd22e6d1 --- /dev/null +++ b/48_ro.html @@ -0,0 +1,54 @@ + + + + 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..e6f573c23 --- /dev/null +++ b/48_ru.html @@ -0,0 +1,54 @@ + + + + Тур по 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..f8dfdd3ad --- /dev/null +++ b/48_th.html @@ -0,0 +1,54 @@ + + + + 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..dcadc4015 --- /dev/null +++ b/48_tr.html @@ -0,0 +1,54 @@ + + + + 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..e14aca10e --- /dev/null +++ b/48_ua.html @@ -0,0 +1,55 @@ + + + + Тур по 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..01a09bcf5 --- /dev/null +++ b/48_vi.html @@ -0,0 +1,54 @@ + + + + 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..497f9b9b2 --- /dev/null +++ b/48_zh-cn.html @@ -0,0 +1,54 @@ + + + + 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..64df6a84f --- /dev/null +++ b/48_zh-tw.html @@ -0,0 +1,54 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

從參考 (references) 借擁有權

+

參考允許我們透過 & 運算子向一個資源借進入權。

+

參考與其他資源一樣會被徹下。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/49_ar.html b/49_ar.html new file mode 100644 index 000000000..563d4e141 --- /dev/null +++ b/49_ar.html @@ -0,0 +1,58 @@ + + + + دورة تعلم رست (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..f5cd560b0 --- /dev/null +++ b/49_de.html @@ -0,0 +1,58 @@ + + + + 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..f3877d21d --- /dev/null +++ b/49_en.html @@ -0,0 +1,58 @@ + + + + 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..b85cb17f3 --- /dev/null +++ b/49_es.html @@ -0,0 +1,58 @@ + + + + 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..41b73608f --- /dev/null +++ b/49_fa.html @@ -0,0 +1,58 @@ + + + + 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..d3b50b8e2 --- /dev/null +++ b/49_fi.html @@ -0,0 +1,58 @@ + + + + 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..1c9ce716e --- /dev/null +++ b/49_fr.html @@ -0,0 +1,61 @@ + + + + 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..d8a1b5981 --- /dev/null +++ b/49_gr.html @@ -0,0 +1,58 @@ + + + + Ξενάγηση στη 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..c164d808c --- /dev/null +++ b/49_hu.html @@ -0,0 +1,60 @@ + + + + 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..0845ee15b --- /dev/null +++ b/49_id.html @@ -0,0 +1,58 @@ + + + + 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..f01f75955 --- /dev/null +++ b/49_ie.html @@ -0,0 +1,58 @@ + + + + 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..57f6bd506 --- /dev/null +++ b/49_it.html @@ -0,0 +1,58 @@ + + + + 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..528a0d8b8 --- /dev/null +++ b/49_ja.html @@ -0,0 +1,58 @@ + + + + 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..285f66244 --- /dev/null +++ b/49_ko.html @@ -0,0 +1,58 @@ + + + + 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_pl.html b/49_pl.html new file mode 100644 index 000000000..c2da4f68d --- /dev/null +++ b/49_pl.html @@ -0,0 +1,58 @@ + + + + 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..1e089c882 --- /dev/null +++ b/49_pt-br.html @@ -0,0 +1,58 @@ + + + + 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..471e0178e --- /dev/null +++ b/49_ro.html @@ -0,0 +1,58 @@ + + + + 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..ca4d8de47 --- /dev/null +++ b/49_ru.html @@ -0,0 +1,58 @@ + + + + Тур по 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..b5e786e1a --- /dev/null +++ b/49_th.html @@ -0,0 +1,58 @@ + + + + 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..a57f1add2 --- /dev/null +++ b/49_tr.html @@ -0,0 +1,58 @@ + + + + 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..91ecb5208 --- /dev/null +++ b/49_ua.html @@ -0,0 +1,58 @@ + + + + Тур по 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..e83be6d4f --- /dev/null +++ b/49_vi.html @@ -0,0 +1,58 @@ + + + + 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..b2901d372 --- /dev/null +++ b/49_zh-cn.html @@ -0,0 +1,57 @@ + + + + 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..a03d7c049 --- /dev/null +++ b/49_zh-tw.html @@ -0,0 +1,58 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

從參考借可變 (mutable) 的擁有權

+

我們可以透過 &mut 運算子向一個資源借可變的進入權。

+

在可變動的借出時,一個資源擁有者無法被轉移或修改。

+

記憶體細節:

+
    +
  • Rust 避免有兩種方式可以修改一個被他人擁有的數值,因為這使得資料競爭 (data race) 有機會發生。
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/50_ar.html b/50_ar.html new file mode 100644 index 000000000..513210626 --- /dev/null +++ b/50_ar.html @@ -0,0 +1,54 @@ + + + + دورة تعلم رست (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..f91505618 --- /dev/null +++ b/50_de.html @@ -0,0 +1,54 @@ + + + + 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..4e8b3ff0d --- /dev/null +++ b/50_en.html @@ -0,0 +1,54 @@ + + + + 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..a653ecc29 --- /dev/null +++ b/50_es.html @@ -0,0 +1,54 @@ + + + + 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..dc8011b56 --- /dev/null +++ b/50_fa.html @@ -0,0 +1,54 @@ + + + + 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..908a0b875 --- /dev/null +++ b/50_fi.html @@ -0,0 +1,54 @@ + + + + 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..7f93a4071 --- /dev/null +++ b/50_fr.html @@ -0,0 +1,56 @@ + + + + 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..ec91a072a --- /dev/null +++ b/50_gr.html @@ -0,0 +1,54 @@ + + + + Ξενάγηση στη 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..c3f934898 --- /dev/null +++ b/50_hu.html @@ -0,0 +1,55 @@ + + + + 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..fcf13afef --- /dev/null +++ b/50_id.html @@ -0,0 +1,54 @@ + + + + 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..409c0444a --- /dev/null +++ b/50_ie.html @@ -0,0 +1,55 @@ + + + + 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..83af96f52 --- /dev/null +++ b/50_it.html @@ -0,0 +1,54 @@ + + + + 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..167a7445e --- /dev/null +++ b/50_ja.html @@ -0,0 +1,54 @@ + + + + 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..ea4646051 --- /dev/null +++ b/50_ko.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

역참조

+

&mut 참조를 이용해 * 연산자로 owner의 값을 설정할 수 있습니다.

+

* 연산자로 own된 값의 복사본도 가져올 수 있습니다 (복사 가능한 경우만 - 복사 가능한 자료형에 대해서는 이후에 설명하겠습니다).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/50_pl.html b/50_pl.html new file mode 100644 index 000000000..bd9826693 --- /dev/null +++ b/50_pl.html @@ -0,0 +1,54 @@ + + + + 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..7e9aaecd0 --- /dev/null +++ b/50_pt-br.html @@ -0,0 +1,54 @@ + + + + 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..e73b5f85a --- /dev/null +++ b/50_ro.html @@ -0,0 +1,54 @@ + + + + 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..65ddc0772 --- /dev/null +++ b/50_ru.html @@ -0,0 +1,54 @@ + + + + Тур по 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..e21bd22ff --- /dev/null +++ b/50_th.html @@ -0,0 +1,54 @@ + + + + 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..a2476d141 --- /dev/null +++ b/50_tr.html @@ -0,0 +1,54 @@ + + + + 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..4e59e77ea --- /dev/null +++ b/50_ua.html @@ -0,0 +1,54 @@ + + + + Тур по 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..9726e9d7b --- /dev/null +++ b/50_vi.html @@ -0,0 +1,54 @@ + + + + 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..4991ccc11 --- /dev/null +++ b/50_zh-cn.html @@ -0,0 +1,53 @@ + + + + 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..75499d16b --- /dev/null +++ b/50_zh-tw.html @@ -0,0 +1,54 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

解參考 (dereferencing)

+

使用 &mut 參考時,你可以透過 * 運算子來設定擁有者的數值。

+

你也可以透過 * 運算子得到一份複製的數值 (如果該數值是可以被複製的話,我們將會在後續章節探討型別的可複製性)。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/51_ar.html b/51_ar.html new file mode 100644 index 000000000..e75f3b339 --- /dev/null +++ b/51_ar.html @@ -0,0 +1,63 @@ + + + + دورة تعلم رست (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..5afbab554 --- /dev/null +++ b/51_de.html @@ -0,0 +1,63 @@ + + + + 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..5a8ab447f --- /dev/null +++ b/51_en.html @@ -0,0 +1,63 @@ + + + + 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..966ceaa45 --- /dev/null +++ b/51_es.html @@ -0,0 +1,63 @@ + + + + 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..02677cedd --- /dev/null +++ b/51_fa.html @@ -0,0 +1,63 @@ + + + + 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..04a8d12e3 --- /dev/null +++ b/51_fi.html @@ -0,0 +1,63 @@ + + + + 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..cccc280f8 --- /dev/null +++ b/51_fr.html @@ -0,0 +1,68 @@ + + + + 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..073ffaec7 --- /dev/null +++ b/51_gr.html @@ -0,0 +1,63 @@ + + + + Ξενάγηση στη 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..23fb5df62 --- /dev/null +++ b/51_hu.html @@ -0,0 +1,68 @@ + + + + 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..4ca18f77c --- /dev/null +++ b/51_id.html @@ -0,0 +1,63 @@ + + + + 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..03dbccf47 --- /dev/null +++ b/51_ie.html @@ -0,0 +1,63 @@ + + + + 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..306ed05fd --- /dev/null +++ b/51_it.html @@ -0,0 +1,67 @@ + + + + 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..a0af728c3 --- /dev/null +++ b/51_ja.html @@ -0,0 +1,65 @@ + + + + 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..14977a37d --- /dev/null +++ b/51_ko.html @@ -0,0 +1,63 @@ + + + + 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_pl.html b/51_pl.html new file mode 100644 index 000000000..304dc3706 --- /dev/null +++ b/51_pl.html @@ -0,0 +1,63 @@ + + + + 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..36d922120 --- /dev/null +++ b/51_pt-br.html @@ -0,0 +1,63 @@ + + + + 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..6e4a9e13f --- /dev/null +++ b/51_ro.html @@ -0,0 +1,63 @@ + + + + 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..7827b2d35 --- /dev/null +++ b/51_ru.html @@ -0,0 +1,66 @@ + + + + Тур по 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..ba16c4236 --- /dev/null +++ b/51_th.html @@ -0,0 +1,63 @@ + + + + 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..87d1cd7dc --- /dev/null +++ b/51_tr.html @@ -0,0 +1,66 @@ + + + + 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..887c1199a --- /dev/null +++ b/51_ua.html @@ -0,0 +1,63 @@ + + + + Тур по 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..12fb31c96 --- /dev/null +++ b/51_vi.html @@ -0,0 +1,63 @@ + + + + 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..6a807f19f --- /dev/null +++ b/51_zh-cn.html @@ -0,0 +1,63 @@ + + + + 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..f672268ad --- /dev/null +++ b/51_zh-tw.html @@ -0,0 +1,64 @@ + + + + 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_ar.html b/52_ar.html new file mode 100644 index 000000000..68f8d1f41 --- /dev/null +++ b/52_ar.html @@ -0,0 +1,53 @@ + + + + دورة تعلم رست (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..bc0610f5b --- /dev/null +++ b/52_de.html @@ -0,0 +1,53 @@ + + + + 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..fe84fb43c --- /dev/null +++ b/52_en.html @@ -0,0 +1,53 @@ + + + + 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..766c4b3f3 --- /dev/null +++ b/52_es.html @@ -0,0 +1,53 @@ + + + + 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..cadcdc26d --- /dev/null +++ b/52_fa.html @@ -0,0 +1,53 @@ + + + + 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..d26cd95c6 --- /dev/null +++ b/52_fi.html @@ -0,0 +1,53 @@ + + + + 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..fb1f8549f --- /dev/null +++ b/52_fr.html @@ -0,0 +1,53 @@ + + + + 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..e499c6d62 --- /dev/null +++ b/52_gr.html @@ -0,0 +1,53 @@ + + + + Ξενάγηση στη 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..25caa55b5 --- /dev/null +++ b/52_hu.html @@ -0,0 +1,53 @@ + + + + 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..63b9a473b --- /dev/null +++ b/52_id.html @@ -0,0 +1,53 @@ + + + + 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..7e4a3778f --- /dev/null +++ b/52_ie.html @@ -0,0 +1,53 @@ + + + + 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..9741c5def --- /dev/null +++ b/52_it.html @@ -0,0 +1,53 @@ + + + + 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..3a71e7f40 --- /dev/null +++ b/52_ja.html @@ -0,0 +1,53 @@ + + + + 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..911f6f68b --- /dev/null +++ b/52_ko.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

참조의 참조

+

참조는 심지어 참조에도 사용될 수 있습니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/52_pl.html b/52_pl.html new file mode 100644 index 000000000..9b978e5c0 --- /dev/null +++ b/52_pl.html @@ -0,0 +1,54 @@ + + + + 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..8aa02d206 --- /dev/null +++ b/52_pt-br.html @@ -0,0 +1,53 @@ + + + + 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..0e9eeb145 --- /dev/null +++ b/52_ro.html @@ -0,0 +1,53 @@ + + + + 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..9ff301360 --- /dev/null +++ b/52_ru.html @@ -0,0 +1,53 @@ + + + + Тур по 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..c8eca7601 --- /dev/null +++ b/52_th.html @@ -0,0 +1,53 @@ + + + + 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..00084cb4a --- /dev/null +++ b/52_tr.html @@ -0,0 +1,54 @@ + + + + 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..85fe890e7 --- /dev/null +++ b/52_ua.html @@ -0,0 +1,53 @@ + + + + Тур по 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..4f9e2649d --- /dev/null +++ b/52_vi.html @@ -0,0 +1,53 @@ + + + + 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..85525f54e --- /dev/null +++ b/52_zh-cn.html @@ -0,0 +1,53 @@ + + + + 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..1141a35e0 --- /dev/null +++ b/52_zh-tw.html @@ -0,0 +1,53 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

參考的參考 (references of references)

+

參考甚至可以被用在其他參考上。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/53_ar.html b/53_ar.html new file mode 100644 index 000000000..297be7350 --- /dev/null +++ b/53_ar.html @@ -0,0 +1,55 @@ + + + + دورة تعلم رست (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..f567778d1 --- /dev/null +++ b/53_de.html @@ -0,0 +1,57 @@ + + + + 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..a1ef36a49 --- /dev/null +++ b/53_en.html @@ -0,0 +1,57 @@ + + + + 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..59205cb1e --- /dev/null +++ b/53_es.html @@ -0,0 +1,55 @@ + + + + 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..64f8d02bc --- /dev/null +++ b/53_fa.html @@ -0,0 +1,57 @@ + + + + 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..8de9aa0c8 --- /dev/null +++ b/53_fi.html @@ -0,0 +1,57 @@ + + + + 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..9d399d7cf --- /dev/null +++ b/53_fr.html @@ -0,0 +1,58 @@ + + + + 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..94ef5daa9 --- /dev/null +++ b/53_gr.html @@ -0,0 +1,57 @@ + + + + Ξενάγηση στη 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..7ca64612f --- /dev/null +++ b/53_hu.html @@ -0,0 +1,59 @@ + + + + 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..f3299fc12 --- /dev/null +++ b/53_id.html @@ -0,0 +1,57 @@ + + + + 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..c0a9805d5 --- /dev/null +++ b/53_ie.html @@ -0,0 +1,57 @@ + + + + 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..602e4fc67 --- /dev/null +++ b/53_it.html @@ -0,0 +1,57 @@ + + + + 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..711dd513e --- /dev/null +++ b/53_ja.html @@ -0,0 +1,55 @@ + + + + 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..1ccb656f9 --- /dev/null +++ b/53_ko.html @@ -0,0 +1,57 @@ + + + + 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_pl.html b/53_pl.html new file mode 100644 index 000000000..3a31b6795 --- /dev/null +++ b/53_pl.html @@ -0,0 +1,55 @@ + + + + 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..375c78866 --- /dev/null +++ b/53_pt-br.html @@ -0,0 +1,55 @@ + + + + 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..9f0ab2040 --- /dev/null +++ b/53_ro.html @@ -0,0 +1,57 @@ + + + + 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..ae4c28aa2 --- /dev/null +++ b/53_ru.html @@ -0,0 +1,57 @@ + + + + Тур по 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..869f1d2da --- /dev/null +++ b/53_th.html @@ -0,0 +1,55 @@ + + + + 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..294fc4a8e --- /dev/null +++ b/53_tr.html @@ -0,0 +1,55 @@ + + + + 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..7d8f6c3ea --- /dev/null +++ b/53_ua.html @@ -0,0 +1,55 @@ + + + + Тур по 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..8b259b38f --- /dev/null +++ b/53_vi.html @@ -0,0 +1,55 @@ + + + + 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..be1f8e4b7 --- /dev/null +++ b/53_zh-cn.html @@ -0,0 +1,53 @@ + + + + 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..94a04a1b3 --- /dev/null +++ b/53_zh-tw.html @@ -0,0 +1,55 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

明確的生命週期

+

雖然 Rust 並不一定會把生命週期顯示在程式碼中,但編譯器會理解每個變量的生命週期,並試著驗證參考不會存在比它的擁有者還久。

+

函式可以透過參數化函式簽章幫助我們確認哪些參數及回傳值是共享相同的生命週期。

+

生命週期標示永遠都以 ' 開頭 (例如:'a'b'c)

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/54_ar.html b/54_ar.html new file mode 100644 index 000000000..19bc674b6 --- /dev/null +++ b/54_ar.html @@ -0,0 +1,53 @@ + + + + دورة تعلم رست (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..b081351eb --- /dev/null +++ b/54_de.html @@ -0,0 +1,54 @@ + + + + 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..e1de97654 --- /dev/null +++ b/54_en.html @@ -0,0 +1,54 @@ + + + + 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..fe85a5569 --- /dev/null +++ b/54_es.html @@ -0,0 +1,53 @@ + + + + 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..852d1f389 --- /dev/null +++ b/54_fa.html @@ -0,0 +1,54 @@ + + + + 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..666a9a027 --- /dev/null +++ b/54_fi.html @@ -0,0 +1,54 @@ + + + + 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..6aa5cdbd9 --- /dev/null +++ b/54_fr.html @@ -0,0 +1,54 @@ + + + + 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..a1c2135fd --- /dev/null +++ b/54_gr.html @@ -0,0 +1,54 @@ + + + + Ξενάγηση στη 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..dd0ebc2d6 --- /dev/null +++ b/54_hu.html @@ -0,0 +1,54 @@ + + + + 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..5650e152e --- /dev/null +++ b/54_id.html @@ -0,0 +1,54 @@ + + + + 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..30740f07a --- /dev/null +++ b/54_ie.html @@ -0,0 +1,54 @@ + + + + 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..13017b020 --- /dev/null +++ b/54_it.html @@ -0,0 +1,54 @@ + + + + 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..d3197e45f --- /dev/null +++ b/54_ja.html @@ -0,0 +1,53 @@ + + + + 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..2739a274a --- /dev/null +++ b/54_ko.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

여러 개의 생명주기

+

lifetime 지정자는 컴파일러가 스스로 함수 매개변수들의 lifetime을 판별하지 못하는 경우, +이를 명시적으로 지정할 수 있게 도와줍니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/54_pl.html b/54_pl.html new file mode 100644 index 000000000..3ddd1edb1 --- /dev/null +++ b/54_pl.html @@ -0,0 +1,53 @@ + + + + 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..1430e47c3 --- /dev/null +++ b/54_pt-br.html @@ -0,0 +1,53 @@ + + + + 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..0f20f5d74 --- /dev/null +++ b/54_ro.html @@ -0,0 +1,54 @@ + + + + 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..6d8e56333 --- /dev/null +++ b/54_ru.html @@ -0,0 +1,54 @@ + + + + Тур по 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..956e5a69b --- /dev/null +++ b/54_th.html @@ -0,0 +1,53 @@ + + + + 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..1f1493106 --- /dev/null +++ b/54_tr.html @@ -0,0 +1,53 @@ + + + + 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..57202c33c --- /dev/null +++ b/54_ua.html @@ -0,0 +1,54 @@ + + + + Тур по 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..e928b7c5a --- /dev/null +++ b/54_vi.html @@ -0,0 +1,53 @@ + + + + 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..e6b280ea5 --- /dev/null +++ b/54_zh-cn.html @@ -0,0 +1,53 @@ + + + + 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..a056960ad --- /dev/null +++ b/54_zh-tw.html @@ -0,0 +1,53 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

多個生命週期

+

在編譯器無法解析的特定場合裡,生命週期標示允許我們明確的分辨所有函式簽章的生命週期。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/55_ar.html b/55_ar.html new file mode 100644 index 000000000..a3d4dacfe --- /dev/null +++ b/55_ar.html @@ -0,0 +1,62 @@ + + + + دورة تعلم رست (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..612720a62 --- /dev/null +++ b/55_de.html @@ -0,0 +1,65 @@ + + + + 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..f9dbd2fd6 --- /dev/null +++ b/55_en.html @@ -0,0 +1,65 @@ + + + + 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..6df8ca06a --- /dev/null +++ b/55_es.html @@ -0,0 +1,61 @@ + + + + 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..a27af8462 --- /dev/null +++ b/55_fa.html @@ -0,0 +1,65 @@ + + + + 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..c4d4a1daf --- /dev/null +++ b/55_fi.html @@ -0,0 +1,65 @@ + + + + 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..23bd687ff --- /dev/null +++ b/55_fr.html @@ -0,0 +1,69 @@ + + + + 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..a950a7996 --- /dev/null +++ b/55_gr.html @@ -0,0 +1,65 @@ + + + + Ξενάγηση στη 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..cc2e44848 --- /dev/null +++ b/55_hu.html @@ -0,0 +1,71 @@ + + + + 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..ecdac4ed1 --- /dev/null +++ b/55_id.html @@ -0,0 +1,65 @@ + + + + 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..0c21f18ea --- /dev/null +++ b/55_ie.html @@ -0,0 +1,66 @@ + + + + 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..2fa263a1c --- /dev/null +++ b/55_it.html @@ -0,0 +1,65 @@ + + + + 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..ea5b867f3 --- /dev/null +++ b/55_ja.html @@ -0,0 +1,66 @@ + + + + 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..aa9401326 --- /dev/null +++ b/55_ko.html @@ -0,0 +1,66 @@ + + + + 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_pl.html b/55_pl.html new file mode 100644 index 000000000..cf4842201 --- /dev/null +++ b/55_pl.html @@ -0,0 +1,61 @@ + + + + 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..1ac2c06bb --- /dev/null +++ b/55_pt-br.html @@ -0,0 +1,62 @@ + + + + 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..b7eb8ec4b --- /dev/null +++ b/55_ro.html @@ -0,0 +1,64 @@ + + + + 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..064804c65 --- /dev/null +++ b/55_ru.html @@ -0,0 +1,70 @@ + + + + Тур по 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..ca786ebd8 --- /dev/null +++ b/55_th.html @@ -0,0 +1,66 @@ + + + + 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..360fb8545 --- /dev/null +++ b/55_tr.html @@ -0,0 +1,65 @@ + + + + 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..69c3646a4 --- /dev/null +++ b/55_ua.html @@ -0,0 +1,60 @@ + + + + Тур по 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..09f714be8 --- /dev/null +++ b/55_vi.html @@ -0,0 +1,61 @@ + + + + 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..268e8785f --- /dev/null +++ b/55_zh-cn.html @@ -0,0 +1,58 @@ + + + + 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..fbbccf967 --- /dev/null +++ b/55_zh-tw.html @@ -0,0 +1,62 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

靜態生命週期 (static lifetimes)

+

一個靜態變量是在編譯時間就被產生的記憶體資源,它從程式一開始就存在,直到結束。它們一定要明確的表示型別。

+

一個靜態生命週期為一塊記憶體資源,它永遠存在直到程式結束。要注意的是,根據這項定義,有些靜態生命週期可以在執行時間才被產生出來。

+

有著靜態生命週期的資源,會有一個特殊的標示 'static'

+

'static' 資源永遠不會被徹下 (drop)。

+

如果靜態生命週期資源包含了參考,那它們必須都得是 'static' (少了任何東西則將活得不夠久)。

+

記憶體細節:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/56_ar.html b/56_ar.html new file mode 100644 index 000000000..d753a3938 --- /dev/null +++ b/56_ar.html @@ -0,0 +1,55 @@ + + + + دورة تعلم رست (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..4a8e80267 --- /dev/null +++ b/56_de.html @@ -0,0 +1,55 @@ + + + + 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..94d4e910b --- /dev/null +++ b/56_en.html @@ -0,0 +1,55 @@ + + + + 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..c5dba35dc --- /dev/null +++ b/56_es.html @@ -0,0 +1,55 @@ + + + + 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..a850f5382 --- /dev/null +++ b/56_fa.html @@ -0,0 +1,55 @@ + + + + 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..ee21e177d --- /dev/null +++ b/56_fi.html @@ -0,0 +1,55 @@ + + + + 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..1aa10353c --- /dev/null +++ b/56_fr.html @@ -0,0 +1,60 @@ + + + + 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..19681f7e3 --- /dev/null +++ b/56_gr.html @@ -0,0 +1,55 @@ + + + + Ξενάγηση στη 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..4a8f01c35 --- /dev/null +++ b/56_hu.html @@ -0,0 +1,56 @@ + + + + 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..0b2d1e31f --- /dev/null +++ b/56_id.html @@ -0,0 +1,55 @@ + + + + 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..3e8efedd9 --- /dev/null +++ b/56_ie.html @@ -0,0 +1,55 @@ + + + + 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..89a7ad2d7 --- /dev/null +++ b/56_it.html @@ -0,0 +1,55 @@ + + + + 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..562fd6321 --- /dev/null +++ b/56_ja.html @@ -0,0 +1,55 @@ + + + + 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..25756e050 --- /dev/null +++ b/56_ko.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

데이터 자료형의 생명주기

+

함수와 마찬가지로, 데이터 자료형의 구성원들도 lifetime 지정자로 지정할 수 있습니다.

+

Rust는 참조가 품고 있는 데이터 구조가 참조가 가리키는 owner보다 절대 오래 살아남지 못하도록 검증합니다.

+

아무 것도 아닌 것을 가리키는 참조를 들고 다니는 struct란 있을 수 없습니다!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/56_pl.html b/56_pl.html new file mode 100644 index 000000000..047ef9d0c --- /dev/null +++ b/56_pl.html @@ -0,0 +1,55 @@ + + + + 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..3617a8b3d --- /dev/null +++ b/56_pt-br.html @@ -0,0 +1,55 @@ + + + + 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..673e7a482 --- /dev/null +++ b/56_ro.html @@ -0,0 +1,55 @@ + + + + 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..7f596b7b8 --- /dev/null +++ b/56_ru.html @@ -0,0 +1,55 @@ + + + + Тур по 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..0c9c294d1 --- /dev/null +++ b/56_th.html @@ -0,0 +1,55 @@ + + + + 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..842624197 --- /dev/null +++ b/56_tr.html @@ -0,0 +1,55 @@ + + + + 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..34755af3b --- /dev/null +++ b/56_ua.html @@ -0,0 +1,55 @@ + + + + Тур по 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..c67b0186f --- /dev/null +++ b/56_vi.html @@ -0,0 +1,55 @@ + + + + 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..f0840eaca --- /dev/null +++ b/56_zh-cn.html @@ -0,0 +1,53 @@ + + + + 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..6ed227c62 --- /dev/null +++ b/56_zh-tw.html @@ -0,0 +1,55 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

資料型別的生命週期

+

與函式類似,資料型別也可以透過參數對它的成員設定生命週期。

+

Rust 會驗證包含資料結構的參考永遠不會存活的比它的擁有者的參考還久。

+

我們無法讓一個結構有一個不指到任何地方的參考到處執行。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/57_ar.html b/57_ar.html new file mode 100644 index 000000000..d952bbc4c --- /dev/null +++ b/57_ar.html @@ -0,0 +1,60 @@ + + + + دورة تعلم رست (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..d8a6aa5b0 --- /dev/null +++ b/57_de.html @@ -0,0 +1,62 @@ + + + + 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..877495eec --- /dev/null +++ b/57_en.html @@ -0,0 +1,62 @@ + + + + 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..3bb529bce --- /dev/null +++ b/57_es.html @@ -0,0 +1,60 @@ + + + + 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..33f784f69 --- /dev/null +++ b/57_fa.html @@ -0,0 +1,62 @@ + + + + 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..251cba750 --- /dev/null +++ b/57_fi.html @@ -0,0 +1,62 @@ + + + + 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..b3f4b7c14 --- /dev/null +++ b/57_fr.html @@ -0,0 +1,62 @@ + + + + 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..bd8a25bd3 --- /dev/null +++ b/57_gr.html @@ -0,0 +1,62 @@ + + + + Ξενάγηση στη 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..6d8512424 --- /dev/null +++ b/57_hu.html @@ -0,0 +1,63 @@ + + + + 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..2b7fe18f3 --- /dev/null +++ b/57_id.html @@ -0,0 +1,62 @@ + + + + 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..f01f910df --- /dev/null +++ b/57_ie.html @@ -0,0 +1,62 @@ + + + + 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..95767ac10 --- /dev/null +++ b/57_it.html @@ -0,0 +1,62 @@ + + + + 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..14af9fc26 --- /dev/null +++ b/57_ja.html @@ -0,0 +1,62 @@ + + + + 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..b020ba318 --- /dev/null +++ b/57_ko.html @@ -0,0 +1,62 @@ + + + + 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_pl.html b/57_pl.html new file mode 100644 index 000000000..abc110e3d --- /dev/null +++ b/57_pl.html @@ -0,0 +1,61 @@ + + + + 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..5cf64599c --- /dev/null +++ b/57_pt-br.html @@ -0,0 +1,60 @@ + + + + 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..13d7eb9c4 --- /dev/null +++ b/57_ro.html @@ -0,0 +1,62 @@ + + + + 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..c545fabb0 --- /dev/null +++ b/57_ru.html @@ -0,0 +1,63 @@ + + + + Тур по 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..3500e6f21 --- /dev/null +++ b/57_th.html @@ -0,0 +1,60 @@ + + + + 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..27389e943 --- /dev/null +++ b/57_tr.html @@ -0,0 +1,60 @@ + + + + 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..b3eed6645 --- /dev/null +++ b/57_ua.html @@ -0,0 +1,62 @@ + + + + Тур по 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..ef98dff37 --- /dev/null +++ b/57_vi.html @@ -0,0 +1,61 @@ + + + + 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..f3ddb104d --- /dev/null +++ b/57_zh-cn.html @@ -0,0 +1,60 @@ + + + + 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..bedb24484 --- /dev/null +++ b/57_zh-tw.html @@ -0,0 +1,60 @@ + + + + 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_ar.html b/59_ar.html new file mode 100644 index 000000000..2e8edd55b --- /dev/null +++ b/59_ar.html @@ -0,0 +1,63 @@ + + + + دورة تعلم رست (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..351e6347b --- /dev/null +++ b/59_de.html @@ -0,0 +1,61 @@ + + + + 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..9b62968a2 --- /dev/null +++ b/59_en.html @@ -0,0 +1,63 @@ + + + + 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..2ed02928f --- /dev/null +++ b/59_es.html @@ -0,0 +1,62 @@ + + + + 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..4797c8102 --- /dev/null +++ b/59_fa.html @@ -0,0 +1,63 @@ + + + + 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..ab51063fb --- /dev/null +++ b/59_fi.html @@ -0,0 +1,63 @@ + + + + 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..0bc365c2e --- /dev/null +++ b/59_fr.html @@ -0,0 +1,65 @@ + + + + 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..8abc676ec --- /dev/null +++ b/59_gr.html @@ -0,0 +1,63 @@ + + + + Ξενάγηση στη 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..1bc7867d5 --- /dev/null +++ b/59_hu.html @@ -0,0 +1,66 @@ + + + + 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..117f6ca2e --- /dev/null +++ b/59_id.html @@ -0,0 +1,63 @@ + + + + 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..a72f57acf --- /dev/null +++ b/59_ie.html @@ -0,0 +1,63 @@ + + + + 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..7a4c6048c --- /dev/null +++ b/59_it.html @@ -0,0 +1,63 @@ + + + + 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..f462d00e4 --- /dev/null +++ b/59_ja.html @@ -0,0 +1,63 @@ + + + + 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..a315cead9 --- /dev/null +++ b/59_ko.html @@ -0,0 +1,63 @@ + + + + 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_pl.html b/59_pl.html new file mode 100644 index 000000000..7a5dfc72d --- /dev/null +++ b/59_pl.html @@ -0,0 +1,63 @@ + + + + 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..dc145b98f --- /dev/null +++ b/59_pt-br.html @@ -0,0 +1,63 @@ + + + + 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..c024898ac --- /dev/null +++ b/59_ro.html @@ -0,0 +1,63 @@ + + + + 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..b6d6b5f24 --- /dev/null +++ b/59_ru.html @@ -0,0 +1,64 @@ + + + + Тур по 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..8dd4e9e56 --- /dev/null +++ b/59_th.html @@ -0,0 +1,63 @@ + + + + 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..a7dd46d4f --- /dev/null +++ b/59_tr.html @@ -0,0 +1,63 @@ + + + + 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..1f2c3ad3b --- /dev/null +++ b/59_ua.html @@ -0,0 +1,63 @@ + + + + Тур по 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..f64beaa0b --- /dev/null +++ b/59_vi.html @@ -0,0 +1,63 @@ + + + + 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..958197a5d --- /dev/null +++ b/59_zh-cn.html @@ -0,0 +1,63 @@ + + + + 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..688fa77d6 --- /dev/null +++ b/59_zh-tw.html @@ -0,0 +1,63 @@ + + + + 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_ar.html b/60_ar.html new file mode 100644 index 000000000..d690b26db --- /dev/null +++ b/60_ar.html @@ -0,0 +1,60 @@ + + + + دورة تعلم رست (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..2433c2d6d --- /dev/null +++ b/60_de.html @@ -0,0 +1,59 @@ + + + + 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..06e50927a --- /dev/null +++ b/60_en.html @@ -0,0 +1,60 @@ + + + + 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..938a5bdc1 --- /dev/null +++ b/60_es.html @@ -0,0 +1,58 @@ + + + + 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..f75330bef --- /dev/null +++ b/60_fa.html @@ -0,0 +1,60 @@ + + + + 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..dac3ab799 --- /dev/null +++ b/60_fi.html @@ -0,0 +1,60 @@ + + + + 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..be63e45d0 --- /dev/null +++ b/60_fr.html @@ -0,0 +1,66 @@ + + + + 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..028810585 --- /dev/null +++ b/60_gr.html @@ -0,0 +1,60 @@ + + + + Ξενάγηση στη 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..1d8966fbc --- /dev/null +++ b/60_hu.html @@ -0,0 +1,64 @@ + + + + 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..33ccec1ef --- /dev/null +++ b/60_id.html @@ -0,0 +1,60 @@ + + + + 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..7444938e9 --- /dev/null +++ b/60_ie.html @@ -0,0 +1,60 @@ + + + + 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..963abbad2 --- /dev/null +++ b/60_it.html @@ -0,0 +1,60 @@ + + + + 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..b86217c21 --- /dev/null +++ b/60_ja.html @@ -0,0 +1,57 @@ + + + + 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..276e87e6d --- /dev/null +++ b/60_ko.html @@ -0,0 +1,60 @@ + + + + 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_pl.html b/60_pl.html new file mode 100644 index 000000000..8f711e0d1 --- /dev/null +++ b/60_pl.html @@ -0,0 +1,60 @@ + + + + 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..706736ebf --- /dev/null +++ b/60_pt-br.html @@ -0,0 +1,57 @@ + + + + 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..1c195983e --- /dev/null +++ b/60_ro.html @@ -0,0 +1,60 @@ + + + + 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..90ce5acf8 --- /dev/null +++ b/60_ru.html @@ -0,0 +1,60 @@ + + + + Тур по 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..cfb7741e4 --- /dev/null +++ b/60_th.html @@ -0,0 +1,57 @@ + + + + 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..3ad95ebac --- /dev/null +++ b/60_tr.html @@ -0,0 +1,65 @@ + + + + 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..fd5a7a1c5 --- /dev/null +++ b/60_ua.html @@ -0,0 +1,60 @@ + + + + Тур по 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..b263d537a --- /dev/null +++ b/60_vi.html @@ -0,0 +1,58 @@ + + + + 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..b8cd7e4f6 --- /dev/null +++ b/60_zh-cn.html @@ -0,0 +1,57 @@ + + + + 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..63b572cfa --- /dev/null +++ b/60_zh-tw.html @@ -0,0 +1,58 @@ + + + + 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_ar.html b/61_ar.html new file mode 100644 index 000000000..4af58c04b --- /dev/null +++ b/61_ar.html @@ -0,0 +1,63 @@ + + + + دورة تعلم رست (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..ef47783f3 --- /dev/null +++ b/61_de.html @@ -0,0 +1,63 @@ + + + + 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..f8406f3db --- /dev/null +++ b/61_en.html @@ -0,0 +1,63 @@ + + + + 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..1f6f4f009 --- /dev/null +++ b/61_es.html @@ -0,0 +1,63 @@ + + + + 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..8a238be1f --- /dev/null +++ b/61_fa.html @@ -0,0 +1,63 @@ + + + + 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..7b3d99c6c --- /dev/null +++ b/61_fi.html @@ -0,0 +1,63 @@ + + + + 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..01a1c1ce9 --- /dev/null +++ b/61_fr.html @@ -0,0 +1,64 @@ + + + + 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..3729e7dba --- /dev/null +++ b/61_gr.html @@ -0,0 +1,63 @@ + + + + Ξενάγηση στη 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..0d00dfc02 --- /dev/null +++ b/61_hu.html @@ -0,0 +1,65 @@ + + + + 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..dcec59a48 --- /dev/null +++ b/61_id.html @@ -0,0 +1,63 @@ + + + + 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..8db0f55a6 --- /dev/null +++ b/61_ie.html @@ -0,0 +1,63 @@ + + + + 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..7e215e873 --- /dev/null +++ b/61_it.html @@ -0,0 +1,63 @@ + + + + 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..f96735b06 --- /dev/null +++ b/61_ja.html @@ -0,0 +1,63 @@ + + + + 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..4affe0b76 --- /dev/null +++ b/61_ko.html @@ -0,0 +1,63 @@ + + + + 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_pl.html b/61_pl.html new file mode 100644 index 000000000..551490d22 --- /dev/null +++ b/61_pl.html @@ -0,0 +1,63 @@ + + + + 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..a79c0d99d --- /dev/null +++ b/61_pt-br.html @@ -0,0 +1,63 @@ + + + + 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..ea51d3435 --- /dev/null +++ b/61_ro.html @@ -0,0 +1,63 @@ + + + + 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..92d21809d --- /dev/null +++ b/61_ru.html @@ -0,0 +1,63 @@ + + + + Тур по 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..73c620470 --- /dev/null +++ b/61_th.html @@ -0,0 +1,63 @@ + + + + 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..ea9160515 --- /dev/null +++ b/61_tr.html @@ -0,0 +1,63 @@ + + + + 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..88924f08e --- /dev/null +++ b/61_ua.html @@ -0,0 +1,63 @@ + + + + Тур по 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..683d124d6 --- /dev/null +++ b/61_vi.html @@ -0,0 +1,63 @@ + + + + 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..7c7673a3e --- /dev/null +++ b/61_zh-cn.html @@ -0,0 +1,63 @@ + + + + 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..850deab24 --- /dev/null +++ b/61_zh-tw.html @@ -0,0 +1,63 @@ + + + + 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_ar.html b/62_ar.html new file mode 100644 index 000000000..fddec0de8 --- /dev/null +++ b/62_ar.html @@ -0,0 +1,54 @@ + + + + دورة تعلم رست (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..f64184dc6 --- /dev/null +++ b/62_de.html @@ -0,0 +1,54 @@ + + + + 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..553dba9da --- /dev/null +++ b/62_en.html @@ -0,0 +1,54 @@ + + + + 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..202be2d05 --- /dev/null +++ b/62_es.html @@ -0,0 +1,54 @@ + + + + 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..40a420750 --- /dev/null +++ b/62_fa.html @@ -0,0 +1,54 @@ + + + + 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..91f56e408 --- /dev/null +++ b/62_fi.html @@ -0,0 +1,54 @@ + + + + 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..d458bca7e --- /dev/null +++ b/62_fr.html @@ -0,0 +1,54 @@ + + + + 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..10bbbb25e --- /dev/null +++ b/62_gr.html @@ -0,0 +1,54 @@ + + + + Ξενάγηση στη 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..6d9935d4e --- /dev/null +++ b/62_hu.html @@ -0,0 +1,54 @@ + + + + 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..7f5534d82 --- /dev/null +++ b/62_id.html @@ -0,0 +1,54 @@ + + + + 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..3555e1dde --- /dev/null +++ b/62_ie.html @@ -0,0 +1,54 @@ + + + + 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..ce632871d --- /dev/null +++ b/62_it.html @@ -0,0 +1,54 @@ + + + + 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..c370c3f0f --- /dev/null +++ b/62_ja.html @@ -0,0 +1,54 @@ + + + + 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..0a7a35780 --- /dev/null +++ b/62_ko.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

여러 줄로 된 문자열

+

Rust의 문자열은 기본적으로 여러 줄로 되어 있습니다.

+

줄바꿈 문자를 원하지 않을 경우, 줄 맨 뒤에 \를 사용하세요.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/62_pl.html b/62_pl.html new file mode 100644 index 000000000..2d1e2add6 --- /dev/null +++ b/62_pl.html @@ -0,0 +1,54 @@ + + + + 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..2dabe041a --- /dev/null +++ b/62_pt-br.html @@ -0,0 +1,54 @@ + + + + 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..16d8e67f4 --- /dev/null +++ b/62_ro.html @@ -0,0 +1,54 @@ + + + + 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..a1f600369 --- /dev/null +++ b/62_ru.html @@ -0,0 +1,54 @@ + + + + Тур по 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..232619fa2 --- /dev/null +++ b/62_th.html @@ -0,0 +1,54 @@ + + + + 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..56e0b43a3 --- /dev/null +++ b/62_tr.html @@ -0,0 +1,54 @@ + + + + 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..fe98c43d9 --- /dev/null +++ b/62_ua.html @@ -0,0 +1,55 @@ + + + + Тур по 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..b65318c52 --- /dev/null +++ b/62_vi.html @@ -0,0 +1,54 @@ + + + + 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..2e604e5ec --- /dev/null +++ b/62_zh-cn.html @@ -0,0 +1,54 @@ + + + + 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..900fc3f15 --- /dev/null +++ b/62_zh-tw.html @@ -0,0 +1,54 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

多行字串常量

+

Rust 字串預設是多行的。

+

如果你不想要換行,在行尾使用一個 \ 就可以達成。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/63_ar.html b/63_ar.html new file mode 100644 index 000000000..d824a0899 --- /dev/null +++ b/63_ar.html @@ -0,0 +1,53 @@ + + + + دورة تعلم رست (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..dd5659055 --- /dev/null +++ b/63_de.html @@ -0,0 +1,54 @@ + + + + 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..ee1124f95 --- /dev/null +++ b/63_en.html @@ -0,0 +1,54 @@ + + + + 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..dbd2df299 --- /dev/null +++ b/63_es.html @@ -0,0 +1,53 @@ + + + + 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..c1c42d378 --- /dev/null +++ b/63_fa.html @@ -0,0 +1,54 @@ + + + + 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..aa6c30e3a --- /dev/null +++ b/63_fi.html @@ -0,0 +1,54 @@ + + + + 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..e04bb6168 --- /dev/null +++ b/63_fr.html @@ -0,0 +1,56 @@ + + + + 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..f11f05978 --- /dev/null +++ b/63_gr.html @@ -0,0 +1,54 @@ + + + + Ξενάγηση στη 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..ccdd1db53 --- /dev/null +++ b/63_hu.html @@ -0,0 +1,58 @@ + + + + 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..677a315d3 --- /dev/null +++ b/63_id.html @@ -0,0 +1,54 @@ + + + + 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..7865e613d --- /dev/null +++ b/63_ie.html @@ -0,0 +1,54 @@ + + + + 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..d1b9c09bf --- /dev/null +++ b/63_it.html @@ -0,0 +1,54 @@ + + + + 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..d5066ef8e --- /dev/null +++ b/63_ja.html @@ -0,0 +1,54 @@ + + + + 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..86a60c2d7 --- /dev/null +++ b/63_ko.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

원시 문자열

+

원시 문자열은 r#"로 시작하고 "#로 끝나며 문자열을 있는 그대로 쓰는데 쓰입니다. +일반 문자열을 여럿으로 착각하게 할만한 문자들(큰 따옴표나 역슬래시처럼)을 넣을 수 있습니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/63_pl.html b/63_pl.html new file mode 100644 index 000000000..fd6cafd78 --- /dev/null +++ b/63_pl.html @@ -0,0 +1,54 @@ + + + + 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..e7963f641 --- /dev/null +++ b/63_pt-br.html @@ -0,0 +1,53 @@ + + + + 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..a6cc034bd --- /dev/null +++ b/63_ro.html @@ -0,0 +1,54 @@ + + + + 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..fc635057f --- /dev/null +++ b/63_ru.html @@ -0,0 +1,54 @@ + + + + Тур по 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..8870ff852 --- /dev/null +++ b/63_th.html @@ -0,0 +1,53 @@ + + + + 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..1c22943b4 --- /dev/null +++ b/63_tr.html @@ -0,0 +1,53 @@ + + + + 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..7e5b68ba5 --- /dev/null +++ b/63_ua.html @@ -0,0 +1,54 @@ + + + + Тур по 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..a14c7ee57 --- /dev/null +++ b/63_vi.html @@ -0,0 +1,53 @@ + + + + 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..2cf79ec6e --- /dev/null +++ b/63_zh-cn.html @@ -0,0 +1,53 @@ + + + + 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..d4d0ce4d4 --- /dev/null +++ b/63_zh-tw.html @@ -0,0 +1,53 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

原始字串常量 (raw string literals)

+

在開頭使用 r#" 且結尾使用 "#,就可以使用原始字串常量,它允許我們逐字寫下一連串的字元。 它讓我們可以插入一些可能會跟一般字串搞混的字元 (例如雙引號或是反斜線)。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/64_ar.html b/64_ar.html new file mode 100644 index 000000000..1c346bb64 --- /dev/null +++ b/64_ar.html @@ -0,0 +1,53 @@ + + + + دورة تعلم رست (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..5f9b505b2 --- /dev/null +++ b/64_de.html @@ -0,0 +1,53 @@ + + + + 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..a21fb5f75 --- /dev/null +++ b/64_en.html @@ -0,0 +1,53 @@ + + + + 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..096a88699 --- /dev/null +++ b/64_es.html @@ -0,0 +1,53 @@ + + + + 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..935ec7a89 --- /dev/null +++ b/64_fa.html @@ -0,0 +1,53 @@ + + + + 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..c15e81652 --- /dev/null +++ b/64_fi.html @@ -0,0 +1,53 @@ + + + + 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..0f2d6ee75 --- /dev/null +++ b/64_fr.html @@ -0,0 +1,54 @@ + + + + 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..95ae45df2 --- /dev/null +++ b/64_gr.html @@ -0,0 +1,53 @@ + + + + Ξενάγηση στη 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..d5c29688d --- /dev/null +++ b/64_hu.html @@ -0,0 +1,54 @@ + + + + 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..2c5f93947 --- /dev/null +++ b/64_id.html @@ -0,0 +1,53 @@ + + + + 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..0ce2950f1 --- /dev/null +++ b/64_ie.html @@ -0,0 +1,53 @@ + + + + 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..993b637e4 --- /dev/null +++ b/64_it.html @@ -0,0 +1,54 @@ + + + + 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..5e24bc00b --- /dev/null +++ b/64_ja.html @@ -0,0 +1,53 @@ + + + + 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..3f282777f --- /dev/null +++ b/64_ko.html @@ -0,0 +1,53 @@ + + + + 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_pl.html b/64_pl.html new file mode 100644 index 000000000..6c1bc5101 --- /dev/null +++ b/64_pl.html @@ -0,0 +1,53 @@ + + + + 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..d05cefd44 --- /dev/null +++ b/64_pt-br.html @@ -0,0 +1,53 @@ + + + + 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..e5feb0600 --- /dev/null +++ b/64_ro.html @@ -0,0 +1,53 @@ + + + + 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..9f46a40a0 --- /dev/null +++ b/64_ru.html @@ -0,0 +1,53 @@ + + + + Тур по 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..60ce2f33a --- /dev/null +++ b/64_th.html @@ -0,0 +1,53 @@ + + + + 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..2d139d5d4 --- /dev/null +++ b/64_tr.html @@ -0,0 +1,53 @@ + + + + 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..2cc3716d7 --- /dev/null +++ b/64_ua.html @@ -0,0 +1,53 @@ + + + + Тур по 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..5c074ea6d --- /dev/null +++ b/64_vi.html @@ -0,0 +1,53 @@ + + + + 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..32379086a --- /dev/null +++ b/64_zh-cn.html @@ -0,0 +1,53 @@ + + + + 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..2e0959513 --- /dev/null +++ b/64_zh-tw.html @@ -0,0 +1,53 @@ + + + + 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_ar.html b/65_ar.html new file mode 100644 index 000000000..172cf47d5 --- /dev/null +++ b/65_ar.html @@ -0,0 +1,61 @@ + + + + دورة تعلم رست (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..8e5328ae7 --- /dev/null +++ b/65_de.html @@ -0,0 +1,61 @@ + + + + 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..c8fca108d --- /dev/null +++ b/65_en.html @@ -0,0 +1,61 @@ + + + + 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..bdfdc1817 --- /dev/null +++ b/65_es.html @@ -0,0 +1,61 @@ + + + + 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..cbfe9f4e7 --- /dev/null +++ b/65_fa.html @@ -0,0 +1,61 @@ + + + + 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..4ca89059a --- /dev/null +++ b/65_fi.html @@ -0,0 +1,61 @@ + + + + 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..5f945d91e --- /dev/null +++ b/65_fr.html @@ -0,0 +1,63 @@ + + + + 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..4d47df885 --- /dev/null +++ b/65_gr.html @@ -0,0 +1,61 @@ + + + + Ξενάγηση στη 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..09c9babbd --- /dev/null +++ b/65_hu.html @@ -0,0 +1,65 @@ + + + + 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..4dbbd852d --- /dev/null +++ b/65_id.html @@ -0,0 +1,61 @@ + + + + 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..c2627764c --- /dev/null +++ b/65_ie.html @@ -0,0 +1,62 @@ + + + + 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..31436ce95 --- /dev/null +++ b/65_it.html @@ -0,0 +1,61 @@ + + + + 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..a16d4de29 --- /dev/null +++ b/65_ja.html @@ -0,0 +1,61 @@ + + + + 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..ca72f89ef --- /dev/null +++ b/65_ko.html @@ -0,0 +1,61 @@ + + + + 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_pl.html b/65_pl.html new file mode 100644 index 000000000..2d464b148 --- /dev/null +++ b/65_pl.html @@ -0,0 +1,61 @@ + + + + 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..465c87b4f --- /dev/null +++ b/65_pt-br.html @@ -0,0 +1,61 @@ + + + + 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..421e713e9 --- /dev/null +++ b/65_ro.html @@ -0,0 +1,61 @@ + + + + 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..62517c8de --- /dev/null +++ b/65_ru.html @@ -0,0 +1,61 @@ + + + + Тур по 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..538f441fa --- /dev/null +++ b/65_th.html @@ -0,0 +1,61 @@ + + + + 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..2bb221a0c --- /dev/null +++ b/65_tr.html @@ -0,0 +1,61 @@ + + + + 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..246006acb --- /dev/null +++ b/65_ua.html @@ -0,0 +1,61 @@ + + + + Тур по 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..c7cfa7994 --- /dev/null +++ b/65_vi.html @@ -0,0 +1,61 @@ + + + + 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..f0bb84440 --- /dev/null +++ b/65_zh-cn.html @@ -0,0 +1,61 @@ + + + + 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..742808d68 --- /dev/null +++ b/65_zh-tw.html @@ -0,0 +1,61 @@ + + + + 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_ar.html b/66_ar.html new file mode 100644 index 000000000..480b4459c --- /dev/null +++ b/66_ar.html @@ -0,0 +1,54 @@ + + + + دورة تعلم رست (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..3ef371ebd --- /dev/null +++ b/66_de.html @@ -0,0 +1,54 @@ + + + + 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..cb93bf5f2 --- /dev/null +++ b/66_en.html @@ -0,0 +1,54 @@ + + + + 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..f20c084ba --- /dev/null +++ b/66_es.html @@ -0,0 +1,54 @@ + + + + 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..d65509c40 --- /dev/null +++ b/66_fa.html @@ -0,0 +1,54 @@ + + + + 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..b8237fa54 --- /dev/null +++ b/66_fi.html @@ -0,0 +1,54 @@ + + + + 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..8115f588d --- /dev/null +++ b/66_fr.html @@ -0,0 +1,57 @@ + + + + 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..69137c87a --- /dev/null +++ b/66_gr.html @@ -0,0 +1,54 @@ + + + + Ξενάγηση στη 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..8715b9b40 --- /dev/null +++ b/66_hu.html @@ -0,0 +1,55 @@ + + + + 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..ef9274d56 --- /dev/null +++ b/66_id.html @@ -0,0 +1,54 @@ + + + + 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..9d451d664 --- /dev/null +++ b/66_ie.html @@ -0,0 +1,54 @@ + + + + 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..74faaa1f7 --- /dev/null +++ b/66_it.html @@ -0,0 +1,54 @@ + + + + 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..eb354cb6f --- /dev/null +++ b/66_ja.html @@ -0,0 +1,54 @@ + + + + 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..dd9c170cf --- /dev/null +++ b/66_ko.html @@ -0,0 +1,54 @@ + + + + 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_pl.html b/66_pl.html new file mode 100644 index 000000000..7806ebe49 --- /dev/null +++ b/66_pl.html @@ -0,0 +1,54 @@ + + + + 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..35c8ef4d2 --- /dev/null +++ b/66_pt-br.html @@ -0,0 +1,54 @@ + + + + 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..7217ccd15 --- /dev/null +++ b/66_ro.html @@ -0,0 +1,54 @@ + + + + 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..0b137e8a4 --- /dev/null +++ b/66_ru.html @@ -0,0 +1,54 @@ + + + + Тур по 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..ac2cd3b05 --- /dev/null +++ b/66_th.html @@ -0,0 +1,54 @@ + + + + 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..0c1e62add --- /dev/null +++ b/66_tr.html @@ -0,0 +1,54 @@ + + + + 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..e02a7c7f1 --- /dev/null +++ b/66_ua.html @@ -0,0 +1,54 @@ + + + + Тур по 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..1ab253149 --- /dev/null +++ b/66_vi.html @@ -0,0 +1,54 @@ + + + + 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..6e29ab7c8 --- /dev/null +++ b/66_zh-cn.html @@ -0,0 +1,54 @@ + + + + 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..439c1e0d3 --- /dev/null +++ b/66_zh-tw.html @@ -0,0 +1,54 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

字元 (chars)

+

與萬國碼一起工作有許多困難的地方,Rust 提供了一個方法可以取得一個 utf-8 位元組的字元向量,它的型別是 char

+

一個 char 的大小永遠是 4 個位元組 (為了有效率地查找各別的字元)。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/67_ar.html b/67_ar.html new file mode 100644 index 000000000..523ff2a93 --- /dev/null +++ b/67_ar.html @@ -0,0 +1,63 @@ + + + + دورة تعلم رست (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..58fd50748 --- /dev/null +++ b/67_de.html @@ -0,0 +1,63 @@ + + + + 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..e9947122a --- /dev/null +++ b/67_en.html @@ -0,0 +1,63 @@ + + + + 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..4e2972db5 --- /dev/null +++ b/67_es.html @@ -0,0 +1,63 @@ + + + + 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..55a6ad1ec --- /dev/null +++ b/67_fa.html @@ -0,0 +1,63 @@ + + + + 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..5ad56ed45 --- /dev/null +++ b/67_fi.html @@ -0,0 +1,63 @@ + + + + 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..d62b75944 --- /dev/null +++ b/67_fr.html @@ -0,0 +1,67 @@ + + + + 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..33b9f26d3 --- /dev/null +++ b/67_gr.html @@ -0,0 +1,63 @@ + + + + Ξενάγηση στη 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..7437f218c --- /dev/null +++ b/67_hu.html @@ -0,0 +1,66 @@ + + + + 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..71c5d6d82 --- /dev/null +++ b/67_id.html @@ -0,0 +1,63 @@ + + + + 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..e96856f29 --- /dev/null +++ b/67_ie.html @@ -0,0 +1,63 @@ + + + + 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..d5855c6b3 --- /dev/null +++ b/67_it.html @@ -0,0 +1,63 @@ + + + + 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..2a1e56646 --- /dev/null +++ b/67_ja.html @@ -0,0 +1,63 @@ + + + + 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..30e094daf --- /dev/null +++ b/67_ko.html @@ -0,0 +1,63 @@ + + + + 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_pl.html b/67_pl.html new file mode 100644 index 000000000..7e10624de --- /dev/null +++ b/67_pl.html @@ -0,0 +1,63 @@ + + + + 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..3dd897b19 --- /dev/null +++ b/67_pt-br.html @@ -0,0 +1,63 @@ + + + + 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..e86f20624 --- /dev/null +++ b/67_ro.html @@ -0,0 +1,63 @@ + + + + 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..c68d1521b --- /dev/null +++ b/67_ru.html @@ -0,0 +1,63 @@ + + + + Тур по 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..9c3a0e7ce --- /dev/null +++ b/67_th.html @@ -0,0 +1,63 @@ + + + + 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..7b17c1648 --- /dev/null +++ b/67_tr.html @@ -0,0 +1,63 @@ + + + + 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..5a4d5f0d3 --- /dev/null +++ b/67_ua.html @@ -0,0 +1,63 @@ + + + + Тур по 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..f871ddd90 --- /dev/null +++ b/67_vi.html @@ -0,0 +1,63 @@ + + + + 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..ead1f758c --- /dev/null +++ b/67_zh-cn.html @@ -0,0 +1,63 @@ + + + + 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..5744b9a97 --- /dev/null +++ b/67_zh-tw.html @@ -0,0 +1,63 @@ + + + + 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_ar.html b/68_ar.html new file mode 100644 index 000000000..4d0f95d2a --- /dev/null +++ b/68_ar.html @@ -0,0 +1,53 @@ + + + + دورة تعلم رست (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..d3b2be977 --- /dev/null +++ b/68_de.html @@ -0,0 +1,54 @@ + + + + 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..6180f05ce --- /dev/null +++ b/68_en.html @@ -0,0 +1,54 @@ + + + + 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..9cb925b97 --- /dev/null +++ b/68_es.html @@ -0,0 +1,53 @@ + + + + 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..47b6e8661 --- /dev/null +++ b/68_fa.html @@ -0,0 +1,54 @@ + + + + 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..cc66d0ac6 --- /dev/null +++ b/68_fi.html @@ -0,0 +1,54 @@ + + + + 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..514ab3e9e --- /dev/null +++ b/68_fr.html @@ -0,0 +1,54 @@ + + + + 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..06697b0ce --- /dev/null +++ b/68_gr.html @@ -0,0 +1,54 @@ + + + + Ξενάγηση στη 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..fbbe1c142 --- /dev/null +++ b/68_hu.html @@ -0,0 +1,54 @@ + + + + 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..acfd5c630 --- /dev/null +++ b/68_id.html @@ -0,0 +1,54 @@ + + + + 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..fe47327cc --- /dev/null +++ b/68_ie.html @@ -0,0 +1,54 @@ + + + + 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..64291fb0e --- /dev/null +++ b/68_it.html @@ -0,0 +1,54 @@ + + + + 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..690991886 --- /dev/null +++ b/68_ja.html @@ -0,0 +1,53 @@ + + + + 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..3cc43b3d8 --- /dev/null +++ b/68_ko.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

함수의 매개변수로서의 텍스트

+

문자열과 string은 일반적으로 함수에 문자열 slice 형태로 전달됩니다. +이 방법은 소유권을 넘길 필요가 없어 대부분의 경우에 유연성을 제공합니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/68_pl.html b/68_pl.html new file mode 100644 index 000000000..904013ab6 --- /dev/null +++ b/68_pl.html @@ -0,0 +1,54 @@ + + + + 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..53e7e2561 --- /dev/null +++ b/68_pt-br.html @@ -0,0 +1,53 @@ + + + + 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..9f761cbb6 --- /dev/null +++ b/68_ro.html @@ -0,0 +1,54 @@ + + + + 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..302b22267 --- /dev/null +++ b/68_ru.html @@ -0,0 +1,54 @@ + + + + Тур по 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..34873dbf4 --- /dev/null +++ b/68_th.html @@ -0,0 +1,53 @@ + + + + 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..217907b9a --- /dev/null +++ b/68_tr.html @@ -0,0 +1,53 @@ + + + + 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..4e7091ec4 --- /dev/null +++ b/68_ua.html @@ -0,0 +1,54 @@ + + + + Тур по 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..a7a97312a --- /dev/null +++ b/68_vi.html @@ -0,0 +1,53 @@ + + + + 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..7f0df73a2 --- /dev/null +++ b/68_zh-cn.html @@ -0,0 +1,53 @@ + + + + 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..cce60465f --- /dev/null +++ b/68_zh-tw.html @@ -0,0 +1,53 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

將文字當作函式參數

+

字串常量及字串都以字串切片的方式傳給函式。這給了大部份場景許多彈性,當你並不是真的想要傳遞擁有權的時候。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/69_ar.html b/69_ar.html new file mode 100644 index 000000000..c909bfb85 --- /dev/null +++ b/69_ar.html @@ -0,0 +1,53 @@ + + + + دورة تعلم رست (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..e74e3ceee --- /dev/null +++ b/69_de.html @@ -0,0 +1,53 @@ + + + + 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..8bb53744c --- /dev/null +++ b/69_en.html @@ -0,0 +1,53 @@ + + + + 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..9f7827409 --- /dev/null +++ b/69_es.html @@ -0,0 +1,53 @@ + + + + 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..1bcbd5954 --- /dev/null +++ b/69_fa.html @@ -0,0 +1,53 @@ + + + + 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..808b2b5f4 --- /dev/null +++ b/69_fi.html @@ -0,0 +1,53 @@ + + + + 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..e7919496d --- /dev/null +++ b/69_fr.html @@ -0,0 +1,53 @@ + + + + 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..2c602c9f9 --- /dev/null +++ b/69_gr.html @@ -0,0 +1,53 @@ + + + + Ξενάγηση στη 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..6592998fc --- /dev/null +++ b/69_hu.html @@ -0,0 +1,53 @@ + + + + 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..5b705610a --- /dev/null +++ b/69_id.html @@ -0,0 +1,53 @@ + + + + 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..f082f6439 --- /dev/null +++ b/69_ie.html @@ -0,0 +1,53 @@ + + + + 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..08ddea75d --- /dev/null +++ b/69_it.html @@ -0,0 +1,53 @@ + + + + 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..18d15909f --- /dev/null +++ b/69_ja.html @@ -0,0 +1,53 @@ + + + + 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..ea2b04ca0 --- /dev/null +++ b/69_ko.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

스트링 만들기

+

concatjoin은 string을 만드는 간단하지만 강력한 방법입니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/69_pl.html b/69_pl.html new file mode 100644 index 000000000..6e920d9ff --- /dev/null +++ b/69_pl.html @@ -0,0 +1,53 @@ + + + + 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..d151147f3 --- /dev/null +++ b/69_pt-br.html @@ -0,0 +1,53 @@ + + + + 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..de484e9e2 --- /dev/null +++ b/69_ro.html @@ -0,0 +1,53 @@ + + + + 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..6c8703d08 --- /dev/null +++ b/69_ru.html @@ -0,0 +1,53 @@ + + + + Тур по 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..6ae205b6f --- /dev/null +++ b/69_th.html @@ -0,0 +1,53 @@ + + + + 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..145ef24b2 --- /dev/null +++ b/69_tr.html @@ -0,0 +1,53 @@ + + + + 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..cfbc311e8 --- /dev/null +++ b/69_ua.html @@ -0,0 +1,53 @@ + + + + Тур по 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..870bbe021 --- /dev/null +++ b/69_vi.html @@ -0,0 +1,53 @@ + + + + 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..a8e09939f --- /dev/null +++ b/69_zh-cn.html @@ -0,0 +1,53 @@ + + + + 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..6c54c5f8d --- /dev/null +++ b/69_zh-tw.html @@ -0,0 +1,53 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

建立字串

+

concatjoin 是兩個簡單但強大的建位字串的方法。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/70_ar.html b/70_ar.html new file mode 100644 index 000000000..7a04d6c34 --- /dev/null +++ b/70_ar.html @@ -0,0 +1,55 @@ + + + + دورة تعلم رست (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..dad8eb0b0 --- /dev/null +++ b/70_de.html @@ -0,0 +1,55 @@ + + + + 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..4046638c3 --- /dev/null +++ b/70_en.html @@ -0,0 +1,55 @@ + + + + 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..e4e80a3f6 --- /dev/null +++ b/70_es.html @@ -0,0 +1,55 @@ + + + + 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..27e3fca52 --- /dev/null +++ b/70_fa.html @@ -0,0 +1,55 @@ + + + + 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..a9084c794 --- /dev/null +++ b/70_fi.html @@ -0,0 +1,55 @@ + + + + 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..562b1cf7e --- /dev/null +++ b/70_fr.html @@ -0,0 +1,59 @@ + + + + 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..181f65f25 --- /dev/null +++ b/70_gr.html @@ -0,0 +1,55 @@ + + + + Ξενάγηση στη 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..03a9c1fa6 --- /dev/null +++ b/70_hu.html @@ -0,0 +1,59 @@ + + + + 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..cec21a0c1 --- /dev/null +++ b/70_id.html @@ -0,0 +1,55 @@ + + + + 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..274ff104b --- /dev/null +++ b/70_ie.html @@ -0,0 +1,55 @@ + + + + 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..adf3dd37f --- /dev/null +++ b/70_it.html @@ -0,0 +1,55 @@ + + + + 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..a8dd8e693 --- /dev/null +++ b/70_ja.html @@ -0,0 +1,55 @@ + + + + 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..3aed175fd --- /dev/null +++ b/70_ko.html @@ -0,0 +1,55 @@ + + + + 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_pl.html b/70_pl.html new file mode 100644 index 000000000..fc120f645 --- /dev/null +++ b/70_pl.html @@ -0,0 +1,55 @@ + + + + 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..96ce97865 --- /dev/null +++ b/70_pt-br.html @@ -0,0 +1,55 @@ + + + + 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..1505e359e --- /dev/null +++ b/70_ro.html @@ -0,0 +1,55 @@ + + + + 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..55caca62c --- /dev/null +++ b/70_ru.html @@ -0,0 +1,55 @@ + + + + Тур по 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..4592b494c --- /dev/null +++ b/70_th.html @@ -0,0 +1,55 @@ + + + + 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..33466b399 --- /dev/null +++ b/70_tr.html @@ -0,0 +1,55 @@ + + + + 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..c47be4593 --- /dev/null +++ b/70_ua.html @@ -0,0 +1,55 @@ + + + + Тур по 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..210d542aa --- /dev/null +++ b/70_vi.html @@ -0,0 +1,55 @@ + + + + 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..8aa7b5a30 --- /dev/null +++ b/70_zh-cn.html @@ -0,0 +1,55 @@ + + + + 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..0f1467e6c --- /dev/null +++ b/70_zh-tw.html @@ -0,0 +1,55 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

字串格式化

+

巨集 format! 允許我們產生一個定義好在哪、該怎麼表示的占位符 (placeholders) 的字串 (例如:{})。

+

format! 使用與 println! 相同的參數字串

+

這個函式的使用方法實在太多了,已經超出 Tour of Rust 的範圍了,可以查看這裡的文件。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/71_ar.html b/71_ar.html new file mode 100644 index 000000000..66c2a3a7a --- /dev/null +++ b/71_ar.html @@ -0,0 +1,54 @@ + + + + دورة تعلم رست (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..6b704559a --- /dev/null +++ b/71_de.html @@ -0,0 +1,55 @@ + + + + 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..6265d2294 --- /dev/null +++ b/71_en.html @@ -0,0 +1,56 @@ + + + + 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..149a3755a --- /dev/null +++ b/71_es.html @@ -0,0 +1,54 @@ + + + + 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..a5e364e85 --- /dev/null +++ b/71_fa.html @@ -0,0 +1,56 @@ + + + + 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..6a8fb77e5 --- /dev/null +++ b/71_fi.html @@ -0,0 +1,56 @@ + + + + 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..35b190ddf --- /dev/null +++ b/71_fr.html @@ -0,0 +1,56 @@ + + + + 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..4bfbdbe1b --- /dev/null +++ b/71_gr.html @@ -0,0 +1,56 @@ + + + + Ξενάγηση στη 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..066b0480e --- /dev/null +++ b/71_hu.html @@ -0,0 +1,56 @@ + + + + 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..9c4d023b2 --- /dev/null +++ b/71_id.html @@ -0,0 +1,56 @@ + + + + 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..2da1924a8 --- /dev/null +++ b/71_ie.html @@ -0,0 +1,56 @@ + + + + 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..bbf51053c --- /dev/null +++ b/71_it.html @@ -0,0 +1,56 @@ + + + + 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..b2587f085 --- /dev/null +++ b/71_ja.html @@ -0,0 +1,54 @@ + + + + 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..ff3fe12ca --- /dev/null +++ b/71_ko.html @@ -0,0 +1,55 @@ + + + + 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_pl.html b/71_pl.html new file mode 100644 index 000000000..0bd9ca17e --- /dev/null +++ b/71_pl.html @@ -0,0 +1,56 @@ + + + + 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..e69796a8b --- /dev/null +++ b/71_pt-br.html @@ -0,0 +1,54 @@ + + + + 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..50dc325dd --- /dev/null +++ b/71_ro.html @@ -0,0 +1,55 @@ + + + + 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..7234e5727 --- /dev/null +++ b/71_ru.html @@ -0,0 +1,56 @@ + + + + Тур по 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..00a3f614f --- /dev/null +++ b/71_th.html @@ -0,0 +1,55 @@ + + + + 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..1d87eba7c --- /dev/null +++ b/71_tr.html @@ -0,0 +1,55 @@ + + + + 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..6e019b7fe --- /dev/null +++ b/71_ua.html @@ -0,0 +1,56 @@ + + + + Тур по 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..85e1a7827 --- /dev/null +++ b/71_vi.html @@ -0,0 +1,54 @@ + + + + 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..e3884202c --- /dev/null +++ b/71_zh-cn.html @@ -0,0 +1,54 @@ + + + + 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..aed0c9199 --- /dev/null +++ b/71_zh-tw.html @@ -0,0 +1,54 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

字串轉換

+

許多型別都能用 to_string 轉換成字串。

+

parse 可以被用來轉換字串或字串常量為一個型別的值。這個函式回傳一個 Result 因為它可能會失敗。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/72_ar.html b/72_ar.html new file mode 100644 index 000000000..a38857690 --- /dev/null +++ b/72_ar.html @@ -0,0 +1,52 @@ + + + + دورة تعلم رست (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..5faba0aef --- /dev/null +++ b/72_de.html @@ -0,0 +1,54 @@ + + + + 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..f847ce1ca --- /dev/null +++ b/72_en.html @@ -0,0 +1,54 @@ + + + + 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..a5f6ead5a --- /dev/null +++ b/72_es.html @@ -0,0 +1,52 @@ + + + + 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..943915590 --- /dev/null +++ b/72_fa.html @@ -0,0 +1,54 @@ + + + + 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..726b4ba12 --- /dev/null +++ b/72_fi.html @@ -0,0 +1,54 @@ + + + + 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..dc53ed014 --- /dev/null +++ b/72_fr.html @@ -0,0 +1,58 @@ + + + + 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..6a58afcf3 --- /dev/null +++ b/72_gr.html @@ -0,0 +1,54 @@ + + + + Ξενάγηση στη 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..900fb21fc --- /dev/null +++ b/72_hu.html @@ -0,0 +1,55 @@ + + + + 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..0ef360f81 --- /dev/null +++ b/72_id.html @@ -0,0 +1,54 @@ + + + + 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..158e1b328 --- /dev/null +++ b/72_ie.html @@ -0,0 +1,54 @@ + + + + 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..a65e4cd30 --- /dev/null +++ b/72_it.html @@ -0,0 +1,54 @@ + + + + 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..6573e5911 --- /dev/null +++ b/72_ja.html @@ -0,0 +1,52 @@ + + + + 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..73c4fc0ba --- /dev/null +++ b/72_ko.html @@ -0,0 +1,54 @@ + + + + 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_pl.html b/72_pl.html new file mode 100644 index 000000000..fbbdb411b --- /dev/null +++ b/72_pl.html @@ -0,0 +1,54 @@ + + + + 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..92ae138be --- /dev/null +++ b/72_pt-br.html @@ -0,0 +1,52 @@ + + + + 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..68d1b91f9 --- /dev/null +++ b/72_ro.html @@ -0,0 +1,54 @@ + + + + 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..fbad62ee5 --- /dev/null +++ b/72_ru.html @@ -0,0 +1,54 @@ + + + + Тур по 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..3f63c598e --- /dev/null +++ b/72_th.html @@ -0,0 +1,52 @@ + + + + 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..90350677f --- /dev/null +++ b/72_tr.html @@ -0,0 +1,52 @@ + + + + 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..c545f5627 --- /dev/null +++ b/72_ua.html @@ -0,0 +1,54 @@ + + + + Тур по 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..42f2940ae --- /dev/null +++ b/72_vi.html @@ -0,0 +1,52 @@ + + + + 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..92d90c010 --- /dev/null +++ b/72_zh-cn.html @@ -0,0 +1,52 @@ + + + + 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..be09071e5 --- /dev/null +++ b/72_zh-tw.html @@ -0,0 +1,52 @@ + + + + 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_ar.html b/74_ar.html new file mode 100644 index 000000000..b5c87db7b --- /dev/null +++ b/74_ar.html @@ -0,0 +1,57 @@ + + + + دورة تعلم رست (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..9a0b531d9 --- /dev/null +++ b/74_de.html @@ -0,0 +1,57 @@ + + + + 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..31cf4f77a --- /dev/null +++ b/74_en.html @@ -0,0 +1,57 @@ + + + + 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..83073b50f --- /dev/null +++ b/74_es.html @@ -0,0 +1,57 @@ + + + + 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..4f901ab69 --- /dev/null +++ b/74_fa.html @@ -0,0 +1,57 @@ + + + + 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..76f14f03c --- /dev/null +++ b/74_fi.html @@ -0,0 +1,57 @@ + + + + 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..32b512240 --- /dev/null +++ b/74_fr.html @@ -0,0 +1,62 @@ + + + + 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..0fbb25457 --- /dev/null +++ b/74_gr.html @@ -0,0 +1,57 @@ + + + + Ξενάγηση στη 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..ae7df7f70 --- /dev/null +++ b/74_hu.html @@ -0,0 +1,61 @@ + + + + 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..dc5100748 --- /dev/null +++ b/74_id.html @@ -0,0 +1,57 @@ + + + + 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..966c2e798 --- /dev/null +++ b/74_ie.html @@ -0,0 +1,57 @@ + + + + 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..765776967 --- /dev/null +++ b/74_it.html @@ -0,0 +1,57 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Non tradotto] 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_ja.html b/74_ja.html new file mode 100644 index 000000000..d26f984b4 --- /dev/null +++ b/74_ja.html @@ -0,0 +1,57 @@ + + + + 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..f0678dec8 --- /dev/null +++ b/74_ko.html @@ -0,0 +1,57 @@ + + + + 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_pl.html b/74_pl.html new file mode 100644 index 000000000..64834e747 --- /dev/null +++ b/74_pl.html @@ -0,0 +1,57 @@ + + + + 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..d6136242d --- /dev/null +++ b/74_pt-br.html @@ -0,0 +1,57 @@ + + + + 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..01f47a6e0 --- /dev/null +++ b/74_ro.html @@ -0,0 +1,57 @@ + + + + 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..7bb72af66 --- /dev/null +++ b/74_ru.html @@ -0,0 +1,57 @@ + + + + Тур по 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..369e9f4f7 --- /dev/null +++ b/74_th.html @@ -0,0 +1,57 @@ + + + + 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..34b25bde0 --- /dev/null +++ b/74_tr.html @@ -0,0 +1,57 @@ + + + + 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..0b9f0293c --- /dev/null +++ b/74_ua.html @@ -0,0 +1,57 @@ + + + + Тур по 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..2b5e739cb --- /dev/null +++ b/74_vi.html @@ -0,0 +1,57 @@ + + + + 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..60a11e83f --- /dev/null +++ b/74_zh-cn.html @@ -0,0 +1,57 @@ + + + + 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..36ee630d1 --- /dev/null +++ b/74_zh-tw.html @@ -0,0 +1,57 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

什麼是 OOP?

+

物件導向程式的語言,大致上會有這些明顯的特徵:

+
    +
  • 封裝 (encapsulation) - 將有關的資料及函式放入一個概念上稱作單一型別的物件
  • +
  • 抽象化 (Abstraction) - 將資料及函式成員藏起來,使物件的實作細節不被察覺
  • +
  • 多型 (polymorphism) - 只透過一個介面,使用不同型別與該物件互動
  • +
  • 繼承 (inheritance) - 有能力從其他物件繼承資料及行為
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/75_ar.html b/75_ar.html new file mode 100644 index 000000000..51499dc3a --- /dev/null +++ b/75_ar.html @@ -0,0 +1,56 @@ + + + + دورة تعلم رست (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..aaa36e425 --- /dev/null +++ b/75_de.html @@ -0,0 +1,56 @@ + + + + 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..9a2398388 --- /dev/null +++ b/75_en.html @@ -0,0 +1,56 @@ + + + + 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..e25167c18 --- /dev/null +++ b/75_es.html @@ -0,0 +1,56 @@ + + + + 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..0f01901ba --- /dev/null +++ b/75_fa.html @@ -0,0 +1,56 @@ + + + + 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..59c147041 --- /dev/null +++ b/75_fi.html @@ -0,0 +1,56 @@ + + + + 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..bfe5d5900 --- /dev/null +++ b/75_fr.html @@ -0,0 +1,57 @@ + + + + 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..b88ce3ac9 --- /dev/null +++ b/75_gr.html @@ -0,0 +1,56 @@ + + + + Ξενάγηση στη 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..eab0cb83a --- /dev/null +++ b/75_hu.html @@ -0,0 +1,57 @@ + + + + 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..d2fc774e2 --- /dev/null +++ b/75_id.html @@ -0,0 +1,56 @@ + + + + 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..0e4889c54 --- /dev/null +++ b/75_ie.html @@ -0,0 +1,56 @@ + + + + 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..8101420c3 --- /dev/null +++ b/75_it.html @@ -0,0 +1,56 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Non tradotto] 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_ja.html b/75_ja.html new file mode 100644 index 000000000..7d2c0e96f --- /dev/null +++ b/75_ja.html @@ -0,0 +1,56 @@ + + + + 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..b79bef8dd --- /dev/null +++ b/75_ko.html @@ -0,0 +1,56 @@ + + + + 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_pl.html b/75_pl.html new file mode 100644 index 000000000..ba39035f5 --- /dev/null +++ b/75_pl.html @@ -0,0 +1,56 @@ + + + + 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..91d61f0b6 --- /dev/null +++ b/75_pt-br.html @@ -0,0 +1,56 @@ + + + + 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..962cb93d9 --- /dev/null +++ b/75_ro.html @@ -0,0 +1,56 @@ + + + + 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..197c434d0 --- /dev/null +++ b/75_ru.html @@ -0,0 +1,56 @@ + + + + Тур по 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..c2f9d190c --- /dev/null +++ b/75_th.html @@ -0,0 +1,56 @@ + + + + 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..c385fb4fb --- /dev/null +++ b/75_tr.html @@ -0,0 +1,56 @@ + + + + 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..31e9b6548 --- /dev/null +++ b/75_ua.html @@ -0,0 +1,56 @@ + + + + Тур по 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..6d4f53209 --- /dev/null +++ b/75_vi.html @@ -0,0 +1,56 @@ + + + + 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..019fae509 --- /dev/null +++ b/75_zh-cn.html @@ -0,0 +1,56 @@ + + + + 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..4c7bea57f --- /dev/null +++ b/75_zh-tw.html @@ -0,0 +1,56 @@ + + + + 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_ar.html b/76_ar.html new file mode 100644 index 000000000..83a27e74d --- /dev/null +++ b/76_ar.html @@ -0,0 +1,66 @@ + + + + دورة تعلم رست (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..0fecbb080 --- /dev/null +++ b/76_de.html @@ -0,0 +1,66 @@ + + + + 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..5313c2e2e --- /dev/null +++ b/76_en.html @@ -0,0 +1,66 @@ + + + + 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..88cb83948 --- /dev/null +++ b/76_es.html @@ -0,0 +1,66 @@ + + + + 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..c403c93ec --- /dev/null +++ b/76_fa.html @@ -0,0 +1,66 @@ + + + + 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..09e36f340 --- /dev/null +++ b/76_fi.html @@ -0,0 +1,66 @@ + + + + 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..924f65e9b --- /dev/null +++ b/76_fr.html @@ -0,0 +1,70 @@ + + + + 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..2b307d337 --- /dev/null +++ b/76_gr.html @@ -0,0 +1,66 @@ + + + + Ξενάγηση στη 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..c172a5f05 --- /dev/null +++ b/76_hu.html @@ -0,0 +1,69 @@ + + + + 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..b5aefec40 --- /dev/null +++ b/76_id.html @@ -0,0 +1,66 @@ + + + + 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..df6da44b6 --- /dev/null +++ b/76_ie.html @@ -0,0 +1,66 @@ + + + + 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..e31bcb187 --- /dev/null +++ b/76_it.html @@ -0,0 +1,66 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Non tradotto] 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_ja.html b/76_ja.html new file mode 100644 index 000000000..3b1598f4e --- /dev/null +++ b/76_ja.html @@ -0,0 +1,66 @@ + + + + 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..fbbb39caa --- /dev/null +++ b/76_ko.html @@ -0,0 +1,66 @@ + + + + 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_pl.html b/76_pl.html new file mode 100644 index 000000000..72f933b23 --- /dev/null +++ b/76_pl.html @@ -0,0 +1,66 @@ + + + + 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..0c28120ed --- /dev/null +++ b/76_pt-br.html @@ -0,0 +1,66 @@ + + + + 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..4adcd6eaf --- /dev/null +++ b/76_ro.html @@ -0,0 +1,66 @@ + + + + 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..4af356aa8 --- /dev/null +++ b/76_ru.html @@ -0,0 +1,66 @@ + + + + Тур по 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..59457dde7 --- /dev/null +++ b/76_th.html @@ -0,0 +1,66 @@ + + + + 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..63416362b --- /dev/null +++ b/76_tr.html @@ -0,0 +1,66 @@ + + + + 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..dc143314c --- /dev/null +++ b/76_ua.html @@ -0,0 +1,66 @@ + + + + Тур по 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..57f73e0c0 --- /dev/null +++ b/76_vi.html @@ -0,0 +1,66 @@ + + + + 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..e63aea5c7 --- /dev/null +++ b/76_zh-cn.html @@ -0,0 +1,66 @@ + + + + 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..3f58f8f75 --- /dev/null +++ b/76_zh-tw.html @@ -0,0 +1,66 @@ + + + + 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_ar.html b/77_ar.html new file mode 100644 index 000000000..df87eb448 --- /dev/null +++ b/77_ar.html @@ -0,0 +1,55 @@ + + + + دورة تعلم رست (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..cbb5a081e --- /dev/null +++ b/77_de.html @@ -0,0 +1,55 @@ + + + + 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..340857eff --- /dev/null +++ b/77_en.html @@ -0,0 +1,55 @@ + + + + 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..86d233530 --- /dev/null +++ b/77_es.html @@ -0,0 +1,55 @@ + + + + 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..efa648235 --- /dev/null +++ b/77_fa.html @@ -0,0 +1,55 @@ + + + + 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..33321ea66 --- /dev/null +++ b/77_fi.html @@ -0,0 +1,55 @@ + + + + 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..ad96e6fef --- /dev/null +++ b/77_fr.html @@ -0,0 +1,57 @@ + + + + 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..c95b2e0a4 --- /dev/null +++ b/77_gr.html @@ -0,0 +1,55 @@ + + + + Ξενάγηση στη 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..9ee091a6f --- /dev/null +++ b/77_hu.html @@ -0,0 +1,55 @@ + + + + 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..ac94dcfdc --- /dev/null +++ b/77_id.html @@ -0,0 +1,55 @@ + + + + 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..193465751 --- /dev/null +++ b/77_ie.html @@ -0,0 +1,55 @@ + + + + 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..5b42ebca6 --- /dev/null +++ b/77_it.html @@ -0,0 +1,55 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Non tradotto] 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_ja.html b/77_ja.html new file mode 100644 index 000000000..228ae7cd9 --- /dev/null +++ b/77_ja.html @@ -0,0 +1,55 @@ + + + + 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..46c6cf6e6 --- /dev/null +++ b/77_ko.html @@ -0,0 +1,55 @@ + + + + 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_pl.html b/77_pl.html new file mode 100644 index 000000000..5d53661ff --- /dev/null +++ b/77_pl.html @@ -0,0 +1,55 @@ + + + + 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..108411217 --- /dev/null +++ b/77_pt-br.html @@ -0,0 +1,55 @@ + + + + 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..a9ff4e37e --- /dev/null +++ b/77_ro.html @@ -0,0 +1,55 @@ + + + + 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..4232008e5 --- /dev/null +++ b/77_ru.html @@ -0,0 +1,55 @@ + + + + Тур по 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..fc8852566 --- /dev/null +++ b/77_th.html @@ -0,0 +1,55 @@ + + + + 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..ad18781c4 --- /dev/null +++ b/77_tr.html @@ -0,0 +1,55 @@ + + + + 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..ccb8b3c05 --- /dev/null +++ b/77_ua.html @@ -0,0 +1,55 @@ + + + + Тур по 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..762dbab38 --- /dev/null +++ b/77_vi.html @@ -0,0 +1,55 @@ + + + + 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..4c5067884 --- /dev/null +++ b/77_zh-cn.html @@ -0,0 +1,55 @@ + + + + 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..38d2334d1 --- /dev/null +++ b/77_zh-tw.html @@ -0,0 +1,55 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

暴露指定的抽象化 (abstraction with selective exposure)

+

Rust 可以隱藏物件的實作細節。

+

欄位及方法預設只有屬於該模組 (module) 可以存取。

+

關鍵字 pub 可以暴露結構欄位及方法給外部模組使用。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/78_ar.html b/78_ar.html new file mode 100644 index 000000000..98d53656b --- /dev/null +++ b/78_ar.html @@ -0,0 +1,68 @@ + + + + دورة تعلم رست (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..ce55fbdfc --- /dev/null +++ b/78_de.html @@ -0,0 +1,69 @@ + + + + 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..c277b2caf --- /dev/null +++ b/78_en.html @@ -0,0 +1,69 @@ + + + + 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..8c444538a --- /dev/null +++ b/78_es.html @@ -0,0 +1,68 @@ + + + + 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..cfd857443 --- /dev/null +++ b/78_fa.html @@ -0,0 +1,69 @@ + + + + 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..8525745f6 --- /dev/null +++ b/78_fi.html @@ -0,0 +1,69 @@ + + + + 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..49382f3f0 --- /dev/null +++ b/78_fr.html @@ -0,0 +1,73 @@ + + + + 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..de572aaff --- /dev/null +++ b/78_gr.html @@ -0,0 +1,69 @@ + + + + Ξενάγηση στη 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..f2c3e887c --- /dev/null +++ b/78_hu.html @@ -0,0 +1,71 @@ + + + + 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..bda132070 --- /dev/null +++ b/78_id.html @@ -0,0 +1,69 @@ + + + + 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..7bdc81f89 --- /dev/null +++ b/78_ie.html @@ -0,0 +1,69 @@ + + + + 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..d02bcf3bf --- /dev/null +++ b/78_it.html @@ -0,0 +1,69 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Non tradotto] 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_ja.html b/78_ja.html new file mode 100644 index 000000000..a580629fd --- /dev/null +++ b/78_ja.html @@ -0,0 +1,68 @@ + + + + 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..464d7400a --- /dev/null +++ b/78_ko.html @@ -0,0 +1,69 @@ + + + + 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_pl.html b/78_pl.html new file mode 100644 index 000000000..214b7e5ab --- /dev/null +++ b/78_pl.html @@ -0,0 +1,69 @@ + + + + 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..b78997208 --- /dev/null +++ b/78_pt-br.html @@ -0,0 +1,68 @@ + + + + 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..712e605ef --- /dev/null +++ b/78_ro.html @@ -0,0 +1,68 @@ + + + + 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..2b232a070 --- /dev/null +++ b/78_ru.html @@ -0,0 +1,68 @@ + + + + Тур по 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..2fc36e028 --- /dev/null +++ b/78_th.html @@ -0,0 +1,69 @@ + + + + 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..ce08315a5 --- /dev/null +++ b/78_tr.html @@ -0,0 +1,68 @@ + + + + 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..5cc2646bd --- /dev/null +++ b/78_ua.html @@ -0,0 +1,69 @@ + + + + Тур по 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..77da04376 --- /dev/null +++ b/78_vi.html @@ -0,0 +1,68 @@ + + + + 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..cb751c7d3 --- /dev/null +++ b/78_zh-cn.html @@ -0,0 +1,68 @@ + + + + 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..e1cdd5f79 --- /dev/null +++ b/78_zh-tw.html @@ -0,0 +1,68 @@ + + + + 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_ar.html b/79_ar.html new file mode 100644 index 000000000..5f456532e --- /dev/null +++ b/79_ar.html @@ -0,0 +1,54 @@ + + + + دورة تعلم رست (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..c516af35f --- /dev/null +++ b/79_de.html @@ -0,0 +1,55 @@ + + + + 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..dd3e6e093 --- /dev/null +++ b/79_en.html @@ -0,0 +1,55 @@ + + + + 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..3b1b26787 --- /dev/null +++ b/79_es.html @@ -0,0 +1,54 @@ + + + + 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..dfe48a75a --- /dev/null +++ b/79_fa.html @@ -0,0 +1,55 @@ + + + + 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..2bc6ee03b --- /dev/null +++ b/79_fi.html @@ -0,0 +1,55 @@ + + + + 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..fe7aee41e --- /dev/null +++ b/79_fr.html @@ -0,0 +1,56 @@ + + + + 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..68d8aa424 --- /dev/null +++ b/79_gr.html @@ -0,0 +1,55 @@ + + + + Ξενάγηση στη 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..c82335972 --- /dev/null +++ b/79_hu.html @@ -0,0 +1,55 @@ + + + + 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..de43a1732 --- /dev/null +++ b/79_id.html @@ -0,0 +1,55 @@ + + + + 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..a3eea13b3 --- /dev/null +++ b/79_ie.html @@ -0,0 +1,55 @@ + + + + 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..a05a939f8 --- /dev/null +++ b/79_it.html @@ -0,0 +1,55 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Non tradotto] 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_ja.html b/79_ja.html new file mode 100644 index 000000000..93776122b --- /dev/null +++ b/79_ja.html @@ -0,0 +1,54 @@ + + + + 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..e91f09e42 --- /dev/null +++ b/79_ko.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Trait에 구현된 메소드

+

trait에 메소드를 구현해 넣을 수 있습니다.

+

함수가 struct 내부의 field에 직접 접근할 수는 없지만, +trait 구현체들 사이에서 동작을 공유할 때 유용하게 쓰입니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/79_pl.html b/79_pl.html new file mode 100644 index 000000000..a61f7cfdb --- /dev/null +++ b/79_pl.html @@ -0,0 +1,55 @@ + + + + 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..da3b586a1 --- /dev/null +++ b/79_pt-br.html @@ -0,0 +1,54 @@ + + + + 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..b0d15e699 --- /dev/null +++ b/79_ro.html @@ -0,0 +1,54 @@ + + + + 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..2ddeaa8c3 --- /dev/null +++ b/79_ru.html @@ -0,0 +1,54 @@ + + + + Тур по 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..5abe48f6a --- /dev/null +++ b/79_th.html @@ -0,0 +1,54 @@ + + + + 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..bb5acd711 --- /dev/null +++ b/79_tr.html @@ -0,0 +1,54 @@ + + + + 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..fd5600a54 --- /dev/null +++ b/79_ua.html @@ -0,0 +1,54 @@ + + + + Тур по 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..da50218f8 --- /dev/null +++ b/79_vi.html @@ -0,0 +1,54 @@ + + + + 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..7b0953084 --- /dev/null +++ b/79_zh-cn.html @@ -0,0 +1,54 @@ + + + + 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..f1433581c --- /dev/null +++ b/79_zh-tw.html @@ -0,0 +1,54 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

特徵上的方法 (implemented methods on traits)

+

特徵可以有方法。

+

函式沒有直接存取一個結構內部欄位的權限,但它可以被所有特徵實作者共享。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/80_ar.html b/80_ar.html new file mode 100644 index 000000000..9bd522516 --- /dev/null +++ b/80_ar.html @@ -0,0 +1,53 @@ + + + + دورة تعلم رست (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..d8971083e --- /dev/null +++ b/80_de.html @@ -0,0 +1,53 @@ + + + + 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..2fc25073c --- /dev/null +++ b/80_en.html @@ -0,0 +1,53 @@ + + + + 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..8c4372f4b --- /dev/null +++ b/80_es.html @@ -0,0 +1,53 @@ + + + + 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..9a74fcb0e --- /dev/null +++ b/80_fa.html @@ -0,0 +1,53 @@ + + + + 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..1b5298770 --- /dev/null +++ b/80_fi.html @@ -0,0 +1,53 @@ + + + + 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..a19a5420f --- /dev/null +++ b/80_fr.html @@ -0,0 +1,53 @@ + + + + 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..fd9746afe --- /dev/null +++ b/80_gr.html @@ -0,0 +1,53 @@ + + + + Ξενάγηση στη 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..3ba4e852b --- /dev/null +++ b/80_hu.html @@ -0,0 +1,53 @@ + + + + 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..0cc4b4404 --- /dev/null +++ b/80_id.html @@ -0,0 +1,53 @@ + + + + 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..31ff7f186 --- /dev/null +++ b/80_ie.html @@ -0,0 +1,53 @@ + + + + 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..d53c127e4 --- /dev/null +++ b/80_it.html @@ -0,0 +1,53 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Non tradotto] Trait Inheritance

+

Traits can inherit methods from other traits.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/80_ja.html b/80_ja.html new file mode 100644 index 000000000..3d1daab37 --- /dev/null +++ b/80_ja.html @@ -0,0 +1,53 @@ + + + + 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..e73f005c0 --- /dev/null +++ b/80_ko.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Trait 상속

+

trait은 다른 trait의 메소드들을 상속 받을 수 있습니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/80_pl.html b/80_pl.html new file mode 100644 index 000000000..48179c572 --- /dev/null +++ b/80_pl.html @@ -0,0 +1,53 @@ + + + + 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..c5515e13f --- /dev/null +++ b/80_pt-br.html @@ -0,0 +1,53 @@ + + + + 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..c23e0c877 --- /dev/null +++ b/80_ro.html @@ -0,0 +1,53 @@ + + + + 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..49d920656 --- /dev/null +++ b/80_ru.html @@ -0,0 +1,53 @@ + + + + Тур по 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..87d00d163 --- /dev/null +++ b/80_th.html @@ -0,0 +1,53 @@ + + + + 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..f3ea16b8e --- /dev/null +++ b/80_tr.html @@ -0,0 +1,53 @@ + + + + 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..642bdb093 --- /dev/null +++ b/80_ua.html @@ -0,0 +1,53 @@ + + + + Тур по 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..5405bef79 --- /dev/null +++ b/80_vi.html @@ -0,0 +1,53 @@ + + + + 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..b227e2f25 --- /dev/null +++ b/80_zh-cn.html @@ -0,0 +1,53 @@ + + + + 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..a6f0b1df3 --- /dev/null +++ b/80_zh-tw.html @@ -0,0 +1,53 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

特徵繼承 (trait inheritance)

+

特徵可以從其他特徵繼承方法。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/81_ar.html b/81_ar.html new file mode 100644 index 000000000..327fd7f63 --- /dev/null +++ b/81_ar.html @@ -0,0 +1,63 @@ + + + + دورة تعلم رست (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..a93c6b61c --- /dev/null +++ b/81_de.html @@ -0,0 +1,63 @@ + + + + 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..597b7ea21 --- /dev/null +++ b/81_en.html @@ -0,0 +1,63 @@ + + + + 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..ddf60dd39 --- /dev/null +++ b/81_es.html @@ -0,0 +1,63 @@ + + + + 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..527437c7b --- /dev/null +++ b/81_fa.html @@ -0,0 +1,63 @@ + + + + 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..12953feaf --- /dev/null +++ b/81_fi.html @@ -0,0 +1,63 @@ + + + + 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..cf579cdb9 --- /dev/null +++ b/81_fr.html @@ -0,0 +1,69 @@ + + + + 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..b8c1fd4fb --- /dev/null +++ b/81_gr.html @@ -0,0 +1,63 @@ + + + + Ξενάγηση στη 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..bfda938ad --- /dev/null +++ b/81_hu.html @@ -0,0 +1,68 @@ + + + + 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..d6ccb6cfc --- /dev/null +++ b/81_id.html @@ -0,0 +1,63 @@ + + + + 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..17200ac4b --- /dev/null +++ b/81_ie.html @@ -0,0 +1,58 @@ + + + + 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..693257485 --- /dev/null +++ b/81_it.html @@ -0,0 +1,63 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Non tradotto] 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_ja.html b/81_ja.html new file mode 100644 index 000000000..846055fe9 --- /dev/null +++ b/81_ja.html @@ -0,0 +1,63 @@ + + + + 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..7d7622350 --- /dev/null +++ b/81_ko.html @@ -0,0 +1,63 @@ + + + + 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_pl.html b/81_pl.html new file mode 100644 index 000000000..e857e9691 --- /dev/null +++ b/81_pl.html @@ -0,0 +1,63 @@ + + + + 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..051845b84 --- /dev/null +++ b/81_pt-br.html @@ -0,0 +1,63 @@ + + + + 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..f9fad50f1 --- /dev/null +++ b/81_ro.html @@ -0,0 +1,63 @@ + + + + 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..c3f67e39f --- /dev/null +++ b/81_ru.html @@ -0,0 +1,63 @@ + + + + Тур по 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..6e43238b8 --- /dev/null +++ b/81_th.html @@ -0,0 +1,63 @@ + + + + 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..6e0a61782 --- /dev/null +++ b/81_tr.html @@ -0,0 +1,63 @@ + + + + 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..fced8f291 --- /dev/null +++ b/81_ua.html @@ -0,0 +1,63 @@ + + + + Тур по 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..9b9cd1092 --- /dev/null +++ b/81_vi.html @@ -0,0 +1,63 @@ + + + + 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..f98a44df5 --- /dev/null +++ b/81_zh-cn.html @@ -0,0 +1,63 @@ + + + + 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..4cb52ea07 --- /dev/null +++ b/81_zh-tw.html @@ -0,0 +1,63 @@ + + + + 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_ar.html b/82_ar.html new file mode 100644 index 000000000..0c34ad85c --- /dev/null +++ b/82_ar.html @@ -0,0 +1,56 @@ + + + + دورة تعلم رست (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..3ea8bced8 --- /dev/null +++ b/82_de.html @@ -0,0 +1,57 @@ + + + + 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..50752380c --- /dev/null +++ b/82_en.html @@ -0,0 +1,57 @@ + + + + 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..98e9772d6 --- /dev/null +++ b/82_es.html @@ -0,0 +1,56 @@ + + + + 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..26022f14e --- /dev/null +++ b/82_fa.html @@ -0,0 +1,57 @@ + + + + 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..64f02b8e8 --- /dev/null +++ b/82_fi.html @@ -0,0 +1,57 @@ + + + + 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..f7f7b5451 --- /dev/null +++ b/82_fr.html @@ -0,0 +1,61 @@ + + + + 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..9965a58f2 --- /dev/null +++ b/82_gr.html @@ -0,0 +1,57 @@ + + + + Ξενάγηση στη 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..88ccb0fc3 --- /dev/null +++ b/82_hu.html @@ -0,0 +1,59 @@ + + + + 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..b2a202153 --- /dev/null +++ b/82_id.html @@ -0,0 +1,57 @@ + + + + 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..cf643edc6 --- /dev/null +++ b/82_ie.html @@ -0,0 +1,57 @@ + + + + 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..4351b0ca7 --- /dev/null +++ b/82_it.html @@ -0,0 +1,57 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Non tradotto] 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_ja.html b/82_ja.html new file mode 100644 index 000000000..f8122ba12 --- /dev/null +++ b/82_ja.html @@ -0,0 +1,56 @@ + + + + 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..9ef660d8f --- /dev/null +++ b/82_ko.html @@ -0,0 +1,57 @@ + + + + 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_pl.html b/82_pl.html new file mode 100644 index 000000000..58f9b158b --- /dev/null +++ b/82_pl.html @@ -0,0 +1,57 @@ + + + + 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..c954f9475 --- /dev/null +++ b/82_pt-br.html @@ -0,0 +1,56 @@ + + + + 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..32b0c91d8 --- /dev/null +++ b/82_ro.html @@ -0,0 +1,57 @@ + + + + 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..2316bd4d7 --- /dev/null +++ b/82_ru.html @@ -0,0 +1,56 @@ + + + + Тур по 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..be3478bf2 --- /dev/null +++ b/82_th.html @@ -0,0 +1,56 @@ + + + + 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..af0a0bdcc --- /dev/null +++ b/82_tr.html @@ -0,0 +1,56 @@ + + + + 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..e04ac71b6 --- /dev/null +++ b/82_ua.html @@ -0,0 +1,56 @@ + + + + Тур по 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..f030af290 --- /dev/null +++ b/82_vi.html @@ -0,0 +1,57 @@ + + + + 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..aa43e2c6e --- /dev/null +++ b/82_zh-cn.html @@ -0,0 +1,56 @@ + + + + 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..72fc19972 --- /dev/null +++ b/82_zh-tw.html @@ -0,0 +1,56 @@ + + + + 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_ar.html b/83_ar.html new file mode 100644 index 000000000..99d366c43 --- /dev/null +++ b/83_ar.html @@ -0,0 +1,55 @@ + + + + دورة تعلم رست (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..96503df06 --- /dev/null +++ b/83_de.html @@ -0,0 +1,56 @@ + + + + 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..8632070a2 --- /dev/null +++ b/83_en.html @@ -0,0 +1,56 @@ + + + + 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..b17d72609 --- /dev/null +++ b/83_es.html @@ -0,0 +1,55 @@ + + + + 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..8d1631790 --- /dev/null +++ b/83_fa.html @@ -0,0 +1,56 @@ + + + + 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..8c1ef962e --- /dev/null +++ b/83_fi.html @@ -0,0 +1,56 @@ + + + + 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..4a27b8ddc --- /dev/null +++ b/83_fr.html @@ -0,0 +1,62 @@ + + + + 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..b25d5b778 --- /dev/null +++ b/83_gr.html @@ -0,0 +1,56 @@ + + + + Ξενάγηση στη 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..259a23922 --- /dev/null +++ b/83_hu.html @@ -0,0 +1,61 @@ + + + + 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..853b2e575 --- /dev/null +++ b/83_id.html @@ -0,0 +1,56 @@ + + + + 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..d1feb7820 --- /dev/null +++ b/83_ie.html @@ -0,0 +1,56 @@ + + + + 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..794cac8c0 --- /dev/null +++ b/83_it.html @@ -0,0 +1,56 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Non tradotto] 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_ja.html b/83_ja.html new file mode 100644 index 000000000..b01517160 --- /dev/null +++ b/83_ja.html @@ -0,0 +1,57 @@ + + + + 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..13d365d18 --- /dev/null +++ b/83_ko.html @@ -0,0 +1,56 @@ + + + + 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_pl.html b/83_pl.html new file mode 100644 index 000000000..2201e5bb0 --- /dev/null +++ b/83_pl.html @@ -0,0 +1,56 @@ + + + + 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..30a6d686f --- /dev/null +++ b/83_pt-br.html @@ -0,0 +1,56 @@ + + + + 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..834bb289a --- /dev/null +++ b/83_ro.html @@ -0,0 +1,59 @@ + + + + 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..63857504c --- /dev/null +++ b/83_ru.html @@ -0,0 +1,56 @@ + + + + Тур по 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..9b4b3c2ac --- /dev/null +++ b/83_th.html @@ -0,0 +1,56 @@ + + + + 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..d9cf32913 --- /dev/null +++ b/83_tr.html @@ -0,0 +1,55 @@ + + + + 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..43cf4004a --- /dev/null +++ b/83_ua.html @@ -0,0 +1,56 @@ + + + + Тур по 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..44e251f06 --- /dev/null +++ b/83_vi.html @@ -0,0 +1,55 @@ + + + + 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..95800bbe3 --- /dev/null +++ b/83_zh-cn.html @@ -0,0 +1,55 @@ + + + + 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..eabe86c23 --- /dev/null +++ b/83_zh-tw.html @@ -0,0 +1,55 @@ + + + + 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_ar.html b/84_ar.html new file mode 100644 index 000000000..68f655dbb --- /dev/null +++ b/84_ar.html @@ -0,0 +1,62 @@ + + + + دورة تعلم رست (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..074715355 --- /dev/null +++ b/84_de.html @@ -0,0 +1,64 @@ + + + + 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..319551fc1 --- /dev/null +++ b/84_en.html @@ -0,0 +1,64 @@ + + + + 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..8f25c83d4 --- /dev/null +++ b/84_es.html @@ -0,0 +1,62 @@ + + + + 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..3bfd7cdd6 --- /dev/null +++ b/84_fa.html @@ -0,0 +1,64 @@ + + + + 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..f514bdb0c --- /dev/null +++ b/84_fi.html @@ -0,0 +1,64 @@ + + + + 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..846ad9ce2 --- /dev/null +++ b/84_fr.html @@ -0,0 +1,68 @@ + + + + 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..35b0bd9bb --- /dev/null +++ b/84_gr.html @@ -0,0 +1,64 @@ + + + + Ξενάγηση στη 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..c0e70b8ea --- /dev/null +++ b/84_hu.html @@ -0,0 +1,67 @@ + + + + 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..83727c55e --- /dev/null +++ b/84_id.html @@ -0,0 +1,64 @@ + + + + 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..1b4aeeede --- /dev/null +++ b/84_ie.html @@ -0,0 +1,64 @@ + + + + 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..64f7bf853 --- /dev/null +++ b/84_it.html @@ -0,0 +1,64 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Non tradotto] 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_ja.html b/84_ja.html new file mode 100644 index 000000000..021d6aaad --- /dev/null +++ b/84_ja.html @@ -0,0 +1,62 @@ + + + + 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..5a185bca0 --- /dev/null +++ b/84_ko.html @@ -0,0 +1,64 @@ + + + + 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_pl.html b/84_pl.html new file mode 100644 index 000000000..c793b6e99 --- /dev/null +++ b/84_pl.html @@ -0,0 +1,64 @@ + + + + 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..e83454cb6 --- /dev/null +++ b/84_pt-br.html @@ -0,0 +1,62 @@ + + + + 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..5dffc3673 --- /dev/null +++ b/84_ro.html @@ -0,0 +1,63 @@ + + + + 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..a8233ce0a --- /dev/null +++ b/84_ru.html @@ -0,0 +1,62 @@ + + + + Тур по 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..005712dc7 --- /dev/null +++ b/84_th.html @@ -0,0 +1,62 @@ + + + + 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..70b784fc5 --- /dev/null +++ b/84_tr.html @@ -0,0 +1,62 @@ + + + + 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..0225566b8 --- /dev/null +++ b/84_ua.html @@ -0,0 +1,62 @@ + + + + Тур по 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..a0629e090 --- /dev/null +++ b/84_vi.html @@ -0,0 +1,62 @@ + + + + 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..82af13d9e --- /dev/null +++ b/84_zh-cn.html @@ -0,0 +1,62 @@ + + + + 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..f7c6156ec --- /dev/null +++ b/84_zh-tw.html @@ -0,0 +1,62 @@ + + + + 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_ar.html b/85_ar.html new file mode 100644 index 000000000..4cb245703 --- /dev/null +++ b/85_ar.html @@ -0,0 +1,65 @@ + + + + دورة تعلم رست (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..03694b692 --- /dev/null +++ b/85_de.html @@ -0,0 +1,65 @@ + + + + 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..815cec184 --- /dev/null +++ b/85_en.html @@ -0,0 +1,65 @@ + + + + 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..67c552224 --- /dev/null +++ b/85_es.html @@ -0,0 +1,65 @@ + + + + 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..2b237bee4 --- /dev/null +++ b/85_fa.html @@ -0,0 +1,65 @@ + + + + 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..609fdeaf4 --- /dev/null +++ b/85_fi.html @@ -0,0 +1,65 @@ + + + + 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..abb91d902 --- /dev/null +++ b/85_fr.html @@ -0,0 +1,66 @@ + + + + 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..2bb835e2f --- /dev/null +++ b/85_gr.html @@ -0,0 +1,65 @@ + + + + Ξενάγηση στη 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..bd5d56266 --- /dev/null +++ b/85_hu.html @@ -0,0 +1,65 @@ + + + + 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..4268fc940 --- /dev/null +++ b/85_id.html @@ -0,0 +1,65 @@ + + + + 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..bfe05a25e --- /dev/null +++ b/85_ie.html @@ -0,0 +1,65 @@ + + + + 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..7a8c43cda --- /dev/null +++ b/85_it.html @@ -0,0 +1,65 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Non tradotto] 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_ja.html b/85_ja.html new file mode 100644 index 000000000..1f313f6ab --- /dev/null +++ b/85_ja.html @@ -0,0 +1,65 @@ + + + + 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..5896669f5 --- /dev/null +++ b/85_ko.html @@ -0,0 +1,65 @@ + + + + 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_pl.html b/85_pl.html new file mode 100644 index 000000000..e6411826c --- /dev/null +++ b/85_pl.html @@ -0,0 +1,65 @@ + + + + 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..246e2cdf7 --- /dev/null +++ b/85_pt-br.html @@ -0,0 +1,65 @@ + + + + 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..82cb8f25e --- /dev/null +++ b/85_ro.html @@ -0,0 +1,65 @@ + + + + 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..9343ff513 --- /dev/null +++ b/85_ru.html @@ -0,0 +1,65 @@ + + + + Тур по 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..21433dfeb --- /dev/null +++ b/85_th.html @@ -0,0 +1,65 @@ + + + + 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..ad6600abb --- /dev/null +++ b/85_tr.html @@ -0,0 +1,65 @@ + + + + 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..2f40cbaed --- /dev/null +++ b/85_ua.html @@ -0,0 +1,65 @@ + + + + Тур по 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..b4c7b2e12 --- /dev/null +++ b/85_vi.html @@ -0,0 +1,65 @@ + + + + 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..0e7d8824f --- /dev/null +++ b/85_zh-cn.html @@ -0,0 +1,65 @@ + + + + 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..2ac5eee95 --- /dev/null +++ b/85_zh-tw.html @@ -0,0 +1,65 @@ + + + + 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_ar.html b/86_ar.html new file mode 100644 index 000000000..0dd4a319e --- /dev/null +++ b/86_ar.html @@ -0,0 +1,58 @@ + + + + دورة تعلم رست (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..900a79b7b --- /dev/null +++ b/86_de.html @@ -0,0 +1,60 @@ + + + + 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..8421cad29 --- /dev/null +++ b/86_en.html @@ -0,0 +1,60 @@ + + + + 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..c1efe6dd1 --- /dev/null +++ b/86_es.html @@ -0,0 +1,58 @@ + + + + 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..58012514d --- /dev/null +++ b/86_fa.html @@ -0,0 +1,60 @@ + + + + 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..0814c986a --- /dev/null +++ b/86_fi.html @@ -0,0 +1,60 @@ + + + + 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..cb19f2007 --- /dev/null +++ b/86_fr.html @@ -0,0 +1,62 @@ + + + + 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..e93ab0ac0 --- /dev/null +++ b/86_gr.html @@ -0,0 +1,60 @@ + + + + Ξενάγηση στη 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..f26cb609f --- /dev/null +++ b/86_hu.html @@ -0,0 +1,61 @@ + + + + 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..cc2e8e2f8 --- /dev/null +++ b/86_id.html @@ -0,0 +1,60 @@ + + + + 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..c012642aa --- /dev/null +++ b/86_ie.html @@ -0,0 +1,59 @@ + + + + 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..8584e9f76 --- /dev/null +++ b/86_it.html @@ -0,0 +1,60 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Non tradotto] 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_ja.html b/86_ja.html new file mode 100644 index 000000000..2c6f4bc85 --- /dev/null +++ b/86_ja.html @@ -0,0 +1,58 @@ + + + + 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..e48ef9a2f --- /dev/null +++ b/86_ko.html @@ -0,0 +1,59 @@ + + + + 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_pl.html b/86_pl.html new file mode 100644 index 000000000..1abc4265c --- /dev/null +++ b/86_pl.html @@ -0,0 +1,60 @@ + + + + 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..cd08b4adb --- /dev/null +++ b/86_pt-br.html @@ -0,0 +1,58 @@ + + + + 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..3b6db4fe3 --- /dev/null +++ b/86_ro.html @@ -0,0 +1,59 @@ + + + + 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..caa9b22b5 --- /dev/null +++ b/86_ru.html @@ -0,0 +1,58 @@ + + + + Тур по 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..b249e6b74 --- /dev/null +++ b/86_th.html @@ -0,0 +1,58 @@ + + + + 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..c240d4e9a --- /dev/null +++ b/86_tr.html @@ -0,0 +1,57 @@ + + + + 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..4ce0f47e2 --- /dev/null +++ b/86_ua.html @@ -0,0 +1,58 @@ + + + + Тур по 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..e92caf7b1 --- /dev/null +++ b/86_vi.html @@ -0,0 +1,58 @@ + + + + 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..6aa88b258 --- /dev/null +++ b/86_zh-cn.html @@ -0,0 +1,58 @@ + + + + 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..6ed19dbe3 --- /dev/null +++ b/86_zh-tw.html @@ -0,0 +1,58 @@ + + + + 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_ar.html b/87_ar.html new file mode 100644 index 000000000..e87e402f3 --- /dev/null +++ b/87_ar.html @@ -0,0 +1,64 @@ + + + + دورة تعلم رست (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..37d75f19a --- /dev/null +++ b/87_de.html @@ -0,0 +1,64 @@ + + + + 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..5c56a5029 --- /dev/null +++ b/87_en.html @@ -0,0 +1,64 @@ + + + + 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..494f2d2c2 --- /dev/null +++ b/87_es.html @@ -0,0 +1,64 @@ + + + + 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..528c96dbd --- /dev/null +++ b/87_fa.html @@ -0,0 +1,64 @@ + + + + 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..7b5bc017f --- /dev/null +++ b/87_fi.html @@ -0,0 +1,64 @@ + + + + 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..7a293e031 --- /dev/null +++ b/87_fr.html @@ -0,0 +1,67 @@ + + + + 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..908ac4375 --- /dev/null +++ b/87_gr.html @@ -0,0 +1,64 @@ + + + + Ξενάγηση στη 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..40eca4942 --- /dev/null +++ b/87_hu.html @@ -0,0 +1,66 @@ + + + + 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..f6566a3aa --- /dev/null +++ b/87_id.html @@ -0,0 +1,64 @@ + + + + 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..a10ead801 --- /dev/null +++ b/87_ie.html @@ -0,0 +1,66 @@ + + + + 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..52cd016df --- /dev/null +++ b/87_it.html @@ -0,0 +1,64 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Non tradotto] 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_ja.html b/87_ja.html new file mode 100644 index 000000000..63a647490 --- /dev/null +++ b/87_ja.html @@ -0,0 +1,64 @@ + + + + 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..dddc47e7d --- /dev/null +++ b/87_ko.html @@ -0,0 +1,64 @@ + + + + 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_pl.html b/87_pl.html new file mode 100644 index 000000000..913a2a034 --- /dev/null +++ b/87_pl.html @@ -0,0 +1,64 @@ + + + + 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..201c5f208 --- /dev/null +++ b/87_pt-br.html @@ -0,0 +1,64 @@ + + + + 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..86d6adac3 --- /dev/null +++ b/87_ro.html @@ -0,0 +1,64 @@ + + + + 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..883cbc0c0 --- /dev/null +++ b/87_ru.html @@ -0,0 +1,64 @@ + + + + Тур по 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..53dd11631 --- /dev/null +++ b/87_th.html @@ -0,0 +1,64 @@ + + + + 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..472c198a1 --- /dev/null +++ b/87_tr.html @@ -0,0 +1,65 @@ + + + + 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..43169367d --- /dev/null +++ b/87_ua.html @@ -0,0 +1,64 @@ + + + + Тур по 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..846b5d140 --- /dev/null +++ b/87_vi.html @@ -0,0 +1,64 @@ + + + + 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..75648fb00 --- /dev/null +++ b/87_zh-cn.html @@ -0,0 +1,64 @@ + + + + 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..8248fff5a --- /dev/null +++ b/87_zh-tw.html @@ -0,0 +1,64 @@ + + + + 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_ar.html b/88_ar.html new file mode 100644 index 000000000..3df80bb25 --- /dev/null +++ b/88_ar.html @@ -0,0 +1,56 @@ + + + + دورة تعلم رست (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..045973a07 --- /dev/null +++ b/88_de.html @@ -0,0 +1,60 @@ + + + + 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..02aaa3b35 --- /dev/null +++ b/88_en.html @@ -0,0 +1,60 @@ + + + + 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..6a9195234 --- /dev/null +++ b/88_es.html @@ -0,0 +1,58 @@ + + + + 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..82c57f5ef --- /dev/null +++ b/88_fa.html @@ -0,0 +1,60 @@ + + + + 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..191212ce6 --- /dev/null +++ b/88_fi.html @@ -0,0 +1,60 @@ + + + + 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..b523e711f --- /dev/null +++ b/88_fr.html @@ -0,0 +1,64 @@ + + + + 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..5fc2b3fff --- /dev/null +++ b/88_gr.html @@ -0,0 +1,60 @@ + + + + Ξενάγηση στη 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..8de5a3200 --- /dev/null +++ b/88_hu.html @@ -0,0 +1,62 @@ + + + + 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..47bf61af6 --- /dev/null +++ b/88_id.html @@ -0,0 +1,60 @@ + + + + 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..dfab64079 --- /dev/null +++ b/88_ie.html @@ -0,0 +1,55 @@ + + + + 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..3b8ae17fa --- /dev/null +++ b/88_it.html @@ -0,0 +1,60 @@ + + + + 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..5a308d69c --- /dev/null +++ b/88_ja.html @@ -0,0 +1,59 @@ + + + + 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..ed6fc69c8 --- /dev/null +++ b/88_ko.html @@ -0,0 +1,59 @@ + + + + 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_pl.html b/88_pl.html new file mode 100644 index 000000000..1de28e8e6 --- /dev/null +++ b/88_pl.html @@ -0,0 +1,60 @@ + + + + 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..004bbfe81 --- /dev/null +++ b/88_pt-br.html @@ -0,0 +1,56 @@ + + + + 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..5e2c9ae6a --- /dev/null +++ b/88_ro.html @@ -0,0 +1,58 @@ + + + + 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..c4a6baf53 --- /dev/null +++ b/88_ru.html @@ -0,0 +1,58 @@ + + + + Тур по 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..d32f78ee3 --- /dev/null +++ b/88_th.html @@ -0,0 +1,57 @@ + + + + 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..d392f4d6d --- /dev/null +++ b/88_tr.html @@ -0,0 +1,56 @@ + + + + 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..7341340bf --- /dev/null +++ b/88_ua.html @@ -0,0 +1,60 @@ + + + + Тур по 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..592d8e0c4 --- /dev/null +++ b/88_vi.html @@ -0,0 +1,56 @@ + + + + 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..5de331872 --- /dev/null +++ b/88_zh-cn.html @@ -0,0 +1,57 @@ + + + + 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..4daf46ee2 --- /dev/null +++ b/88_zh-tw.html @@ -0,0 +1,57 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第七章 - 總結

+

我們現在學會更多方式來清楚地表達我們的點子了! +Rust 的抽象化可能很簡單,但它們威力足夠使你快樂的 coding。 在此章節,我們也偷看了一下智慧指標 Box。下個章節我們將會學到更多有關智慧指標怎麼在其他特別的記憶體情況下幫助我們。

+

外部資源:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/90_ar.html b/90_ar.html new file mode 100644 index 000000000..905709b26 --- /dev/null +++ b/90_ar.html @@ -0,0 +1,51 @@ + + + + دورة تعلم رست (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..bb04384a8 --- /dev/null +++ b/90_de.html @@ -0,0 +1,55 @@ + + + + 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..cbca2a35c --- /dev/null +++ b/90_en.html @@ -0,0 +1,55 @@ + + + + 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..a26978045 --- /dev/null +++ b/90_es.html @@ -0,0 +1,51 @@ + + + + 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..122d535f8 --- /dev/null +++ b/90_fa.html @@ -0,0 +1,55 @@ + + + + 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..c034d46b3 --- /dev/null +++ b/90_fi.html @@ -0,0 +1,55 @@ + + + + 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..aa411cc94 --- /dev/null +++ b/90_fr.html @@ -0,0 +1,56 @@ + + + + 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..6c711b67a --- /dev/null +++ b/90_gr.html @@ -0,0 +1,55 @@ + + + + Ξενάγηση στη 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..1ee23ed44 --- /dev/null +++ b/90_hu.html @@ -0,0 +1,55 @@ + + + + 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..149e27d5a --- /dev/null +++ b/90_id.html @@ -0,0 +1,55 @@ + + + + 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..16ce380aa --- /dev/null +++ b/90_ie.html @@ -0,0 +1,55 @@ + + + + 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..d7f38ce91 --- /dev/null +++ b/90_it.html @@ -0,0 +1,55 @@ + + + + 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..632b686b6 --- /dev/null +++ b/90_ja.html @@ -0,0 +1,55 @@ + + + + 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..33781d4aa --- /dev/null +++ b/90_ko.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

참조 다시 보기

+

참조는 근본적으로 메모리 상의 어떤 바이트들의 시작 위치를 가리키는 숫자일 뿐입니다. +참조의 유일한 용도는 특정 자료형의 데이터가 어디에 존재하는지에 대한 개념을 나타내는 것입니다. +일반 숫자와의 차이점은 Rust에서 참조가 가리키는 값보다 더 오래 살지 않도록 +lifetime을 검증한다는 것입니다 (안그러면 그걸 사용했을 때 오류가 날 것입니다!).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/90_pl.html b/90_pl.html new file mode 100644 index 000000000..04c235e0d --- /dev/null +++ b/90_pl.html @@ -0,0 +1,55 @@ + + + + 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..afca281c0 --- /dev/null +++ b/90_pt-br.html @@ -0,0 +1,51 @@ + + + + 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..7a5dba510 --- /dev/null +++ b/90_ro.html @@ -0,0 +1,55 @@ + + + + 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..ac0b0682b --- /dev/null +++ b/90_ru.html @@ -0,0 +1,51 @@ + + + + Тур по 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..eca5cb805 --- /dev/null +++ b/90_th.html @@ -0,0 +1,52 @@ + + + + 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..f967c73dd --- /dev/null +++ b/90_tr.html @@ -0,0 +1,51 @@ + + + + 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..0369a8669 --- /dev/null +++ b/90_ua.html @@ -0,0 +1,55 @@ + + + + Тур по 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..135bb2884 --- /dev/null +++ b/90_vi.html @@ -0,0 +1,51 @@ + + + + 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..7d0254e63 --- /dev/null +++ b/90_zh-cn.html @@ -0,0 +1,51 @@ + + + + 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..0d8c1e676 --- /dev/null +++ b/90_zh-tw.html @@ -0,0 +1,55 @@ + + + + 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_ar.html b/91_ar.html new file mode 100644 index 000000000..0e3aad18e --- /dev/null +++ b/91_ar.html @@ -0,0 +1,65 @@ + + + + دورة تعلم رست (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..e9dba268c --- /dev/null +++ b/91_de.html @@ -0,0 +1,70 @@ + + + + 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..6e6fbf54b --- /dev/null +++ b/91_en.html @@ -0,0 +1,70 @@ + + + + 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..47cecb403 --- /dev/null +++ b/91_es.html @@ -0,0 +1,64 @@ + + + + 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..23a996cab --- /dev/null +++ b/91_fa.html @@ -0,0 +1,69 @@ + + + + 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..c21291515 --- /dev/null +++ b/91_fi.html @@ -0,0 +1,70 @@ + + + + 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..9139ffc3a --- /dev/null +++ b/91_fr.html @@ -0,0 +1,78 @@ + + + + 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..802a2d752 --- /dev/null +++ b/91_gr.html @@ -0,0 +1,70 @@ + + + + Ξενάγηση στη 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..ba6d58541 --- /dev/null +++ b/91_hu.html @@ -0,0 +1,71 @@ + + + + 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..66aa54071 --- /dev/null +++ b/91_id.html @@ -0,0 +1,70 @@ + + + + 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..ad0160dc7 --- /dev/null +++ b/91_ie.html @@ -0,0 +1,69 @@ + + + + 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..6b6b95131 --- /dev/null +++ b/91_it.html @@ -0,0 +1,70 @@ + + + + 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..abe83a4f1 --- /dev/null +++ b/91_ja.html @@ -0,0 +1,70 @@ + + + + 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..3a46eeff5 --- /dev/null +++ b/91_ko.html @@ -0,0 +1,69 @@ + + + + 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_pl.html b/91_pl.html new file mode 100644 index 000000000..e1180d72e --- /dev/null +++ b/91_pl.html @@ -0,0 +1,70 @@ + + + + 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..148e5ce43 --- /dev/null +++ b/91_pt-br.html @@ -0,0 +1,65 @@ + + + + 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..87d71f8b6 --- /dev/null +++ b/91_ro.html @@ -0,0 +1,71 @@ + + + + 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..fbfb599de --- /dev/null +++ b/91_ru.html @@ -0,0 +1,66 @@ + + + + Тур по 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..c93b81b91 --- /dev/null +++ b/91_th.html @@ -0,0 +1,70 @@ + + + + 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..2d9b73992 --- /dev/null +++ b/91_tr.html @@ -0,0 +1,65 @@ + + + + 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..c7d5f0170 --- /dev/null +++ b/91_ua.html @@ -0,0 +1,70 @@ + + + + Тур по 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..d84c0815a --- /dev/null +++ b/91_vi.html @@ -0,0 +1,65 @@ + + + + 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..1a3e981d5 --- /dev/null +++ b/91_zh-cn.html @@ -0,0 +1,65 @@ + + + + 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..3eefd173d --- /dev/null +++ b/91_zh-tw.html @@ -0,0 +1,70 @@ + + + + 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_ar.html b/92_ar.html new file mode 100644 index 000000000..d6449343c --- /dev/null +++ b/92_ar.html @@ -0,0 +1,57 @@ + + + + دورة تعلم رست (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..e491a5001 --- /dev/null +++ b/92_de.html @@ -0,0 +1,58 @@ + + + + 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..e2756ed41 --- /dev/null +++ b/92_en.html @@ -0,0 +1,58 @@ + + + + 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..d534a3997 --- /dev/null +++ b/92_es.html @@ -0,0 +1,57 @@ + + + + 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..e72c5f822 --- /dev/null +++ b/92_fa.html @@ -0,0 +1,58 @@ + + + + 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..63e749fd6 --- /dev/null +++ b/92_fi.html @@ -0,0 +1,58 @@ + + + + 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..62bf07ba4 --- /dev/null +++ b/92_fr.html @@ -0,0 +1,59 @@ + + + + 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..8a3eacd72 --- /dev/null +++ b/92_gr.html @@ -0,0 +1,58 @@ + + + + Ξενάγηση στη 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..c678d344b --- /dev/null +++ b/92_hu.html @@ -0,0 +1,58 @@ + + + + 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..1b28645fb --- /dev/null +++ b/92_id.html @@ -0,0 +1,58 @@ + + + + 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..8d96ffd72 --- /dev/null +++ b/92_ie.html @@ -0,0 +1,58 @@ + + + + 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..5d19a4715 --- /dev/null +++ b/92_it.html @@ -0,0 +1,58 @@ + + + + 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..4c1f4e049 --- /dev/null +++ b/92_ja.html @@ -0,0 +1,58 @@ + + + + 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..9413db6a1 --- /dev/null +++ b/92_ko.html @@ -0,0 +1,58 @@ + + + + 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_pl.html b/92_pl.html new file mode 100644 index 000000000..0510c9eb2 --- /dev/null +++ b/92_pl.html @@ -0,0 +1,58 @@ + + + + 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..3b1da7fcc --- /dev/null +++ b/92_pt-br.html @@ -0,0 +1,57 @@ + + + + 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..c39dcbe67 --- /dev/null +++ b/92_ro.html @@ -0,0 +1,58 @@ + + + + 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..0f335a255 --- /dev/null +++ b/92_ru.html @@ -0,0 +1,58 @@ + + + + Тур по 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..ce422084b --- /dev/null +++ b/92_th.html @@ -0,0 +1,58 @@ + + + + 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..e958ddf28 --- /dev/null +++ b/92_tr.html @@ -0,0 +1,58 @@ + + + + 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..e7d5cee90 --- /dev/null +++ b/92_ua.html @@ -0,0 +1,58 @@ + + + + Тур по 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..368478666 --- /dev/null +++ b/92_vi.html @@ -0,0 +1,57 @@ + + + + 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..d2d94bf28 --- /dev/null +++ b/92_zh-cn.html @@ -0,0 +1,57 @@ + + + + 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..bead31dda --- /dev/null +++ b/92_zh-tw.html @@ -0,0 +1,58 @@ + + + + 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_ar.html b/93_ar.html new file mode 100644 index 000000000..657ac3375 --- /dev/null +++ b/93_ar.html @@ -0,0 +1,62 @@ + + + + دورة تعلم رست (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..4cbc466fd --- /dev/null +++ b/93_de.html @@ -0,0 +1,63 @@ + + + + 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..358be5801 --- /dev/null +++ b/93_en.html @@ -0,0 +1,63 @@ + + + + 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..da41c82f8 --- /dev/null +++ b/93_es.html @@ -0,0 +1,62 @@ + + + + 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..0f5972762 --- /dev/null +++ b/93_fa.html @@ -0,0 +1,63 @@ + + + + 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..2518f0531 --- /dev/null +++ b/93_fi.html @@ -0,0 +1,63 @@ + + + + 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..24e874ff7 --- /dev/null +++ b/93_fr.html @@ -0,0 +1,64 @@ + + + + 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..7aec7e496 --- /dev/null +++ b/93_gr.html @@ -0,0 +1,63 @@ + + + + Ξενάγηση στη 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..594705d5d --- /dev/null +++ b/93_hu.html @@ -0,0 +1,63 @@ + + + + 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..f8568ffd6 --- /dev/null +++ b/93_id.html @@ -0,0 +1,63 @@ + + + + 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..9c4518b4c --- /dev/null +++ b/93_ie.html @@ -0,0 +1,63 @@ + + + + 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..c52285c2c --- /dev/null +++ b/93_it.html @@ -0,0 +1,63 @@ + + + + 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..f941ae471 --- /dev/null +++ b/93_ja.html @@ -0,0 +1,63 @@ + + + + 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..362743393 --- /dev/null +++ b/93_ko.html @@ -0,0 +1,63 @@ + + + + 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_pl.html b/93_pl.html new file mode 100644 index 000000000..5069e646d --- /dev/null +++ b/93_pl.html @@ -0,0 +1,63 @@ + + + + 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..6307aa218 --- /dev/null +++ b/93_pt-br.html @@ -0,0 +1,62 @@ + + + + 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..5d0fc67af --- /dev/null +++ b/93_ro.html @@ -0,0 +1,63 @@ + + + + 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..ac4afd419 --- /dev/null +++ b/93_ru.html @@ -0,0 +1,62 @@ + + + + Тур по 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..174cb3fc6 --- /dev/null +++ b/93_th.html @@ -0,0 +1,63 @@ + + + + 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..347848449 --- /dev/null +++ b/93_tr.html @@ -0,0 +1,62 @@ + + + + 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..0ee9c39a2 --- /dev/null +++ b/93_ua.html @@ -0,0 +1,63 @@ + + + + Тур по 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..6fa71fc1a --- /dev/null +++ b/93_vi.html @@ -0,0 +1,62 @@ + + + + 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..ec5e4a0b7 --- /dev/null +++ b/93_zh-cn.html @@ -0,0 +1,62 @@ + + + + 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..569423f77 --- /dev/null +++ b/93_zh-tw.html @@ -0,0 +1,63 @@ + + + + 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_ar.html b/94_ar.html new file mode 100644 index 000000000..c65c3d172 --- /dev/null +++ b/94_ar.html @@ -0,0 +1,60 @@ + + + + دورة تعلم رست (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..36102436a --- /dev/null +++ b/94_de.html @@ -0,0 +1,61 @@ + + + + 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..fbdfa259e --- /dev/null +++ b/94_en.html @@ -0,0 +1,61 @@ + + + + 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..e89f016bb --- /dev/null +++ b/94_es.html @@ -0,0 +1,60 @@ + + + + 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..1bd132921 --- /dev/null +++ b/94_fa.html @@ -0,0 +1,61 @@ + + + + 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..2bf025c62 --- /dev/null +++ b/94_fi.html @@ -0,0 +1,61 @@ + + + + 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..b2439ac26 --- /dev/null +++ b/94_fr.html @@ -0,0 +1,64 @@ + + + + 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..97a51f543 --- /dev/null +++ b/94_gr.html @@ -0,0 +1,61 @@ + + + + Ξενάγηση στη 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..8c3358c98 --- /dev/null +++ b/94_hu.html @@ -0,0 +1,62 @@ + + + + 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..8fce743b3 --- /dev/null +++ b/94_id.html @@ -0,0 +1,61 @@ + + + + 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..e588b544d --- /dev/null +++ b/94_ie.html @@ -0,0 +1,62 @@ + + + + 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..46a36b7cb --- /dev/null +++ b/94_it.html @@ -0,0 +1,61 @@ + + + + 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..ce6e86c9c --- /dev/null +++ b/94_ja.html @@ -0,0 +1,61 @@ + + + + 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..4667c5e14 --- /dev/null +++ b/94_ko.html @@ -0,0 +1,61 @@ + + + + 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_pl.html b/94_pl.html new file mode 100644 index 000000000..a1cbfe964 --- /dev/null +++ b/94_pl.html @@ -0,0 +1,61 @@ + + + + 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..af3b7cf9d --- /dev/null +++ b/94_pt-br.html @@ -0,0 +1,60 @@ + + + + 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..75c9291c8 --- /dev/null +++ b/94_ro.html @@ -0,0 +1,61 @@ + + + + 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..fadcc99c9 --- /dev/null +++ b/94_ru.html @@ -0,0 +1,60 @@ + + + + Тур по 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..566299a41 --- /dev/null +++ b/94_th.html @@ -0,0 +1,60 @@ + + + + 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..f4ce5ad32 --- /dev/null +++ b/94_tr.html @@ -0,0 +1,60 @@ + + + + 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..0863ac701 --- /dev/null +++ b/94_ua.html @@ -0,0 +1,61 @@ + + + + Тур по 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..944110777 --- /dev/null +++ b/94_vi.html @@ -0,0 +1,60 @@ + + + + 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..6a889e232 --- /dev/null +++ b/94_zh-cn.html @@ -0,0 +1,60 @@ + + + + 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..64794bb3b --- /dev/null +++ b/94_zh-tw.html @@ -0,0 +1,61 @@ + + + + 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_ar.html b/95_ar.html new file mode 100644 index 000000000..68fca772a --- /dev/null +++ b/95_ar.html @@ -0,0 +1,55 @@ + + + + دورة تعلم رست (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..1aaa90a24 --- /dev/null +++ b/95_de.html @@ -0,0 +1,59 @@ + + + + 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..186513ccf --- /dev/null +++ b/95_en.html @@ -0,0 +1,59 @@ + + + + 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..4d0eac258 --- /dev/null +++ b/95_es.html @@ -0,0 +1,55 @@ + + + + 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..f0521ce8c --- /dev/null +++ b/95_fa.html @@ -0,0 +1,59 @@ + + + + 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..d13fbc729 --- /dev/null +++ b/95_fi.html @@ -0,0 +1,59 @@ + + + + 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..109d7b558 --- /dev/null +++ b/95_fr.html @@ -0,0 +1,63 @@ + + + + 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..1c0e02279 --- /dev/null +++ b/95_gr.html @@ -0,0 +1,59 @@ + + + + Ξενάγηση στη 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..f45aed7a8 --- /dev/null +++ b/95_hu.html @@ -0,0 +1,59 @@ + + + + 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..76981a1b0 --- /dev/null +++ b/95_id.html @@ -0,0 +1,59 @@ + + + + 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..f0390f19c --- /dev/null +++ b/95_ie.html @@ -0,0 +1,59 @@ + + + + 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..029d30575 --- /dev/null +++ b/95_it.html @@ -0,0 +1,59 @@ + + + + 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..163e28ef3 --- /dev/null +++ b/95_ja.html @@ -0,0 +1,59 @@ + + + + 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..61be433ee --- /dev/null +++ b/95_ko.html @@ -0,0 +1,59 @@ + + + + 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_pl.html b/95_pl.html new file mode 100644 index 000000000..cf9f180c4 --- /dev/null +++ b/95_pl.html @@ -0,0 +1,59 @@ + + + + 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..a963dc005 --- /dev/null +++ b/95_pt-br.html @@ -0,0 +1,55 @@ + + + + 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..7acab1f38 --- /dev/null +++ b/95_ro.html @@ -0,0 +1,59 @@ + + + + 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..d2b31a027 --- /dev/null +++ b/95_ru.html @@ -0,0 +1,55 @@ + + + + Тур по 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..fc6202ae9 --- /dev/null +++ b/95_th.html @@ -0,0 +1,56 @@ + + + + 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..a8995fc87 --- /dev/null +++ b/95_tr.html @@ -0,0 +1,55 @@ + + + + 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..bb2a42286 --- /dev/null +++ b/95_ua.html @@ -0,0 +1,59 @@ + + + + Тур по 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..19b966a8b --- /dev/null +++ b/95_vi.html @@ -0,0 +1,55 @@ + + + + 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..fdd10172a --- /dev/null +++ b/95_zh-cn.html @@ -0,0 +1,55 @@ + + + + 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..9b3f12ae2 --- /dev/null +++ b/95_zh-tw.html @@ -0,0 +1,59 @@ + + + + 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_ar.html b/96_ar.html new file mode 100644 index 000000000..8acdef0cb --- /dev/null +++ b/96_ar.html @@ -0,0 +1,57 @@ + + + + دورة تعلم رست (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..6d546b27e --- /dev/null +++ b/96_de.html @@ -0,0 +1,61 @@ + + + + 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..8b77b382d --- /dev/null +++ b/96_en.html @@ -0,0 +1,61 @@ + + + + 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..1a451069e --- /dev/null +++ b/96_es.html @@ -0,0 +1,56 @@ + + + + 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..4cd079764 --- /dev/null +++ b/96_fa.html @@ -0,0 +1,61 @@ + + + + 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..e21c7b4ff --- /dev/null +++ b/96_fi.html @@ -0,0 +1,61 @@ + + + + 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..b3435053c --- /dev/null +++ b/96_fr.html @@ -0,0 +1,65 @@ + + + + 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..1f80941f6 --- /dev/null +++ b/96_gr.html @@ -0,0 +1,61 @@ + + + + Ξενάγηση στη 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..d16289556 --- /dev/null +++ b/96_hu.html @@ -0,0 +1,67 @@ + + + + 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..50242c9b8 --- /dev/null +++ b/96_id.html @@ -0,0 +1,61 @@ + + + + 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..5eded77a1 --- /dev/null +++ b/96_ie.html @@ -0,0 +1,62 @@ + + + + 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..407ab3008 --- /dev/null +++ b/96_it.html @@ -0,0 +1,61 @@ + + + + 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..25199d006 --- /dev/null +++ b/96_ja.html @@ -0,0 +1,61 @@ + + + + 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..4df11b943 --- /dev/null +++ b/96_ko.html @@ -0,0 +1,61 @@ + + + + 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_pl.html b/96_pl.html new file mode 100644 index 000000000..8b26c9d08 --- /dev/null +++ b/96_pl.html @@ -0,0 +1,61 @@ + + + + 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..685a4b6d4 --- /dev/null +++ b/96_pt-br.html @@ -0,0 +1,57 @@ + + + + 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..964e0a506 --- /dev/null +++ b/96_ro.html @@ -0,0 +1,61 @@ + + + + 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..8437d77b0 --- /dev/null +++ b/96_ru.html @@ -0,0 +1,57 @@ + + + + Тур по 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..a942f5140 --- /dev/null +++ b/96_th.html @@ -0,0 +1,58 @@ + + + + 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..714da77fc --- /dev/null +++ b/96_tr.html @@ -0,0 +1,56 @@ + + + + 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..6fada7cba --- /dev/null +++ b/96_ua.html @@ -0,0 +1,61 @@ + + + + Тур по 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..dc870f9ef --- /dev/null +++ b/96_vi.html @@ -0,0 +1,57 @@ + + + + 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..d7525bc15 --- /dev/null +++ b/96_zh-cn.html @@ -0,0 +1,57 @@ + + + + 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..9016f6370 --- /dev/null +++ b/96_zh-tw.html @@ -0,0 +1,61 @@ + + + + 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_ar.html b/97_ar.html new file mode 100644 index 000000000..cd401ef1d --- /dev/null +++ b/97_ar.html @@ -0,0 +1,60 @@ + + + + دورة تعلم رست (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..14c988056 --- /dev/null +++ b/97_de.html @@ -0,0 +1,64 @@ + + + + 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..6904072e3 --- /dev/null +++ b/97_en.html @@ -0,0 +1,64 @@ + + + + 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..955925707 --- /dev/null +++ b/97_es.html @@ -0,0 +1,60 @@ + + + + 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..23b0c47ce --- /dev/null +++ b/97_fa.html @@ -0,0 +1,64 @@ + + + + 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..b2b1ad06c --- /dev/null +++ b/97_fi.html @@ -0,0 +1,64 @@ + + + + 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..90c9ff451 --- /dev/null +++ b/97_fr.html @@ -0,0 +1,72 @@ + + + + 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..1296d29e7 --- /dev/null +++ b/97_gr.html @@ -0,0 +1,64 @@ + + + + Ξενάγηση στη 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..58059fac3 --- /dev/null +++ b/97_hu.html @@ -0,0 +1,70 @@ + + + + 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..e843b6304 --- /dev/null +++ b/97_id.html @@ -0,0 +1,64 @@ + + + + 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..5117679af --- /dev/null +++ b/97_ie.html @@ -0,0 +1,64 @@ + + + + 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..091629ee1 --- /dev/null +++ b/97_it.html @@ -0,0 +1,64 @@ + + + + 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..b1dd56097 --- /dev/null +++ b/97_ja.html @@ -0,0 +1,64 @@ + + + + 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..4275b34e2 --- /dev/null +++ b/97_ko.html @@ -0,0 +1,65 @@ + + + + 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_pl.html b/97_pl.html new file mode 100644 index 000000000..e24bf35d9 --- /dev/null +++ b/97_pl.html @@ -0,0 +1,64 @@ + + + + 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..6a2a45526 --- /dev/null +++ b/97_pt-br.html @@ -0,0 +1,60 @@ + + + + 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..047b2d7f4 --- /dev/null +++ b/97_ro.html @@ -0,0 +1,64 @@ + + + + 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..3626e6c3c --- /dev/null +++ b/97_ru.html @@ -0,0 +1,60 @@ + + + + Тур по 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..5d0afffd1 --- /dev/null +++ b/97_th.html @@ -0,0 +1,61 @@ + + + + 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..c3a979912 --- /dev/null +++ b/97_tr.html @@ -0,0 +1,60 @@ + + + + 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..731ffdd9a --- /dev/null +++ b/97_ua.html @@ -0,0 +1,64 @@ + + + + Тур по 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..c4e1b44f7 --- /dev/null +++ b/97_vi.html @@ -0,0 +1,60 @@ + + + + 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..8317d83de --- /dev/null +++ b/97_zh-cn.html @@ -0,0 +1,62 @@ + + + + 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..63cf1aa3f --- /dev/null +++ b/97_zh-tw.html @@ -0,0 +1,64 @@ + + + + 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_ar.html b/98_ar.html new file mode 100644 index 000000000..c285bf071 --- /dev/null +++ b/98_ar.html @@ -0,0 +1,54 @@ + + + + دورة تعلم رست (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..1f00ebf6f --- /dev/null +++ b/98_de.html @@ -0,0 +1,54 @@ + + + + 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..4dc8678b6 --- /dev/null +++ b/98_en.html @@ -0,0 +1,54 @@ + + + + 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..4a01dd799 --- /dev/null +++ b/98_es.html @@ -0,0 +1,54 @@ + + + + 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..ee1b2431d --- /dev/null +++ b/98_fa.html @@ -0,0 +1,54 @@ + + + + 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..ebc290a1c --- /dev/null +++ b/98_fi.html @@ -0,0 +1,54 @@ + + + + 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..900e8b841 --- /dev/null +++ b/98_fr.html @@ -0,0 +1,56 @@ + + + + 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..2cf903187 --- /dev/null +++ b/98_gr.html @@ -0,0 +1,54 @@ + + + + Ξενάγηση στη 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..888f50084 --- /dev/null +++ b/98_hu.html @@ -0,0 +1,54 @@ + + + + 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..b9a033fd6 --- /dev/null +++ b/98_id.html @@ -0,0 +1,54 @@ + + + + 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..25b189a58 --- /dev/null +++ b/98_ie.html @@ -0,0 +1,54 @@ + + + + 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..b5ce1ccdb --- /dev/null +++ b/98_it.html @@ -0,0 +1,54 @@ + + + + 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..21c9ec3ec --- /dev/null +++ b/98_ja.html @@ -0,0 +1,54 @@ + + + + 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..8ea9a34d1 --- /dev/null +++ b/98_ko.html @@ -0,0 +1,54 @@ + + + + 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_pl.html b/98_pl.html new file mode 100644 index 000000000..7ea615388 --- /dev/null +++ b/98_pl.html @@ -0,0 +1,54 @@ + + + + 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..822964aca --- /dev/null +++ b/98_pt-br.html @@ -0,0 +1,54 @@ + + + + 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..2e7fb2ade --- /dev/null +++ b/98_ro.html @@ -0,0 +1,54 @@ + + + + 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..75b504e96 --- /dev/null +++ b/98_ru.html @@ -0,0 +1,54 @@ + + + + Тур по 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..66de951ae --- /dev/null +++ b/98_th.html @@ -0,0 +1,54 @@ + + + + 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..86c78c69f --- /dev/null +++ b/98_tr.html @@ -0,0 +1,54 @@ + + + + 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..738558a9e --- /dev/null +++ b/98_ua.html @@ -0,0 +1,54 @@ + + + + Тур по 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..7f0a476e6 --- /dev/null +++ b/98_vi.html @@ -0,0 +1,54 @@ + + + + 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..8deee4912 --- /dev/null +++ b/98_zh-cn.html @@ -0,0 +1,54 @@ + + + + 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..164c6fb65 --- /dev/null +++ b/98_zh-tw.html @@ -0,0 +1,54 @@ + + + + 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_ar.html b/99_ar.html new file mode 100644 index 000000000..9e12c9b9f --- /dev/null +++ b/99_ar.html @@ -0,0 +1,57 @@ + + + + دورة تعلم رست (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..920a0289c --- /dev/null +++ b/99_de.html @@ -0,0 +1,61 @@ + + + + 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..f0dde5670 --- /dev/null +++ b/99_en.html @@ -0,0 +1,61 @@ + + + + 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..20ef983b9 --- /dev/null +++ b/99_es.html @@ -0,0 +1,57 @@ + + + + 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..12eee3ddd --- /dev/null +++ b/99_fa.html @@ -0,0 +1,61 @@ + + + + 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..e36691d93 --- /dev/null +++ b/99_fi.html @@ -0,0 +1,61 @@ + + + + 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..b5bd7cb0a --- /dev/null +++ b/99_fr.html @@ -0,0 +1,66 @@ + + + + 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..57a59642d --- /dev/null +++ b/99_gr.html @@ -0,0 +1,61 @@ + + + + Ξενάγηση στη 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..2103c6bb6 --- /dev/null +++ b/99_hu.html @@ -0,0 +1,62 @@ + + + + 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..693f8551f --- /dev/null +++ b/99_id.html @@ -0,0 +1,61 @@ + + + + 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..ebef4b5b9 --- /dev/null +++ b/99_ie.html @@ -0,0 +1,61 @@ + + + + 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..704554431 --- /dev/null +++ b/99_it.html @@ -0,0 +1,61 @@ + + + + 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..5eccde4ec --- /dev/null +++ b/99_ja.html @@ -0,0 +1,61 @@ + + + + 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..da4bf378d --- /dev/null +++ b/99_ko.html @@ -0,0 +1,61 @@ + + + + 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_pl.html b/99_pl.html new file mode 100644 index 000000000..e654ca837 --- /dev/null +++ b/99_pl.html @@ -0,0 +1,61 @@ + + + + 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..632b1d1e8 --- /dev/null +++ b/99_pt-br.html @@ -0,0 +1,57 @@ + + + + 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..cdaa23b26 --- /dev/null +++ b/99_ro.html @@ -0,0 +1,61 @@ + + + + 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..9536e2839 --- /dev/null +++ b/99_ru.html @@ -0,0 +1,57 @@ + + + + Тур по 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..ced2c0787 --- /dev/null +++ b/99_th.html @@ -0,0 +1,57 @@ + + + + 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..a446239c0 --- /dev/null +++ b/99_tr.html @@ -0,0 +1,57 @@ + + + + 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..3fc49442c --- /dev/null +++ b/99_ua.html @@ -0,0 +1,61 @@ + + + + Тур по 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..a579c3f8a --- /dev/null +++ b/99_vi.html @@ -0,0 +1,57 @@ + + + + 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..79b423a31 --- /dev/null +++ b/99_zh-cn.html @@ -0,0 +1,57 @@ + + + + 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..319934568 --- /dev/null +++ b/99_zh-tw.html @@ -0,0 +1,61 @@ + + + + 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_ar.html b/TOC_ar.html new file mode 100644 index 000000000..443bea9a0 --- /dev/null +++ b/TOC_ar.html @@ -0,0 +1,168 @@ + + + + دورة تعلم رست (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..f07865364 --- /dev/null +++ b/TOC_de.html @@ -0,0 +1,168 @@ + + + + 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..5c9cc80ab --- /dev/null +++ b/TOC_en.html @@ -0,0 +1,168 @@ + + + + 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..a5f3b753c --- /dev/null +++ b/TOC_es.html @@ -0,0 +1,168 @@ + + + + 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..ad9d85213 --- /dev/null +++ b/TOC_fa.html @@ -0,0 +1,168 @@ + + + + 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..355608270 --- /dev/null +++ b/TOC_fi.html @@ -0,0 +1,168 @@ + + + + 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..8eee3ad8d --- /dev/null +++ b/TOC_fr.html @@ -0,0 +1,168 @@ + + + + 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..afefd914c --- /dev/null +++ b/TOC_gr.html @@ -0,0 +1,168 @@ + + + + Ξενάγηση στη 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..931643b53 --- /dev/null +++ b/TOC_hu.html @@ -0,0 +1,168 @@ + + + + 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..e2efe0b9e --- /dev/null +++ b/TOC_id.html @@ -0,0 +1,168 @@ + + + + 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..55a5f16e0 --- /dev/null +++ b/TOC_ie.html @@ -0,0 +1,168 @@ + + + + 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..757286d9a --- /dev/null +++ b/TOC_it.html @@ -0,0 +1,168 @@ + + + + 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

[Non tradotto] Chapter 7 - Object Oriented Programming

[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..e13ac3312 --- /dev/null +++ b/TOC_ja.html @@ -0,0 +1,168 @@ + + + + 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..4e58078b3 --- /dev/null +++ b/TOC_ko.html @@ -0,0 +1,168 @@ + + + + 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_pl.html b/TOC_pl.html new file mode 100644 index 000000000..bec0c4d5d --- /dev/null +++ b/TOC_pl.html @@ -0,0 +1,168 @@ + + + + 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..18f44e583 --- /dev/null +++ b/TOC_pt-br.html @@ -0,0 +1,168 @@ + + + + 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..eabe468fd --- /dev/null +++ b/TOC_ro.html @@ -0,0 +1,168 @@ + + + + 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..fd8972dde --- /dev/null +++ b/TOC_ru.html @@ -0,0 +1,168 @@ + + + + Тур по 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..759ce9c4c --- /dev/null +++ b/TOC_th.html @@ -0,0 +1,168 @@ + + + + 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..b0c5d46a9 --- /dev/null +++ b/TOC_tr.html @@ -0,0 +1,168 @@ + + + + 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..28c5e39b7 --- /dev/null +++ b/TOC_ua.html @@ -0,0 +1,168 @@ + + + + Тур по 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..bf5d07f8c --- /dev/null +++ b/TOC_vi.html @@ -0,0 +1,168 @@ + + + + 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..08943eb44 --- /dev/null +++ b/TOC_zh-cn.html @@ -0,0 +1,168 @@ + + + + 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..2a3c15a24 --- /dev/null +++ b/TOC_zh-tw.html @@ -0,0 +1,168 @@ + + + + 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_ar.html b/beta_00_ar.html new file mode 100644 index 000000000..397bcabf2 --- /dev/null +++ b/beta_00_ar.html @@ -0,0 +1,81 @@ + + + + دورة تعلم رست (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..d8e29ce6e --- /dev/null +++ b/beta_00_de.html @@ -0,0 +1,83 @@ + + + + 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..01e8e3933 --- /dev/null +++ b/beta_00_es.html @@ -0,0 +1,83 @@ + + + + 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..f4d9c0a4a --- /dev/null +++ b/beta_00_fa.html @@ -0,0 +1,77 @@ + + + + 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..d4886ee51 --- /dev/null +++ b/beta_00_fi.html @@ -0,0 +1,88 @@ + + + + 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..1f46fdd90 --- /dev/null +++ b/beta_00_fr.html @@ -0,0 +1,83 @@ + + + + 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..04b0d2f1f --- /dev/null +++ b/beta_00_gr.html @@ -0,0 +1,76 @@ + + + + Ξενάγηση στη 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..79429b733 --- /dev/null +++ b/beta_00_hu.html @@ -0,0 +1,82 @@ + + + + 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..f986ddbff --- /dev/null +++ b/beta_00_id.html @@ -0,0 +1,77 @@ + + + + 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..c622914b5 --- /dev/null +++ b/beta_00_ie.html @@ -0,0 +1,53 @@ + + + + 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..21bf0330c --- /dev/null +++ b/beta_00_it.html @@ -0,0 +1,80 @@ + + + + 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..e62e4441b --- /dev/null +++ b/beta_00_ja.html @@ -0,0 +1,81 @@ + + + + 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..487bac6ad --- /dev/null +++ b/beta_00_ko.html @@ -0,0 +1,77 @@ + + + + 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_pl.html b/beta_00_pl.html new file mode 100644 index 000000000..9c67daa2b --- /dev/null +++ b/beta_00_pl.html @@ -0,0 +1,75 @@ + + + + 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..d684ed056 --- /dev/null +++ b/beta_00_pt-br.html @@ -0,0 +1,77 @@ + + + + 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..c76ecab63 --- /dev/null +++ b/beta_00_ro.html @@ -0,0 +1,86 @@ + + + + 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..2f0a40311 --- /dev/null +++ b/beta_00_ru.html @@ -0,0 +1,80 @@ + + + + Тур по 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..b91194150 --- /dev/null +++ b/beta_00_th.html @@ -0,0 +1,76 @@ + + + + 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..fc16bbe84 --- /dev/null +++ b/beta_00_tr.html @@ -0,0 +1,75 @@ + + + + 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..b87781626 --- /dev/null +++ b/beta_00_ua.html @@ -0,0 +1,76 @@ + + + + Тур по 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..4ac998444 --- /dev/null +++ b/beta_00_vi.html @@ -0,0 +1,80 @@ + + + + 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..546c63512 --- /dev/null +++ b/beta_00_zh-cn.html @@ -0,0 +1,77 @@ + + + + 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..2e6579ec7 --- /dev/null +++ b/beta_00_zh-tw.html @@ -0,0 +1,77 @@ + + + + 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_ar.html b/beta_02_ar.html new file mode 100644 index 000000000..a74e0aa20 --- /dev/null +++ b/beta_02_ar.html @@ -0,0 +1,54 @@ + + + + دورة تعلم رست (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..bd4a16730 --- /dev/null +++ b/beta_02_de.html @@ -0,0 +1,55 @@ + + + + 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..2d71a724e --- /dev/null +++ b/beta_02_en.html @@ -0,0 +1,54 @@ + + + + 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..d06f3e4fa --- /dev/null +++ b/beta_02_es.html @@ -0,0 +1,54 @@ + + + + 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..4f4c1e907 --- /dev/null +++ b/beta_02_fa.html @@ -0,0 +1,54 @@ + + + + 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..8ed59fabe --- /dev/null +++ b/beta_02_fi.html @@ -0,0 +1,54 @@ + + + + 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..ddd63b391 --- /dev/null +++ b/beta_02_fr.html @@ -0,0 +1,54 @@ + + + + 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..4b2be89eb --- /dev/null +++ b/beta_02_gr.html @@ -0,0 +1,54 @@ + + + + Ξενάγηση στη 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..11d177d9c --- /dev/null +++ b/beta_02_hu.html @@ -0,0 +1,56 @@ + + + + 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..18c664dc2 --- /dev/null +++ b/beta_02_id.html @@ -0,0 +1,54 @@ + + + + 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..2a08fcb97 --- /dev/null +++ b/beta_02_ie.html @@ -0,0 +1,53 @@ + + + + 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..650227f37 --- /dev/null +++ b/beta_02_it.html @@ -0,0 +1,54 @@ + + + + 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..92d26609d --- /dev/null +++ b/beta_02_ja.html @@ -0,0 +1,54 @@ + + + + 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..98339e147 --- /dev/null +++ b/beta_02_ko.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rust 놀이터

+

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

+

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

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_02_pl.html b/beta_02_pl.html new file mode 100644 index 000000000..698d329bc --- /dev/null +++ b/beta_02_pl.html @@ -0,0 +1,54 @@ + + + + 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..5759f77d3 --- /dev/null +++ b/beta_02_pt-br.html @@ -0,0 +1,54 @@ + + + + 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..85fbaacb9 --- /dev/null +++ b/beta_02_ro.html @@ -0,0 +1,54 @@ + + + + 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..689dc3663 --- /dev/null +++ b/beta_02_ru.html @@ -0,0 +1,54 @@ + + + + Тур по 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..9067d5b8c --- /dev/null +++ b/beta_02_th.html @@ -0,0 +1,54 @@ + + + + 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..e46c9e141 --- /dev/null +++ b/beta_02_tr.html @@ -0,0 +1,54 @@ + + + + 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..bda5fc15b --- /dev/null +++ b/beta_02_ua.html @@ -0,0 +1,54 @@ + + + + Тур по 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..d5248ab9d --- /dev/null +++ b/beta_02_vi.html @@ -0,0 +1,54 @@ + + + + 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..c2679125b --- /dev/null +++ b/beta_02_zh-cn.html @@ -0,0 +1,54 @@ + + + + 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..cc11b1d6b --- /dev/null +++ b/beta_02_zh-tw.html @@ -0,0 +1,54 @@ + + + + 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_ar.html b/beta_03_ar.html new file mode 100644 index 000000000..b61456b26 --- /dev/null +++ b/beta_03_ar.html @@ -0,0 +1,57 @@ + + + + دورة تعلم رست (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..b73539302 --- /dev/null +++ b/beta_03_de.html @@ -0,0 +1,53 @@ + + + + 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..fadcca9c9 --- /dev/null +++ b/beta_03_en.html @@ -0,0 +1,58 @@ + + + + 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..e10dcbf5c --- /dev/null +++ b/beta_03_es.html @@ -0,0 +1,58 @@ + + + + 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..93d656ab6 --- /dev/null +++ b/beta_03_fa.html @@ -0,0 +1,58 @@ + + + + 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..ec5f81347 --- /dev/null +++ b/beta_03_fi.html @@ -0,0 +1,56 @@ + + + + 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..486fd7db7 --- /dev/null +++ b/beta_03_fr.html @@ -0,0 +1,59 @@ + + + + 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..354dde9ca --- /dev/null +++ b/beta_03_gr.html @@ -0,0 +1,56 @@ + + + + Ξενάγηση στη 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..b76ce1893 --- /dev/null +++ b/beta_03_hu.html @@ -0,0 +1,58 @@ + + + + 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..9e56f90ce --- /dev/null +++ b/beta_03_id.html @@ -0,0 +1,56 @@ + + + + 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..313da6640 --- /dev/null +++ b/beta_03_ie.html @@ -0,0 +1,53 @@ + + + + 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..47c9da022 --- /dev/null +++ b/beta_03_it.html @@ -0,0 +1,58 @@ + + + + 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..31daefc74 --- /dev/null +++ b/beta_03_ja.html @@ -0,0 +1,57 @@ + + + + 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..307cc09d1 --- /dev/null +++ b/beta_03_ko.html @@ -0,0 +1,58 @@ + + + + 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_pl.html b/beta_03_pl.html new file mode 100644 index 000000000..02eeda98e --- /dev/null +++ b/beta_03_pl.html @@ -0,0 +1,57 @@ + + + + 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..27ef0daa1 --- /dev/null +++ b/beta_03_pt-br.html @@ -0,0 +1,57 @@ + + + + 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..8191b5b59 --- /dev/null +++ b/beta_03_ro.html @@ -0,0 +1,58 @@ + + + + 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..7c438bd85 --- /dev/null +++ b/beta_03_ru.html @@ -0,0 +1,56 @@ + + + + Тур по 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..58f785882 --- /dev/null +++ b/beta_03_th.html @@ -0,0 +1,56 @@ + + + + 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..146e1b1b8 --- /dev/null +++ b/beta_03_tr.html @@ -0,0 +1,56 @@ + + + + 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..2bb179bdd --- /dev/null +++ b/beta_03_ua.html @@ -0,0 +1,56 @@ + + + + Тур по 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..004e38ebd --- /dev/null +++ b/beta_03_vi.html @@ -0,0 +1,56 @@ + + + + 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..0a6bab6bd --- /dev/null +++ b/beta_03_zh-cn.html @@ -0,0 +1,56 @@ + + + + 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..e948592e3 --- /dev/null +++ b/beta_03_zh-tw.html @@ -0,0 +1,56 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

變量 (Variables)

+

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

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_04_ar.html b/beta_04_ar.html new file mode 100644 index 000000000..01d771dba --- /dev/null +++ b/beta_04_ar.html @@ -0,0 +1,59 @@ + + + + دورة تعلم رست (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..cc60663cf --- /dev/null +++ b/beta_04_de.html @@ -0,0 +1,62 @@ + + + + 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..dcdfd0e79 --- /dev/null +++ b/beta_04_en.html @@ -0,0 +1,60 @@ + + + + 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..893286317 --- /dev/null +++ b/beta_04_es.html @@ -0,0 +1,60 @@ + + + + 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..41c7abe36 --- /dev/null +++ b/beta_04_fa.html @@ -0,0 +1,60 @@ + + + + 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..368859422 --- /dev/null +++ b/beta_04_fi.html @@ -0,0 +1,59 @@ + + + + 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..ca6646426 --- /dev/null +++ b/beta_04_fr.html @@ -0,0 +1,60 @@ + + + + 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..972888d02 --- /dev/null +++ b/beta_04_gr.html @@ -0,0 +1,59 @@ + + + + Ξενάγηση στη 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..9d197c306 --- /dev/null +++ b/beta_04_hu.html @@ -0,0 +1,62 @@ + + + + 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..732ef39db --- /dev/null +++ b/beta_04_id.html @@ -0,0 +1,59 @@ + + + + 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..5a24dd350 --- /dev/null +++ b/beta_04_ie.html @@ -0,0 +1,53 @@ + + + + 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..65a11b7d8 --- /dev/null +++ b/beta_04_it.html @@ -0,0 +1,60 @@ + + + + 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..24b31d09f --- /dev/null +++ b/beta_04_ja.html @@ -0,0 +1,59 @@ + + + + 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..106c97542 --- /dev/null +++ b/beta_04_ko.html @@ -0,0 +1,59 @@ + + + + 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_pl.html b/beta_04_pl.html new file mode 100644 index 000000000..2c9f276b2 --- /dev/null +++ b/beta_04_pl.html @@ -0,0 +1,59 @@ + + + + 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..18f1eacaf --- /dev/null +++ b/beta_04_pt-br.html @@ -0,0 +1,59 @@ + + + + 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..0cc7d8d67 --- /dev/null +++ b/beta_04_ro.html @@ -0,0 +1,60 @@ + + + + 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..f5dba9f86 --- /dev/null +++ b/beta_04_ru.html @@ -0,0 +1,59 @@ + + + + Тур по 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..d6135d913 --- /dev/null +++ b/beta_04_th.html @@ -0,0 +1,59 @@ + + + + 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..7249bd055 --- /dev/null +++ b/beta_04_tr.html @@ -0,0 +1,59 @@ + + + + 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..2ed923621 --- /dev/null +++ b/beta_04_ua.html @@ -0,0 +1,59 @@ + + + + Тур по 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..0ff94d5b7 --- /dev/null +++ b/beta_04_vi.html @@ -0,0 +1,59 @@ + + + + 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..7ae7e7424 --- /dev/null +++ b/beta_04_zh-cn.html @@ -0,0 +1,59 @@ + + + + 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..13d23d81d --- /dev/null +++ b/beta_04_zh-tw.html @@ -0,0 +1,59 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

改變變數的值

+

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

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

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

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_05_ar.html b/beta_05_ar.html new file mode 100644 index 000000000..650e77170 --- /dev/null +++ b/beta_05_ar.html @@ -0,0 +1,70 @@ + + + + دورة تعلم رست (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..8f3935235 --- /dev/null +++ b/beta_05_de.html @@ -0,0 +1,71 @@ + + + + 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..90849a532 --- /dev/null +++ b/beta_05_en.html @@ -0,0 +1,70 @@ + + + + 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..d3b64261d --- /dev/null +++ b/beta_05_es.html @@ -0,0 +1,66 @@ + + + + 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..c160f47ec --- /dev/null +++ b/beta_05_fa.html @@ -0,0 +1,69 @@ + + + + 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..ae7c479ce --- /dev/null +++ b/beta_05_fi.html @@ -0,0 +1,67 @@ + + + + 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..1e38fc744 --- /dev/null +++ b/beta_05_fr.html @@ -0,0 +1,71 @@ + + + + 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..50784ccae --- /dev/null +++ b/beta_05_gr.html @@ -0,0 +1,66 @@ + + + + Ξενάγηση στη 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..bb367acf2 --- /dev/null +++ b/beta_05_hu.html @@ -0,0 +1,78 @@ + + + + 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..e2de4a128 --- /dev/null +++ b/beta_05_id.html @@ -0,0 +1,69 @@ + + + + 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..67cb472bf --- /dev/null +++ b/beta_05_ie.html @@ -0,0 +1,53 @@ + + + + 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..d3a359c20 --- /dev/null +++ b/beta_05_it.html @@ -0,0 +1,68 @@ + + + + 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..93712e7ed --- /dev/null +++ b/beta_05_ja.html @@ -0,0 +1,67 @@ + + + + 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..99bf206d7 --- /dev/null +++ b/beta_05_ko.html @@ -0,0 +1,68 @@ + + + + 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_pl.html b/beta_05_pl.html new file mode 100644 index 000000000..ceb983ed0 --- /dev/null +++ b/beta_05_pl.html @@ -0,0 +1,66 @@ + + + + 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..93422cc93 --- /dev/null +++ b/beta_05_pt-br.html @@ -0,0 +1,66 @@ + + + + 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..a860be619 --- /dev/null +++ b/beta_05_ro.html @@ -0,0 +1,70 @@ + + + + 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..f34eed379 --- /dev/null +++ b/beta_05_ru.html @@ -0,0 +1,66 @@ + + + + Тур по 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..4d05fb4c8 --- /dev/null +++ b/beta_05_th.html @@ -0,0 +1,67 @@ + + + + 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..5a0641bc2 --- /dev/null +++ b/beta_05_tr.html @@ -0,0 +1,66 @@ + + + + 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..41bcfd72d --- /dev/null +++ b/beta_05_ua.html @@ -0,0 +1,66 @@ + + + + Тур по 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..3cdc90093 --- /dev/null +++ b/beta_05_vi.html @@ -0,0 +1,68 @@ + + + + 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..c53d64db3 --- /dev/null +++ b/beta_05_zh-cn.html @@ -0,0 +1,67 @@ + + + + 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..feb4aa27c --- /dev/null +++ b/beta_05_zh-tw.html @@ -0,0 +1,68 @@ + + + + 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_ar.html b/beta_06_ar.html new file mode 100644 index 000000000..32e9fbcb4 --- /dev/null +++ b/beta_06_ar.html @@ -0,0 +1,54 @@ + + + + دورة تعلم رست (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..daabdb809 --- /dev/null +++ b/beta_06_de.html @@ -0,0 +1,56 @@ + + + + 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..e0bb3c3e4 --- /dev/null +++ b/beta_06_en.html @@ -0,0 +1,56 @@ + + + + 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..717abc22e --- /dev/null +++ b/beta_06_es.html @@ -0,0 +1,54 @@ + + + + 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..1ea59e863 --- /dev/null +++ b/beta_06_fa.html @@ -0,0 +1,56 @@ + + + + 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..21cf4bc7a --- /dev/null +++ b/beta_06_fi.html @@ -0,0 +1,54 @@ + + + + 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..8c1913e8a --- /dev/null +++ b/beta_06_fr.html @@ -0,0 +1,55 @@ + + + + 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..8103ffe31 --- /dev/null +++ b/beta_06_gr.html @@ -0,0 +1,54 @@ + + + + Ξενάγηση στη 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..f07b259cf --- /dev/null +++ b/beta_06_hu.html @@ -0,0 +1,55 @@ + + + + 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..9e29eb9c6 --- /dev/null +++ b/beta_06_id.html @@ -0,0 +1,56 @@ + + + + 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..00e78e779 --- /dev/null +++ b/beta_06_ie.html @@ -0,0 +1,53 @@ + + + + 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..7cabb34ce --- /dev/null +++ b/beta_06_it.html @@ -0,0 +1,55 @@ + + + + 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..f70e58868 --- /dev/null +++ b/beta_06_ja.html @@ -0,0 +1,54 @@ + + + + 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..6f0bbae37 --- /dev/null +++ b/beta_06_ko.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

기본 자료형 변환

+

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

+

다행히도 Rust에서는 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..075f80e99 --- /dev/null +++ b/beta_06_pl.html @@ -0,0 +1,54 @@ + + + + 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..be14fa234 --- /dev/null +++ b/beta_06_pt-br.html @@ -0,0 +1,54 @@ + + + + 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..464e36f30 --- /dev/null +++ b/beta_06_ro.html @@ -0,0 +1,56 @@ + + + + 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..7090a9153 --- /dev/null +++ b/beta_06_ru.html @@ -0,0 +1,54 @@ + + + + Тур по 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..0de49c9f1 --- /dev/null +++ b/beta_06_th.html @@ -0,0 +1,54 @@ + + + + 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..0999c27a5 --- /dev/null +++ b/beta_06_tr.html @@ -0,0 +1,54 @@ + + + + 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..8628ffc79 --- /dev/null +++ b/beta_06_ua.html @@ -0,0 +1,54 @@ + + + + Тур по 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..eac145020 --- /dev/null +++ b/beta_06_vi.html @@ -0,0 +1,54 @@ + + + + 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..647b7abbc --- /dev/null +++ b/beta_06_zh-cn.html @@ -0,0 +1,54 @@ + + + + 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..b673135a3 --- /dev/null +++ b/beta_06_zh-tw.html @@ -0,0 +1,54 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

基本的數據類型轉換

+

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

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_07_ar.html b/beta_07_ar.html new file mode 100644 index 000000000..7eb138b65 --- /dev/null +++ b/beta_07_ar.html @@ -0,0 +1,55 @@ + + + + دورة تعلم رست (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..602f18534 --- /dev/null +++ b/beta_07_de.html @@ -0,0 +1,57 @@ + + + + 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..0b27f2e5e --- /dev/null +++ b/beta_07_en.html @@ -0,0 +1,58 @@ + + + + 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..4199ae201 --- /dev/null +++ b/beta_07_es.html @@ -0,0 +1,55 @@ + + + + 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..60a999c28 --- /dev/null +++ b/beta_07_fa.html @@ -0,0 +1,58 @@ + + + + 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..a850393d9 --- /dev/null +++ b/beta_07_fi.html @@ -0,0 +1,55 @@ + + + + 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..f86debf30 --- /dev/null +++ b/beta_07_fr.html @@ -0,0 +1,58 @@ + + + + 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..12156f327 --- /dev/null +++ b/beta_07_gr.html @@ -0,0 +1,55 @@ + + + + Ξενάγηση στη 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..22a49f356 --- /dev/null +++ b/beta_07_hu.html @@ -0,0 +1,57 @@ + + + + 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..e412c6344 --- /dev/null +++ b/beta_07_id.html @@ -0,0 +1,60 @@ + + + + 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..5d3ecc1d9 --- /dev/null +++ b/beta_07_ie.html @@ -0,0 +1,53 @@ + + + + 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..921d9aadc --- /dev/null +++ b/beta_07_it.html @@ -0,0 +1,56 @@ + + + + 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..d55af45d1 --- /dev/null +++ b/beta_07_ja.html @@ -0,0 +1,56 @@ + + + + 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..f4cd5c0f2 --- /dev/null +++ b/beta_07_ko.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

상수

+

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

+

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

+

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

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_07_pl.html b/beta_07_pl.html new file mode 100644 index 000000000..d85c7617c --- /dev/null +++ b/beta_07_pl.html @@ -0,0 +1,55 @@ + + + + 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..94a0948a7 --- /dev/null +++ b/beta_07_pt-br.html @@ -0,0 +1,55 @@ + + + + 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..ada166554 --- /dev/null +++ b/beta_07_ro.html @@ -0,0 +1,57 @@ + + + + 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..b2e871e21 --- /dev/null +++ b/beta_07_ru.html @@ -0,0 +1,55 @@ + + + + Тур по 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..7f51bdd3a --- /dev/null +++ b/beta_07_th.html @@ -0,0 +1,55 @@ + + + + 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..584ff3eb9 --- /dev/null +++ b/beta_07_tr.html @@ -0,0 +1,54 @@ + + + + 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..6969d537a --- /dev/null +++ b/beta_07_ua.html @@ -0,0 +1,55 @@ + + + + Тур по 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..52285de27 --- /dev/null +++ b/beta_07_vi.html @@ -0,0 +1,55 @@ + + + + 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..211b7d504 --- /dev/null +++ b/beta_07_zh-cn.html @@ -0,0 +1,55 @@ + + + + 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..9c3307d53 --- /dev/null +++ b/beta_07_zh-tw.html @@ -0,0 +1,56 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

常數 (Constant)

+

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

+

常數通常是以 SCREAMING_SNAKE_CASE 命名的。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_08_ar.html b/beta_08_ar.html new file mode 100644 index 000000000..fea1259a7 --- /dev/null +++ b/beta_08_ar.html @@ -0,0 +1,56 @@ + + + + دورة تعلم رست (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..3df1665c6 --- /dev/null +++ b/beta_08_de.html @@ -0,0 +1,55 @@ + + + + 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..8960a50fd --- /dev/null +++ b/beta_08_en.html @@ -0,0 +1,56 @@ + + + + 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..19d2399c2 --- /dev/null +++ b/beta_08_es.html @@ -0,0 +1,55 @@ + + + + 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..fb90611ce --- /dev/null +++ b/beta_08_fa.html @@ -0,0 +1,55 @@ + + + + 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..d1fc1c517 --- /dev/null +++ b/beta_08_fi.html @@ -0,0 +1,56 @@ + + + + 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..d28772d79 --- /dev/null +++ b/beta_08_fr.html @@ -0,0 +1,58 @@ + + + + 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..6dfc55c92 --- /dev/null +++ b/beta_08_gr.html @@ -0,0 +1,55 @@ + + + + Ξενάγηση στη 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..b1e654660 --- /dev/null +++ b/beta_08_hu.html @@ -0,0 +1,58 @@ + + + + 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..fc094ccc2 --- /dev/null +++ b/beta_08_id.html @@ -0,0 +1,55 @@ + + + + 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..924185b9a --- /dev/null +++ b/beta_08_ie.html @@ -0,0 +1,56 @@ + + + + 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..582394a7a --- /dev/null +++ b/beta_08_it.html @@ -0,0 +1,56 @@ + + + + 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..06628f094 --- /dev/null +++ b/beta_08_ja.html @@ -0,0 +1,55 @@ + + + + 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..c3d659c49 --- /dev/null +++ b/beta_08_ko.html @@ -0,0 +1,55 @@ + + + + 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_pl.html b/beta_08_pl.html new file mode 100644 index 000000000..f63008d56 --- /dev/null +++ b/beta_08_pl.html @@ -0,0 +1,55 @@ + + + + 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..5ede42175 --- /dev/null +++ b/beta_08_pt-br.html @@ -0,0 +1,55 @@ + + + + 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..532bdfaa3 --- /dev/null +++ b/beta_08_ro.html @@ -0,0 +1,56 @@ + + + + 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..1504c9c02 --- /dev/null +++ b/beta_08_ru.html @@ -0,0 +1,55 @@ + + + + Тур по 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..fa2c46deb --- /dev/null +++ b/beta_08_th.html @@ -0,0 +1,55 @@ + + + + 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..d08406f23 --- /dev/null +++ b/beta_08_tr.html @@ -0,0 +1,55 @@ + + + + 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..d479b8ae3 --- /dev/null +++ b/beta_08_ua.html @@ -0,0 +1,55 @@ + + + + Тур по 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..531dc4d78 --- /dev/null +++ b/beta_08_vi.html @@ -0,0 +1,56 @@ + + + + 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..89b28dff5 --- /dev/null +++ b/beta_08_zh-cn.html @@ -0,0 +1,55 @@ + + + + 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..93f4ab92f --- /dev/null +++ b/beta_08_zh-tw.html @@ -0,0 +1,55 @@ + + + + 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_ar.html b/beta_09_ar.html new file mode 100644 index 000000000..1f7625df2 --- /dev/null +++ b/beta_09_ar.html @@ -0,0 +1,57 @@ + + + + دورة تعلم رست (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..52605554e --- /dev/null +++ b/beta_09_de.html @@ -0,0 +1,56 @@ + + + + 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..8916b6fd6 --- /dev/null +++ b/beta_09_en.html @@ -0,0 +1,57 @@ + + + + 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..da7d18693 --- /dev/null +++ b/beta_09_es.html @@ -0,0 +1,55 @@ + + + + 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..d553a707a --- /dev/null +++ b/beta_09_fa.html @@ -0,0 +1,56 @@ + + + + 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..2fcfd5533 --- /dev/null +++ b/beta_09_fi.html @@ -0,0 +1,57 @@ + + + + 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..de99074e0 --- /dev/null +++ b/beta_09_fr.html @@ -0,0 +1,56 @@ + + + + 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..a6870553a --- /dev/null +++ b/beta_09_gr.html @@ -0,0 +1,55 @@ + + + + Ξενάγηση στη 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..ef03b2f35 --- /dev/null +++ b/beta_09_hu.html @@ -0,0 +1,55 @@ + + + + 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..e6b40d269 --- /dev/null +++ b/beta_09_id.html @@ -0,0 +1,55 @@ + + + + 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..b582ca6dd --- /dev/null +++ b/beta_09_ie.html @@ -0,0 +1,53 @@ + + + + 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..c1d01c588 --- /dev/null +++ b/beta_09_it.html @@ -0,0 +1,57 @@ + + + + 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..97752006b --- /dev/null +++ b/beta_09_ja.html @@ -0,0 +1,55 @@ + + + + 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..7b17398ba --- /dev/null +++ b/beta_09_ko.html @@ -0,0 +1,55 @@ + + + + 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_pl.html b/beta_09_pl.html new file mode 100644 index 000000000..ca95a9d58 --- /dev/null +++ b/beta_09_pl.html @@ -0,0 +1,55 @@ + + + + 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..07f13e64b --- /dev/null +++ b/beta_09_pt-br.html @@ -0,0 +1,55 @@ + + + + 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..67fe6f2e3 --- /dev/null +++ b/beta_09_ro.html @@ -0,0 +1,57 @@ + + + + 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..4064fb880 --- /dev/null +++ b/beta_09_ru.html @@ -0,0 +1,56 @@ + + + + Тур по 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..a7a08135d --- /dev/null +++ b/beta_09_th.html @@ -0,0 +1,56 @@ + + + + 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..348e89707 --- /dev/null +++ b/beta_09_tr.html @@ -0,0 +1,55 @@ + + + + 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..7fe6f2672 --- /dev/null +++ b/beta_09_ua.html @@ -0,0 +1,55 @@ + + + + Тур по 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..b71a7139b --- /dev/null +++ b/beta_09_vi.html @@ -0,0 +1,57 @@ + + + + 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..c93bdcb34 --- /dev/null +++ b/beta_09_zh-cn.html @@ -0,0 +1,55 @@ + + + + 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..68da3cc06 --- /dev/null +++ b/beta_09_zh-tw.html @@ -0,0 +1,55 @@ + + + + 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..4c404963b --- /dev/null +++ b/beta_100_ar.html @@ -0,0 +1,54 @@ + + + + دورة تعلم رست (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..ea4ae6f62 --- /dev/null +++ b/beta_100_en.html @@ -0,0 +1,56 @@ + + + + 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..b53a78564 --- /dev/null +++ b/beta_100_es.html @@ -0,0 +1,54 @@ + + + + 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..840f51098 --- /dev/null +++ b/beta_100_fa.html @@ -0,0 +1,56 @@ + + + + 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..173ba1d6b --- /dev/null +++ b/beta_100_fr.html @@ -0,0 +1,57 @@ + + + + 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..0aebb16e3 --- /dev/null +++ b/beta_100_hu.html @@ -0,0 +1,56 @@ + + + + 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..3d8f8d9d8 --- /dev/null +++ b/beta_100_ie.html @@ -0,0 +1,55 @@ + + + + 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..2abf28169 --- /dev/null +++ b/beta_100_ko.html @@ -0,0 +1,55 @@ + + + + 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..94d4f7ec2 --- /dev/null +++ b/beta_100_pl.html @@ -0,0 +1,56 @@ + + + + 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..53fc4b714 --- /dev/null +++ b/beta_100_pt-br.html @@ -0,0 +1,54 @@ + + + + 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..116392c55 --- /dev/null +++ b/beta_100_ro.html @@ -0,0 +1,56 @@ + + + + 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..f3f34e916 --- /dev/null +++ b/beta_100_ru.html @@ -0,0 +1,54 @@ + + + + Тур по 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..47df35829 --- /dev/null +++ b/beta_100_th.html @@ -0,0 +1,54 @@ + + + + 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..af6e288b9 --- /dev/null +++ b/beta_100_tr.html @@ -0,0 +1,54 @@ + + + + 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..ae0b54281 --- /dev/null +++ b/beta_100_ua.html @@ -0,0 +1,56 @@ + + + + Тур по 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..3e33cf068 --- /dev/null +++ b/beta_100_vi.html @@ -0,0 +1,54 @@ + + + + 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..6fe568348 --- /dev/null +++ b/beta_100_zh-cn.html @@ -0,0 +1,54 @@ + + + + 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..025fbd0e5 --- /dev/null +++ b/beta_101_ar.html @@ -0,0 +1,55 @@ + + + + دورة تعلم رست (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..0b9a5296c --- /dev/null +++ b/beta_101_en.html @@ -0,0 +1,58 @@ + + + + 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..ad44872e2 --- /dev/null +++ b/beta_101_es.html @@ -0,0 +1,55 @@ + + + + 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..ab31b7da3 --- /dev/null +++ b/beta_101_fa.html @@ -0,0 +1,58 @@ + + + + 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..b08881838 --- /dev/null +++ b/beta_101_fr.html @@ -0,0 +1,59 @@ + + + + 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..978a4a2f5 --- /dev/null +++ b/beta_101_hu.html @@ -0,0 +1,59 @@ + + + + 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..827afc9cf --- /dev/null +++ b/beta_101_ie.html @@ -0,0 +1,58 @@ + + + + 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..ec52af417 --- /dev/null +++ b/beta_101_ko.html @@ -0,0 +1,57 @@ + + + + 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..1b2eea981 --- /dev/null +++ b/beta_101_pl.html @@ -0,0 +1,58 @@ + + + + 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..d11fe7cf9 --- /dev/null +++ b/beta_101_pt-br.html @@ -0,0 +1,55 @@ + + + + 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..94ddc4cca --- /dev/null +++ b/beta_101_ro.html @@ -0,0 +1,57 @@ + + + + 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..b33a6d40d --- /dev/null +++ b/beta_101_ru.html @@ -0,0 +1,55 @@ + + + + Тур по 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..2303ab9dd --- /dev/null +++ b/beta_101_th.html @@ -0,0 +1,56 @@ + + + + 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..fec15746b --- /dev/null +++ b/beta_101_tr.html @@ -0,0 +1,55 @@ + + + + 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..ab36c951d --- /dev/null +++ b/beta_101_ua.html @@ -0,0 +1,58 @@ + + + + Тур по 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..ef1144144 --- /dev/null +++ b/beta_101_vi.html @@ -0,0 +1,55 @@ + + + + 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..f595070bf --- /dev/null +++ b/beta_101_zh-cn.html @@ -0,0 +1,55 @@ + + + + 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..7135b30cd --- /dev/null +++ b/beta_102_ar.html @@ -0,0 +1,55 @@ + + + + دورة تعلم رست (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..aa204e376 --- /dev/null +++ b/beta_102_en.html @@ -0,0 +1,60 @@ + + + + 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..6c654fc8f --- /dev/null +++ b/beta_102_es.html @@ -0,0 +1,55 @@ + + + + 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..f5986714f --- /dev/null +++ b/beta_102_fa.html @@ -0,0 +1,60 @@ + + + + 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..60d6e0997 --- /dev/null +++ b/beta_102_fr.html @@ -0,0 +1,65 @@ + + + + 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..bf1fe71a6 --- /dev/null +++ b/beta_102_hu.html @@ -0,0 +1,63 @@ + + + + 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..25767a2b7 --- /dev/null +++ b/beta_102_ie.html @@ -0,0 +1,59 @@ + + + + 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..1b6fbcbb9 --- /dev/null +++ b/beta_102_ko.html @@ -0,0 +1,60 @@ + + + + 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..47f632093 --- /dev/null +++ b/beta_102_pl.html @@ -0,0 +1,60 @@ + + + + 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..7a173fc24 --- /dev/null +++ b/beta_102_pt-br.html @@ -0,0 +1,55 @@ + + + + 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..509dd82a6 --- /dev/null +++ b/beta_102_ro.html @@ -0,0 +1,59 @@ + + + + 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..199b34451 --- /dev/null +++ b/beta_102_ru.html @@ -0,0 +1,56 @@ + + + + Тур по 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..a25d9c8e0 --- /dev/null +++ b/beta_102_th.html @@ -0,0 +1,56 @@ + + + + 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..3817043a8 --- /dev/null +++ b/beta_102_tr.html @@ -0,0 +1,55 @@ + + + + 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..581268f0c --- /dev/null +++ b/beta_102_ua.html @@ -0,0 +1,60 @@ + + + + Тур по 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..3f0bca157 --- /dev/null +++ b/beta_102_vi.html @@ -0,0 +1,56 @@ + + + + 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..4e068557e --- /dev/null +++ b/beta_102_zh-cn.html @@ -0,0 +1,55 @@ + + + + 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..d06ddd058 --- /dev/null +++ b/beta_103_ar.html @@ -0,0 +1,60 @@ + + + + دورة تعلم رست (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..055b56740 --- /dev/null +++ b/beta_103_en.html @@ -0,0 +1,62 @@ + + + + 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..139432b46 --- /dev/null +++ b/beta_103_es.html @@ -0,0 +1,60 @@ + + + + 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..df89ad089 --- /dev/null +++ b/beta_103_fa.html @@ -0,0 +1,62 @@ + + + + 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..049c5b710 --- /dev/null +++ b/beta_103_fr.html @@ -0,0 +1,74 @@ + + + + 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..6e46d083b --- /dev/null +++ b/beta_103_hu.html @@ -0,0 +1,72 @@ + + + + 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..628eecda0 --- /dev/null +++ b/beta_103_ie.html @@ -0,0 +1,62 @@ + + + + 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..fca98f341 --- /dev/null +++ b/beta_103_ko.html @@ -0,0 +1,60 @@ + + + + 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..dd978ab8e --- /dev/null +++ b/beta_103_pl.html @@ -0,0 +1,62 @@ + + + + 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..f7f1bfedb --- /dev/null +++ b/beta_103_pt-br.html @@ -0,0 +1,60 @@ + + + + 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..5bb1e6b78 --- /dev/null +++ b/beta_103_ro.html @@ -0,0 +1,62 @@ + + + + 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..a0ef562cb --- /dev/null +++ b/beta_103_ru.html @@ -0,0 +1,62 @@ + + + + Тур по 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..ed803346a --- /dev/null +++ b/beta_103_th.html @@ -0,0 +1,60 @@ + + + + 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..04fc18634 --- /dev/null +++ b/beta_103_tr.html @@ -0,0 +1,60 @@ + + + + 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..933670c23 --- /dev/null +++ b/beta_103_ua.html @@ -0,0 +1,60 @@ + + + + Тур по 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..dbf86bd2e --- /dev/null +++ b/beta_103_vi.html @@ -0,0 +1,60 @@ + + + + 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..4bd34d38c --- /dev/null +++ b/beta_103_zh-cn.html @@ -0,0 +1,61 @@ + + + + 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..57a751964 --- /dev/null +++ b/beta_104_ar.html @@ -0,0 +1,52 @@ + + + + دورة تعلم رست (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..f7e2743d9 --- /dev/null +++ b/beta_104_en.html @@ -0,0 +1,55 @@ + + + + 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..3380e1840 --- /dev/null +++ b/beta_104_es.html @@ -0,0 +1,51 @@ + + + + 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..6bd79f4c6 --- /dev/null +++ b/beta_104_fa.html @@ -0,0 +1,55 @@ + + + + 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..4ab6ed684 --- /dev/null +++ b/beta_104_fr.html @@ -0,0 +1,55 @@ + + + + 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..b148d2112 --- /dev/null +++ b/beta_104_hu.html @@ -0,0 +1,55 @@ + + + + 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..d67647d10 --- /dev/null +++ b/beta_104_ie.html @@ -0,0 +1,54 @@ + + + + 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..f11eef07a --- /dev/null +++ b/beta_104_ko.html @@ -0,0 +1,54 @@ + + + + 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..13593b787 --- /dev/null +++ b/beta_104_pl.html @@ -0,0 +1,55 @@ + + + + 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..ea917d85f --- /dev/null +++ b/beta_104_pt-br.html @@ -0,0 +1,51 @@ + + + + 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..563d3fa0d --- /dev/null +++ b/beta_104_ro.html @@ -0,0 +1,55 @@ + + + + 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..e778773ab --- /dev/null +++ b/beta_104_ru.html @@ -0,0 +1,53 @@ + + + + Тур по 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..ff1011347 --- /dev/null +++ b/beta_104_th.html @@ -0,0 +1,52 @@ + + + + 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..3d4ca79f7 --- /dev/null +++ b/beta_104_tr.html @@ -0,0 +1,52 @@ + + + + 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..5a1d22e8f --- /dev/null +++ b/beta_104_ua.html @@ -0,0 +1,52 @@ + + + + Тур по 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..17fbcc104 --- /dev/null +++ b/beta_104_vi.html @@ -0,0 +1,51 @@ + + + + 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..4559eb69b --- /dev/null +++ b/beta_104_zh-cn.html @@ -0,0 +1,51 @@ + + + + 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..c6502f212 --- /dev/null +++ b/beta_106_ar.html @@ -0,0 +1,55 @@ + + + + دورة تعلم رست (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..72e71015d --- /dev/null +++ b/beta_106_de.html @@ -0,0 +1,54 @@ + + + + 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..2d3aa8e4a --- /dev/null +++ b/beta_106_en.html @@ -0,0 +1,55 @@ + + + + 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..eceb7cdf4 --- /dev/null +++ b/beta_106_es.html @@ -0,0 +1,55 @@ + + + + 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..b6747c017 --- /dev/null +++ b/beta_106_fa.html @@ -0,0 +1,55 @@ + + + + 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..0984fcba9 --- /dev/null +++ b/beta_106_fr.html @@ -0,0 +1,56 @@ + + + + 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..74f0a4ea9 --- /dev/null +++ b/beta_106_hu.html @@ -0,0 +1,57 @@ + + + + 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..712274db4 --- /dev/null +++ b/beta_106_ie.html @@ -0,0 +1,54 @@ + + + + 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..cec4e2a94 --- /dev/null +++ b/beta_106_ko.html @@ -0,0 +1,55 @@ + + + + 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..88eded92e --- /dev/null +++ b/beta_106_pl.html @@ -0,0 +1,55 @@ + + + + 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..edf33bbb3 --- /dev/null +++ b/beta_106_pt-br.html @@ -0,0 +1,55 @@ + + + + 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..4032a932d --- /dev/null +++ b/beta_106_ro.html @@ -0,0 +1,55 @@ + + + + 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..4da978bfa --- /dev/null +++ b/beta_106_ru.html @@ -0,0 +1,56 @@ + + + + Тур по 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..fc4e6a99a --- /dev/null +++ b/beta_106_th.html @@ -0,0 +1,55 @@ + + + + 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..d6d76053d --- /dev/null +++ b/beta_106_tr.html @@ -0,0 +1,56 @@ + + + + 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..cd697563b --- /dev/null +++ b/beta_106_ua.html @@ -0,0 +1,55 @@ + + + + Тур по 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..92d373e60 --- /dev/null +++ b/beta_106_vi.html @@ -0,0 +1,55 @@ + + + + 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..e32913c5b --- /dev/null +++ b/beta_106_zh-cn.html @@ -0,0 +1,55 @@ + + + + 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..47f61e74c --- /dev/null +++ b/beta_107_ar.html @@ -0,0 +1,51 @@ + + + + دورة تعلم رست (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..1ad86c2c7 --- /dev/null +++ b/beta_107_de.html @@ -0,0 +1,51 @@ + + + + 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..6e82c3df3 --- /dev/null +++ b/beta_107_en.html @@ -0,0 +1,51 @@ + + + + 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..4dfabb425 --- /dev/null +++ b/beta_107_es.html @@ -0,0 +1,51 @@ + + + + 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..13e8d53d7 --- /dev/null +++ b/beta_107_fa.html @@ -0,0 +1,51 @@ + + + + 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..b9ae7025b --- /dev/null +++ b/beta_107_fr.html @@ -0,0 +1,51 @@ + + + + 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..0c34b46f0 --- /dev/null +++ b/beta_107_hu.html @@ -0,0 +1,51 @@ + + + + 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..968fbcfb0 --- /dev/null +++ b/beta_107_ie.html @@ -0,0 +1,51 @@ + + + + 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..503abe681 --- /dev/null +++ b/beta_107_ko.html @@ -0,0 +1,51 @@ + + + + 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..24f5eb131 --- /dev/null +++ b/beta_107_pl.html @@ -0,0 +1,51 @@ + + + + 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..7a1672228 --- /dev/null +++ b/beta_107_pt-br.html @@ -0,0 +1,51 @@ + + + + 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..d744fedde --- /dev/null +++ b/beta_107_ro.html @@ -0,0 +1,51 @@ + + + + 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..c6f2d8d16 --- /dev/null +++ b/beta_107_ru.html @@ -0,0 +1,51 @@ + + + + Тур по 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..85fac4160 --- /dev/null +++ b/beta_107_th.html @@ -0,0 +1,51 @@ + + + + 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..33451d05a --- /dev/null +++ b/beta_107_tr.html @@ -0,0 +1,51 @@ + + + + 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..cfed18921 --- /dev/null +++ b/beta_107_ua.html @@ -0,0 +1,51 @@ + + + + Тур по 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..3a7dae4b3 --- /dev/null +++ b/beta_107_vi.html @@ -0,0 +1,51 @@ + + + + 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..15630bf90 --- /dev/null +++ b/beta_107_zh-cn.html @@ -0,0 +1,51 @@ + + + + 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..efa548ad0 --- /dev/null +++ b/beta_108_ar.html @@ -0,0 +1,51 @@ + + + + دورة تعلم رست (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..049d5ab4f --- /dev/null +++ b/beta_108_de.html @@ -0,0 +1,51 @@ + + + + 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..cbdb7934e --- /dev/null +++ b/beta_108_en.html @@ -0,0 +1,51 @@ + + + + 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..524483cab --- /dev/null +++ b/beta_108_es.html @@ -0,0 +1,51 @@ + + + + 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..88a087bd5 --- /dev/null +++ b/beta_108_fa.html @@ -0,0 +1,51 @@ + + + + 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..876509da6 --- /dev/null +++ b/beta_108_fr.html @@ -0,0 +1,51 @@ + + + + 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..13de23e3b --- /dev/null +++ b/beta_108_hu.html @@ -0,0 +1,51 @@ + + + + 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..5a1ac529f --- /dev/null +++ b/beta_108_ie.html @@ -0,0 +1,51 @@ + + + + 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..9f6b1b04a --- /dev/null +++ b/beta_108_ko.html @@ -0,0 +1,51 @@ + + + + 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..273cb16c1 --- /dev/null +++ b/beta_108_pl.html @@ -0,0 +1,51 @@ + + + + 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..e53430357 --- /dev/null +++ b/beta_108_pt-br.html @@ -0,0 +1,51 @@ + + + + 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..44db895e9 --- /dev/null +++ b/beta_108_ro.html @@ -0,0 +1,51 @@ + + + + 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..7e5561725 --- /dev/null +++ b/beta_108_ru.html @@ -0,0 +1,51 @@ + + + + Тур по 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..9e803c1f1 --- /dev/null +++ b/beta_108_th.html @@ -0,0 +1,51 @@ + + + + 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..d48125514 --- /dev/null +++ b/beta_108_tr.html @@ -0,0 +1,51 @@ + + + + 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..1af155481 --- /dev/null +++ b/beta_108_ua.html @@ -0,0 +1,51 @@ + + + + Тур по 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..3cbf20630 --- /dev/null +++ b/beta_108_vi.html @@ -0,0 +1,51 @@ + + + + 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..1b9ef3229 --- /dev/null +++ b/beta_108_zh-cn.html @@ -0,0 +1,51 @@ + + + + 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..61db809e1 --- /dev/null +++ b/beta_109_ar.html @@ -0,0 +1,61 @@ + + + + دورة تعلم رست (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..e0a2f6d25 --- /dev/null +++ b/beta_109_de.html @@ -0,0 +1,57 @@ + + + + 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..d27bed9a8 --- /dev/null +++ b/beta_109_en.html @@ -0,0 +1,59 @@ + + + + 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..a34577839 --- /dev/null +++ b/beta_109_es.html @@ -0,0 +1,56 @@ + + + + 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..215ac96e1 --- /dev/null +++ b/beta_109_fa.html @@ -0,0 +1,59 @@ + + + + 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..514084e9a --- /dev/null +++ b/beta_109_fr.html @@ -0,0 +1,64 @@ + + + + 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..9719a7ca9 --- /dev/null +++ b/beta_109_hu.html @@ -0,0 +1,63 @@ + + + + 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..592028538 --- /dev/null +++ b/beta_109_ie.html @@ -0,0 +1,56 @@ + + + + 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..4f1b0ba6c --- /dev/null +++ b/beta_109_ko.html @@ -0,0 +1,59 @@ + + + + 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..5603531a6 --- /dev/null +++ b/beta_109_pl.html @@ -0,0 +1,59 @@ + + + + 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..58452df83 --- /dev/null +++ b/beta_109_pt-br.html @@ -0,0 +1,56 @@ + + + + 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..137682eed --- /dev/null +++ b/beta_109_ro.html @@ -0,0 +1,58 @@ + + + + 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..305236029 --- /dev/null +++ b/beta_109_ru.html @@ -0,0 +1,56 @@ + + + + Тур по 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..a2b8bab05 --- /dev/null +++ b/beta_109_th.html @@ -0,0 +1,57 @@ + + + + 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..3a23f5a45 --- /dev/null +++ b/beta_109_tr.html @@ -0,0 +1,56 @@ + + + + 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..026852484 --- /dev/null +++ b/beta_109_ua.html @@ -0,0 +1,59 @@ + + + + Тур по 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..846c9f821 --- /dev/null +++ b/beta_109_vi.html @@ -0,0 +1,56 @@ + + + + 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..254ae5ffc --- /dev/null +++ b/beta_109_zh-cn.html @@ -0,0 +1,57 @@ + + + + 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_ar.html b/beta_10_ar.html new file mode 100644 index 000000000..07ad987ee --- /dev/null +++ b/beta_10_ar.html @@ -0,0 +1,55 @@ + + + + دورة تعلم رست (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..c615f8db4 --- /dev/null +++ b/beta_10_de.html @@ -0,0 +1,56 @@ + + + + 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..f0457ac6f --- /dev/null +++ b/beta_10_en.html @@ -0,0 +1,57 @@ + + + + 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..844517236 --- /dev/null +++ b/beta_10_es.html @@ -0,0 +1,55 @@ + + + + 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..bc06c345a --- /dev/null +++ b/beta_10_fa.html @@ -0,0 +1,57 @@ + + + + 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..c6a85ed3a --- /dev/null +++ b/beta_10_fi.html @@ -0,0 +1,55 @@ + + + + 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..d52ccee59 --- /dev/null +++ b/beta_10_fr.html @@ -0,0 +1,56 @@ + + + + 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..64aa66980 --- /dev/null +++ b/beta_10_gr.html @@ -0,0 +1,55 @@ + + + + Ξενάγηση στη 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..7ca2d7d06 --- /dev/null +++ b/beta_10_hu.html @@ -0,0 +1,56 @@ + + + + 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..eb35b64fc --- /dev/null +++ b/beta_10_id.html @@ -0,0 +1,57 @@ + + + + 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..a8a9b0702 --- /dev/null +++ b/beta_10_ie.html @@ -0,0 +1,53 @@ + + + + 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..847725b6e --- /dev/null +++ b/beta_10_it.html @@ -0,0 +1,56 @@ + + + + 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..e11159352 --- /dev/null +++ b/beta_10_ja.html @@ -0,0 +1,55 @@ + + + + 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..3352df55e --- /dev/null +++ b/beta_10_ko.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

여러개의 리턴 값

+

함수는 튜플(tuple)을 리턴함으로써 여러개의 값을 리턴할 수 있습니다.

+

tuple의 원소는 인덱스 숫자를 통해 참조할 수 있습니다.

+

Rust는 데이터 구조의 일부분을 편하게 추출할 수 있도록 해주는 다양한 형태의 분해(destructuring) 방법을 지원합니다. 잘 지켜보세요!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_10_pl.html b/beta_10_pl.html new file mode 100644 index 000000000..55ea7dab7 --- /dev/null +++ b/beta_10_pl.html @@ -0,0 +1,55 @@ + + + + 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..5bf35f58e --- /dev/null +++ b/beta_10_pt-br.html @@ -0,0 +1,55 @@ + + + + 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..54bde33bb --- /dev/null +++ b/beta_10_ro.html @@ -0,0 +1,57 @@ + + + + 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..323bd7a0f --- /dev/null +++ b/beta_10_ru.html @@ -0,0 +1,55 @@ + + + + Тур по 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..39ce8aeab --- /dev/null +++ b/beta_10_th.html @@ -0,0 +1,55 @@ + + + + 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..800232ae6 --- /dev/null +++ b/beta_10_tr.html @@ -0,0 +1,55 @@ + + + + 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..7f538701f --- /dev/null +++ b/beta_10_ua.html @@ -0,0 +1,55 @@ + + + + Тур по 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..845c1c52b --- /dev/null +++ b/beta_10_vi.html @@ -0,0 +1,55 @@ + + + + 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..066c712f3 --- /dev/null +++ b/beta_10_zh-cn.html @@ -0,0 +1,55 @@ + + + + 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..a1b718461 --- /dev/null +++ b/beta_10_zh-tw.html @@ -0,0 +1,55 @@ + + + + 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..6eb9167bb --- /dev/null +++ b/beta_110_ar.html @@ -0,0 +1,54 @@ + + + + دورة تعلم رست (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..daa34f229 --- /dev/null +++ b/beta_110_de.html @@ -0,0 +1,54 @@ + + + + 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..92476ecd5 --- /dev/null +++ b/beta_110_en.html @@ -0,0 +1,54 @@ + + + + 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..02a0337b7 --- /dev/null +++ b/beta_110_es.html @@ -0,0 +1,54 @@ + + + + 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..41bc1b1b6 --- /dev/null +++ b/beta_110_fa.html @@ -0,0 +1,54 @@ + + + + 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..757eb8fdd --- /dev/null +++ b/beta_110_fr.html @@ -0,0 +1,53 @@ + + + + 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..0cede67b9 --- /dev/null +++ b/beta_110_hu.html @@ -0,0 +1,55 @@ + + + + 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..cfff7e69d --- /dev/null +++ b/beta_110_ie.html @@ -0,0 +1,58 @@ + + + + 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..61622c096 --- /dev/null +++ b/beta_110_ko.html @@ -0,0 +1,54 @@ + + + + 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..8aa8cf0a3 --- /dev/null +++ b/beta_110_pl.html @@ -0,0 +1,54 @@ + + + + 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..2a5d96200 --- /dev/null +++ b/beta_110_pt-br.html @@ -0,0 +1,54 @@ + + + + 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..c1439c1d3 --- /dev/null +++ b/beta_110_ro.html @@ -0,0 +1,54 @@ + + + + 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..a6b9e7398 --- /dev/null +++ b/beta_110_ru.html @@ -0,0 +1,54 @@ + + + + Тур по 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..0700c07d7 --- /dev/null +++ b/beta_110_th.html @@ -0,0 +1,54 @@ + + + + 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..f0171b9c1 --- /dev/null +++ b/beta_110_tr.html @@ -0,0 +1,54 @@ + + + + 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..b8dce2115 --- /dev/null +++ b/beta_110_ua.html @@ -0,0 +1,54 @@ + + + + Тур по 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..291021d0c --- /dev/null +++ b/beta_110_vi.html @@ -0,0 +1,54 @@ + + + + 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..05fc7d0cb --- /dev/null +++ b/beta_110_zh-cn.html @@ -0,0 +1,54 @@ + + + + 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..78693ff5e --- /dev/null +++ b/beta_111_ar.html @@ -0,0 +1,56 @@ + + + + دورة تعلم رست (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..145ff5558 --- /dev/null +++ b/beta_111_de.html @@ -0,0 +1,57 @@ + + + + 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..9d19b7b3a --- /dev/null +++ b/beta_111_en.html @@ -0,0 +1,59 @@ + + + + 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..227edeb9e --- /dev/null +++ b/beta_111_es.html @@ -0,0 +1,56 @@ + + + + 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..bee287de2 --- /dev/null +++ b/beta_111_fa.html @@ -0,0 +1,59 @@ + + + + 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..ab34284de --- /dev/null +++ b/beta_111_fr.html @@ -0,0 +1,60 @@ + + + + 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..10cc77576 --- /dev/null +++ b/beta_111_hu.html @@ -0,0 +1,58 @@ + + + + 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..36ef83a94 --- /dev/null +++ b/beta_111_ie.html @@ -0,0 +1,55 @@ + + + + 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..84e3fb1f8 --- /dev/null +++ b/beta_111_ko.html @@ -0,0 +1,58 @@ + + + + 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..a3c6bd39f --- /dev/null +++ b/beta_111_pl.html @@ -0,0 +1,59 @@ + + + + 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..206a84bd0 --- /dev/null +++ b/beta_111_pt-br.html @@ -0,0 +1,56 @@ + + + + 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..f214dcc94 --- /dev/null +++ b/beta_111_ro.html @@ -0,0 +1,59 @@ + + + + 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..7055d3637 --- /dev/null +++ b/beta_111_ru.html @@ -0,0 +1,58 @@ + + + + Тур по 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..edabeb8b5 --- /dev/null +++ b/beta_111_th.html @@ -0,0 +1,57 @@ + + + + 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..3c93aea5f --- /dev/null +++ b/beta_111_tr.html @@ -0,0 +1,57 @@ + + + + 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..7e250ed48 --- /dev/null +++ b/beta_111_ua.html @@ -0,0 +1,59 @@ + + + + Тур по 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..4c9bc356d --- /dev/null +++ b/beta_111_vi.html @@ -0,0 +1,57 @@ + + + + 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..4c40cda9b --- /dev/null +++ b/beta_111_zh-cn.html @@ -0,0 +1,56 @@ + + + + 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..fa03b636d --- /dev/null +++ b/beta_112_ar.html @@ -0,0 +1,54 @@ + + + + دورة تعلم رست (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..f6be8653c --- /dev/null +++ b/beta_112_de.html @@ -0,0 +1,54 @@ + + + + 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..3edb23dd7 --- /dev/null +++ b/beta_112_en.html @@ -0,0 +1,56 @@ + + + + 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..af0e5c6d5 --- /dev/null +++ b/beta_112_es.html @@ -0,0 +1,54 @@ + + + + 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..bb705c092 --- /dev/null +++ b/beta_112_fa.html @@ -0,0 +1,56 @@ + + + + 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..e63354d04 --- /dev/null +++ b/beta_112_fr.html @@ -0,0 +1,57 @@ + + + + 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..c34ce0adc --- /dev/null +++ b/beta_112_hu.html @@ -0,0 +1,56 @@ + + + + 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..140d7c4e8 --- /dev/null +++ b/beta_112_ie.html @@ -0,0 +1,62 @@ + + + + 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..220f399ca --- /dev/null +++ b/beta_112_ko.html @@ -0,0 +1,56 @@ + + + + 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..a95353dff --- /dev/null +++ b/beta_112_pl.html @@ -0,0 +1,56 @@ + + + + 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..05f2962dd --- /dev/null +++ b/beta_112_pt-br.html @@ -0,0 +1,54 @@ + + + + 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..42ad72ac4 --- /dev/null +++ b/beta_112_ro.html @@ -0,0 +1,56 @@ + + + + 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..37f93fdea --- /dev/null +++ b/beta_112_ru.html @@ -0,0 +1,54 @@ + + + + Тур по 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..f7d1ac265 --- /dev/null +++ b/beta_112_th.html @@ -0,0 +1,54 @@ + + + + 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..776caa36a --- /dev/null +++ b/beta_112_tr.html @@ -0,0 +1,54 @@ + + + + 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..e3e1e2e98 --- /dev/null +++ b/beta_112_ua.html @@ -0,0 +1,56 @@ + + + + Тур по 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..6ea51fbc0 --- /dev/null +++ b/beta_112_vi.html @@ -0,0 +1,54 @@ + + + + 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..a474f57ae --- /dev/null +++ b/beta_112_zh-cn.html @@ -0,0 +1,54 @@ + + + + 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..ad2021d21 --- /dev/null +++ b/beta_113_ar.html @@ -0,0 +1,63 @@ + + + + دورة تعلم رست (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..8fed5a978 --- /dev/null +++ b/beta_113_de.html @@ -0,0 +1,63 @@ + + + + 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..dd1c83857 --- /dev/null +++ b/beta_113_en.html @@ -0,0 +1,63 @@ + + + + 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..e2a936fc4 --- /dev/null +++ b/beta_113_es.html @@ -0,0 +1,63 @@ + + + + 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..a4711ad6a --- /dev/null +++ b/beta_113_fa.html @@ -0,0 +1,63 @@ + + + + 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..b206600aa --- /dev/null +++ b/beta_113_fr.html @@ -0,0 +1,65 @@ + + + + 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..08a0a693e --- /dev/null +++ b/beta_113_hu.html @@ -0,0 +1,63 @@ + + + + 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..fba65371e --- /dev/null +++ b/beta_113_ie.html @@ -0,0 +1,56 @@ + + + + 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..f3671ace2 --- /dev/null +++ b/beta_113_ko.html @@ -0,0 +1,63 @@ + + + + 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..e5216f3bc --- /dev/null +++ b/beta_113_pl.html @@ -0,0 +1,63 @@ + + + + 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..29f79ccb4 --- /dev/null +++ b/beta_113_pt-br.html @@ -0,0 +1,63 @@ + + + + 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..54d777ae0 --- /dev/null +++ b/beta_113_ro.html @@ -0,0 +1,63 @@ + + + + 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..904f0590f --- /dev/null +++ b/beta_113_ru.html @@ -0,0 +1,63 @@ + + + + Тур по 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..e7f8ea618 --- /dev/null +++ b/beta_113_th.html @@ -0,0 +1,63 @@ + + + + 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..29d721068 --- /dev/null +++ b/beta_113_tr.html @@ -0,0 +1,63 @@ + + + + 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..e9b491c9b --- /dev/null +++ b/beta_113_ua.html @@ -0,0 +1,63 @@ + + + + Тур по 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..0dcce025b --- /dev/null +++ b/beta_113_vi.html @@ -0,0 +1,65 @@ + + + + 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..b92ad78cd --- /dev/null +++ b/beta_113_zh-cn.html @@ -0,0 +1,61 @@ + + + + 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..aa73ffde7 --- /dev/null +++ b/beta_114_ar.html @@ -0,0 +1,56 @@ + + + + دورة تعلم رست (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..13573b318 --- /dev/null +++ b/beta_114_de.html @@ -0,0 +1,56 @@ + + + + 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..b79a6376f --- /dev/null +++ b/beta_114_en.html @@ -0,0 +1,56 @@ + + + + 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..007e6b6bb --- /dev/null +++ b/beta_114_es.html @@ -0,0 +1,56 @@ + + + + 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..540bf7702 --- /dev/null +++ b/beta_114_fa.html @@ -0,0 +1,56 @@ + + + + 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..d2556c7eb --- /dev/null +++ b/beta_114_fr.html @@ -0,0 +1,57 @@ + + + + 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..39f6213f1 --- /dev/null +++ b/beta_114_hu.html @@ -0,0 +1,57 @@ + + + + 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..5360dc216 --- /dev/null +++ b/beta_114_ie.html @@ -0,0 +1,53 @@ + + + + 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..88f2c8617 --- /dev/null +++ b/beta_114_ko.html @@ -0,0 +1,56 @@ + + + + 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..adfe0ea55 --- /dev/null +++ b/beta_114_pl.html @@ -0,0 +1,56 @@ + + + + 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..2c74b819c --- /dev/null +++ b/beta_114_pt-br.html @@ -0,0 +1,56 @@ + + + + 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..2a1d4dde6 --- /dev/null +++ b/beta_114_ro.html @@ -0,0 +1,56 @@ + + + + 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..24ad7442c --- /dev/null +++ b/beta_114_ru.html @@ -0,0 +1,56 @@ + + + + Тур по 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..256165d5d --- /dev/null +++ b/beta_114_th.html @@ -0,0 +1,56 @@ + + + + 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..0c2817ce6 --- /dev/null +++ b/beta_114_tr.html @@ -0,0 +1,56 @@ + + + + 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..df1fdea0b --- /dev/null +++ b/beta_114_ua.html @@ -0,0 +1,56 @@ + + + + Тур по 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..2d199428a --- /dev/null +++ b/beta_114_vi.html @@ -0,0 +1,56 @@ + + + + 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..2d85e0aac --- /dev/null +++ b/beta_114_zh-cn.html @@ -0,0 +1,56 @@ + + + + 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..8d0cdaae1 --- /dev/null +++ b/beta_115_ar.html @@ -0,0 +1,52 @@ + + + + دورة تعلم رست (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..d2884398a --- /dev/null +++ b/beta_115_de.html @@ -0,0 +1,56 @@ + + + + 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..011443e28 --- /dev/null +++ b/beta_115_en.html @@ -0,0 +1,54 @@ + + + + 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..fa507abe5 --- /dev/null +++ b/beta_115_es.html @@ -0,0 +1,52 @@ + + + + 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..066d1d281 --- /dev/null +++ b/beta_115_fa.html @@ -0,0 +1,54 @@ + + + + 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..9bec17737 --- /dev/null +++ b/beta_115_fr.html @@ -0,0 +1,57 @@ + + + + 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..1fc678ac5 --- /dev/null +++ b/beta_115_hu.html @@ -0,0 +1,56 @@ + + + + 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..1427f1519 --- /dev/null +++ b/beta_115_ie.html @@ -0,0 +1,53 @@ + + + + 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..6739ba82d --- /dev/null +++ b/beta_115_ko.html @@ -0,0 +1,54 @@ + + + + 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..49f62ca57 --- /dev/null +++ b/beta_115_pl.html @@ -0,0 +1,54 @@ + + + + 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..dca021b27 --- /dev/null +++ b/beta_115_pt-br.html @@ -0,0 +1,51 @@ + + + + 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..937886b1b --- /dev/null +++ b/beta_115_ro.html @@ -0,0 +1,54 @@ + + + + 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..bc4622181 --- /dev/null +++ b/beta_115_ru.html @@ -0,0 +1,52 @@ + + + + Тур по 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..741acb1f0 --- /dev/null +++ b/beta_115_th.html @@ -0,0 +1,52 @@ + + + + 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..84d489527 --- /dev/null +++ b/beta_115_tr.html @@ -0,0 +1,52 @@ + + + + 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..588e793e8 --- /dev/null +++ b/beta_115_ua.html @@ -0,0 +1,54 @@ + + + + Тур по 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..2bbf5ec99 --- /dev/null +++ b/beta_115_vi.html @@ -0,0 +1,52 @@ + + + + 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..45eaef183 --- /dev/null +++ b/beta_115_zh-cn.html @@ -0,0 +1,52 @@ + + + + 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..7c0e5f96e --- /dev/null +++ b/beta_116_ar.html @@ -0,0 +1,53 @@ + + + + دورة تعلم رست (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..366bf4324 --- /dev/null +++ b/beta_116_de.html @@ -0,0 +1,54 @@ + + + + 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..a4bd9227a --- /dev/null +++ b/beta_116_en.html @@ -0,0 +1,53 @@ + + + + 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..6ef118a59 --- /dev/null +++ b/beta_116_es.html @@ -0,0 +1,53 @@ + + + + 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..1323f62de --- /dev/null +++ b/beta_116_fa.html @@ -0,0 +1,53 @@ + + + + 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..8d46ecd22 --- /dev/null +++ b/beta_116_fr.html @@ -0,0 +1,54 @@ + + + + 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..3483f3d87 --- /dev/null +++ b/beta_116_hu.html @@ -0,0 +1,54 @@ + + + + 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..238231c31 --- /dev/null +++ b/beta_116_ko.html @@ -0,0 +1,53 @@ + + + + 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..f3141d56b --- /dev/null +++ b/beta_116_pl.html @@ -0,0 +1,53 @@ + + + + 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..82d0b4586 --- /dev/null +++ b/beta_116_pt-br.html @@ -0,0 +1,53 @@ + + + + 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..6fcd761a4 --- /dev/null +++ b/beta_116_ro.html @@ -0,0 +1,53 @@ + + + + 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..49c393b6f --- /dev/null +++ b/beta_116_ru.html @@ -0,0 +1,53 @@ + + + + Тур по 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..816e59784 --- /dev/null +++ b/beta_116_th.html @@ -0,0 +1,53 @@ + + + + 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..88594a1f2 --- /dev/null +++ b/beta_116_tr.html @@ -0,0 +1,53 @@ + + + + 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..e50b4d0ef --- /dev/null +++ b/beta_116_ua.html @@ -0,0 +1,53 @@ + + + + Тур по 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..ab8a8d796 --- /dev/null +++ b/beta_116_vi.html @@ -0,0 +1,53 @@ + + + + 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..d4f92559d --- /dev/null +++ b/beta_116_zh-cn.html @@ -0,0 +1,53 @@ + + + + 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..14ed9bcea --- /dev/null +++ b/beta_117_ar.html @@ -0,0 +1,53 @@ + + + + دورة تعلم رست (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..692bb1a0f --- /dev/null +++ b/beta_117_de.html @@ -0,0 +1,54 @@ + + + + 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..1ffaf8ff9 --- /dev/null +++ b/beta_117_en.html @@ -0,0 +1,57 @@ + + + + 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..af717b1a0 --- /dev/null +++ b/beta_117_es.html @@ -0,0 +1,55 @@ + + + + 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..f43a8d6f5 --- /dev/null +++ b/beta_117_fa.html @@ -0,0 +1,57 @@ + + + + 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..d4e1ff829 --- /dev/null +++ b/beta_117_fr.html @@ -0,0 +1,57 @@ + + + + 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..5ece99094 --- /dev/null +++ b/beta_117_hu.html @@ -0,0 +1,55 @@ + + + + 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..9b3fb2a5c --- /dev/null +++ b/beta_117_ko.html @@ -0,0 +1,55 @@ + + + + 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..e37484d94 --- /dev/null +++ b/beta_117_pl.html @@ -0,0 +1,57 @@ + + + + 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..76d2dfc27 --- /dev/null +++ b/beta_117_pt-br.html @@ -0,0 +1,52 @@ + + + + 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..905b7d507 --- /dev/null +++ b/beta_117_ro.html @@ -0,0 +1,57 @@ + + + + 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..c4dcf2082 --- /dev/null +++ b/beta_117_ru.html @@ -0,0 +1,56 @@ + + + + Тур по 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..91c4f847a --- /dev/null +++ b/beta_117_th.html @@ -0,0 +1,56 @@ + + + + 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..5b509801a --- /dev/null +++ b/beta_117_tr.html @@ -0,0 +1,54 @@ + + + + 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..327567861 --- /dev/null +++ b/beta_117_ua.html @@ -0,0 +1,57 @@ + + + + Тур по 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..8d4b31821 --- /dev/null +++ b/beta_117_vi.html @@ -0,0 +1,54 @@ + + + + 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..409c781f8 --- /dev/null +++ b/beta_117_zh-cn.html @@ -0,0 +1,54 @@ + + + + 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..28841c4a1 --- /dev/null +++ b/beta_118_ar.html @@ -0,0 +1,53 @@ + + + + دورة تعلم رست (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..b025e64b0 --- /dev/null +++ b/beta_118_de.html @@ -0,0 +1,53 @@ + + + + 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..955350d54 --- /dev/null +++ b/beta_118_en.html @@ -0,0 +1,55 @@ + + + + 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..38b8442f9 --- /dev/null +++ b/beta_118_es.html @@ -0,0 +1,52 @@ + + + + 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..b3e7ec832 --- /dev/null +++ b/beta_118_fa.html @@ -0,0 +1,55 @@ + + + + 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..583a73cdb --- /dev/null +++ b/beta_118_fr.html @@ -0,0 +1,56 @@ + + + + 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..3a4bb83d8 --- /dev/null +++ b/beta_118_hu.html @@ -0,0 +1,56 @@ + + + + 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..e22d76cad --- /dev/null +++ b/beta_118_ko.html @@ -0,0 +1,55 @@ + + + + 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..2040df675 --- /dev/null +++ b/beta_118_pl.html @@ -0,0 +1,55 @@ + + + + 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..d732be228 --- /dev/null +++ b/beta_118_pt-br.html @@ -0,0 +1,53 @@ + + + + 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..de738fb25 --- /dev/null +++ b/beta_118_ro.html @@ -0,0 +1,55 @@ + + + + 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..9e86b4060 --- /dev/null +++ b/beta_118_ru.html @@ -0,0 +1,53 @@ + + + + Тур по 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..be47e5433 --- /dev/null +++ b/beta_118_th.html @@ -0,0 +1,53 @@ + + + + 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..2ad0a3673 --- /dev/null +++ b/beta_118_tr.html @@ -0,0 +1,52 @@ + + + + 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..62a48b035 --- /dev/null +++ b/beta_118_ua.html @@ -0,0 +1,53 @@ + + + + Тур по 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..8eac9e55e --- /dev/null +++ b/beta_118_vi.html @@ -0,0 +1,53 @@ + + + + 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..0617d5838 --- /dev/null +++ b/beta_118_zh-cn.html @@ -0,0 +1,53 @@ + + + + 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..04fcf69aa --- /dev/null +++ b/beta_119_ar.html @@ -0,0 +1,55 @@ + + + + دورة تعلم رست (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..e2829af77 --- /dev/null +++ b/beta_119_de.html @@ -0,0 +1,56 @@ + + + + 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..61aaf29a1 --- /dev/null +++ b/beta_119_en.html @@ -0,0 +1,56 @@ + + + + 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..2270bd08a --- /dev/null +++ b/beta_119_es.html @@ -0,0 +1,55 @@ + + + + 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..dae87b864 --- /dev/null +++ b/beta_119_fa.html @@ -0,0 +1,56 @@ + + + + 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..925c09d77 --- /dev/null +++ b/beta_119_fr.html @@ -0,0 +1,59 @@ + + + + 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..d3ba8b75e --- /dev/null +++ b/beta_119_hu.html @@ -0,0 +1,58 @@ + + + + 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..ae9f30e46 --- /dev/null +++ b/beta_119_ko.html @@ -0,0 +1,56 @@ + + + + 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..7e8f20074 --- /dev/null +++ b/beta_119_pl.html @@ -0,0 +1,56 @@ + + + + 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..88e384951 --- /dev/null +++ b/beta_119_pt-br.html @@ -0,0 +1,55 @@ + + + + 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..3b7f3bb12 --- /dev/null +++ b/beta_119_ro.html @@ -0,0 +1,56 @@ + + + + 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..a112bcbdd --- /dev/null +++ b/beta_119_ru.html @@ -0,0 +1,56 @@ + + + + Тур по 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..00278b670 --- /dev/null +++ b/beta_119_th.html @@ -0,0 +1,56 @@ + + + + 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..faa667c36 --- /dev/null +++ b/beta_119_tr.html @@ -0,0 +1,55 @@ + + + + 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..cf0c54ac9 --- /dev/null +++ b/beta_119_ua.html @@ -0,0 +1,55 @@ + + + + Тур по 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..1c5d1e2fa --- /dev/null +++ b/beta_119_vi.html @@ -0,0 +1,55 @@ + + + + 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..70f696e63 --- /dev/null +++ b/beta_119_zh-cn.html @@ -0,0 +1,55 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第九章 - 总结

+

现在,你应该学会了如何创建并与世界分享你的 Rust 应用程序和库了。 不要担心现在记不住这些东西。等以后你的库发展了,用的人多了,你自己会清楚每个阶段应该做什么的。

+

其他资源(英文):

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_11_ar.html b/beta_11_ar.html new file mode 100644 index 000000000..6e8ba6de9 --- /dev/null +++ b/beta_11_ar.html @@ -0,0 +1,55 @@ + + + + دورة تعلم رست (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..830a5f09e --- /dev/null +++ b/beta_11_de.html @@ -0,0 +1,55 @@ + + + + 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..1b98616d6 --- /dev/null +++ b/beta_11_en.html @@ -0,0 +1,55 @@ + + + + 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..42a9cc0e7 --- /dev/null +++ b/beta_11_es.html @@ -0,0 +1,55 @@ + + + + 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..b7b136b10 --- /dev/null +++ b/beta_11_fa.html @@ -0,0 +1,55 @@ + + + + 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..5d4f7a203 --- /dev/null +++ b/beta_11_fi.html @@ -0,0 +1,55 @@ + + + + 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..a039c4a6c --- /dev/null +++ b/beta_11_fr.html @@ -0,0 +1,56 @@ + + + + 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..7ce6b2cb8 --- /dev/null +++ b/beta_11_gr.html @@ -0,0 +1,55 @@ + + + + Ξενάγηση στη 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..65d9690a0 --- /dev/null +++ b/beta_11_hu.html @@ -0,0 +1,57 @@ + + + + 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..fb77e4703 --- /dev/null +++ b/beta_11_id.html @@ -0,0 +1,55 @@ + + + + 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..e24079f45 --- /dev/null +++ b/beta_11_ie.html @@ -0,0 +1,55 @@ + + + + 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..574cceb31 --- /dev/null +++ b/beta_11_it.html @@ -0,0 +1,55 @@ + + + + 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..1d123d14e --- /dev/null +++ b/beta_11_ja.html @@ -0,0 +1,55 @@ + + + + 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..026e83a18 --- /dev/null +++ b/beta_11_ko.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

아무것도 리턴하지 않기

+

함수에 리턴형을 지정하지 않은 경우 빈 tuple을 리턴하는데, 이는 unit이라고도 합니다.

+

빈 tuple은 ()로 표현합니다.

+

()를 사용하는 경우는 드물지만, 뭔지 알아두는 것이 좋을 정도로 꽤 자주 마주치게 될겁니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_11_pl.html b/beta_11_pl.html new file mode 100644 index 000000000..c405ce1d9 --- /dev/null +++ b/beta_11_pl.html @@ -0,0 +1,55 @@ + + + + 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..22f2bef78 --- /dev/null +++ b/beta_11_pt-br.html @@ -0,0 +1,55 @@ + + + + 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..0a6250607 --- /dev/null +++ b/beta_11_ro.html @@ -0,0 +1,55 @@ + + + + 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..db566481d --- /dev/null +++ b/beta_11_ru.html @@ -0,0 +1,55 @@ + + + + Тур по 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..590e25955 --- /dev/null +++ b/beta_11_th.html @@ -0,0 +1,55 @@ + + + + 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..422a651e2 --- /dev/null +++ b/beta_11_tr.html @@ -0,0 +1,55 @@ + + + + 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..698f0562a --- /dev/null +++ b/beta_11_ua.html @@ -0,0 +1,54 @@ + + + + Тур по 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..1ea44b6cd --- /dev/null +++ b/beta_11_vi.html @@ -0,0 +1,55 @@ + + + + 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..e8083d04d --- /dev/null +++ b/beta_11_zh-cn.html @@ -0,0 +1,55 @@ + + + + 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..95bed2020 --- /dev/null +++ b/beta_11_zh-tw.html @@ -0,0 +1,55 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

沒有回傳類型

+

當一沒有標明函數的回傳類型時,Rust 會默認回傳空的元組,稱為一個單元(Unit)

+

一個空的元組是以 () 來展示。 +直接使用()並不常見,但會經常出現。所以最好也能夠知道它是什麽。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_12_ar.html b/beta_12_ar.html new file mode 100644 index 000000000..47e72ed4b --- /dev/null +++ b/beta_12_ar.html @@ -0,0 +1,59 @@ + + + + دورة تعلم رست (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..beaede10b --- /dev/null +++ b/beta_12_de.html @@ -0,0 +1,61 @@ + + + + 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..a6b878d87 --- /dev/null +++ b/beta_12_en.html @@ -0,0 +1,61 @@ + + + + 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..9fee63d1c --- /dev/null +++ b/beta_12_es.html @@ -0,0 +1,57 @@ + + + + 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..4a14c2c0c --- /dev/null +++ b/beta_12_fa.html @@ -0,0 +1,61 @@ + + + + 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..a565e16f2 --- /dev/null +++ b/beta_12_fi.html @@ -0,0 +1,57 @@ + + + + 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..117082caf --- /dev/null +++ b/beta_12_fr.html @@ -0,0 +1,61 @@ + + + + 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..be947efcc --- /dev/null +++ b/beta_12_gr.html @@ -0,0 +1,57 @@ + + + + Ξενάγηση στη 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..1dbfbd87e --- /dev/null +++ b/beta_12_hu.html @@ -0,0 +1,63 @@ + + + + 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..5986ec3e3 --- /dev/null +++ b/beta_12_id.html @@ -0,0 +1,63 @@ + + + + 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..45efa3930 --- /dev/null +++ b/beta_12_ie.html @@ -0,0 +1,51 @@ + + + + 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..ec0f1625e --- /dev/null +++ b/beta_12_it.html @@ -0,0 +1,60 @@ + + + + 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..f23d66003 --- /dev/null +++ b/beta_12_ja.html @@ -0,0 +1,60 @@ + + + + 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..185aae439 --- /dev/null +++ b/beta_12_ko.html @@ -0,0 +1,61 @@ + + + + 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_pl.html b/beta_12_pl.html new file mode 100644 index 000000000..49bba2067 --- /dev/null +++ b/beta_12_pl.html @@ -0,0 +1,57 @@ + + + + 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..f52caa42f --- /dev/null +++ b/beta_12_pt-br.html @@ -0,0 +1,57 @@ + + + + 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..74b4403be --- /dev/null +++ b/beta_12_ro.html @@ -0,0 +1,61 @@ + + + + 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..a0f28056b --- /dev/null +++ b/beta_12_ru.html @@ -0,0 +1,57 @@ + + + + Тур по 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..13c7ac9d5 --- /dev/null +++ b/beta_12_th.html @@ -0,0 +1,60 @@ + + + + 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..ce05cfddc --- /dev/null +++ b/beta_12_tr.html @@ -0,0 +1,58 @@ + + + + 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..1f10d21d6 --- /dev/null +++ b/beta_12_ua.html @@ -0,0 +1,59 @@ + + + + Тур по 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..959a5db71 --- /dev/null +++ b/beta_12_vi.html @@ -0,0 +1,58 @@ + + + + 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..25fba1e1f --- /dev/null +++ b/beta_12_zh-cn.html @@ -0,0 +1,61 @@ + + + + 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..83f94b506 --- /dev/null +++ b/beta_12_zh-tw.html @@ -0,0 +1,60 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第一章 - 總結

+

到目前為止做得很好! Rust的基礎還不錯,對吧? 我們是窺探了Rust編譯器的想法。 +作為系統編程語言,它非常關心內存中的值大小,是否可以修改,並確保您的算法是您想要的。 +接下來,我們將看著一些老朋友: +if 測試 和 for 循環

+

更多資源:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_14_ar.html b/beta_14_ar.html new file mode 100644 index 000000000..019452482 --- /dev/null +++ b/beta_14_ar.html @@ -0,0 +1,55 @@ + + + + دورة تعلم رست (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..7e99dc29e --- /dev/null +++ b/beta_14_de.html @@ -0,0 +1,56 @@ + + + + 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..4e063d259 --- /dev/null +++ b/beta_14_en.html @@ -0,0 +1,55 @@ + + + + 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..7ec112c39 --- /dev/null +++ b/beta_14_es.html @@ -0,0 +1,55 @@ + + + + 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..c3c245f51 --- /dev/null +++ b/beta_14_fa.html @@ -0,0 +1,55 @@ + + + + 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..053d7bef1 --- /dev/null +++ b/beta_14_fi.html @@ -0,0 +1,55 @@ + + + + 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..e2fff87a1 --- /dev/null +++ b/beta_14_fr.html @@ -0,0 +1,56 @@ + + + + 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..8a1d7772f --- /dev/null +++ b/beta_14_gr.html @@ -0,0 +1,55 @@ + + + + Ξενάγηση στη 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..2dfa8ea06 --- /dev/null +++ b/beta_14_hu.html @@ -0,0 +1,57 @@ + + + + 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..7852bcaeb --- /dev/null +++ b/beta_14_id.html @@ -0,0 +1,55 @@ + + + + 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..7286f6401 --- /dev/null +++ b/beta_14_ie.html @@ -0,0 +1,53 @@ + + + + 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..5d2682bfb --- /dev/null +++ b/beta_14_it.html @@ -0,0 +1,55 @@ + + + + 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..db1104180 --- /dev/null +++ b/beta_14_ja.html @@ -0,0 +1,55 @@ + + + + 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..a3e06cc39 --- /dev/null +++ b/beta_14_ko.html @@ -0,0 +1,55 @@ + + + + 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..f027d33ac --- /dev/null +++ b/beta_14_pl.html @@ -0,0 +1,55 @@ + + + + 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..2025fb7f0 --- /dev/null +++ b/beta_14_pt-br.html @@ -0,0 +1,55 @@ + + + + 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..def399a1b --- /dev/null +++ b/beta_14_ro.html @@ -0,0 +1,55 @@ + + + + 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..9f52dcc4b --- /dev/null +++ b/beta_14_ru.html @@ -0,0 +1,56 @@ + + + + Тур по 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..3f425cae7 --- /dev/null +++ b/beta_14_th.html @@ -0,0 +1,55 @@ + + + + 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..b690691ac --- /dev/null +++ b/beta_14_tr.html @@ -0,0 +1,55 @@ + + + + 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..1661e197d --- /dev/null +++ b/beta_14_ua.html @@ -0,0 +1,55 @@ + + + + Тур по 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..037d708b0 --- /dev/null +++ b/beta_14_vi.html @@ -0,0 +1,55 @@ + + + + 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..fa8732f5d --- /dev/null +++ b/beta_14_zh-cn.html @@ -0,0 +1,55 @@ + + + + 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..b4b5eefd4 --- /dev/null +++ b/beta_14_zh-tw.html @@ -0,0 +1,55 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

if/else if/else

+

程式碼分支在 Rust 裡並不是什麼新奇的東西。

+

條件敘述沒有括號!我們真的需要它們嗎?我們的邏輯現在看起來漂亮且清晰。

+

所有你常用的關係式及邏輯運算符號仍然正常運作:==!=<><=>=!||&&

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_15_ar.html b/beta_15_ar.html new file mode 100644 index 000000000..53040be43 --- /dev/null +++ b/beta_15_ar.html @@ -0,0 +1,56 @@ + + + + دورة تعلم رست (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..f1491fc6b --- /dev/null +++ b/beta_15_de.html @@ -0,0 +1,54 @@ + + + + 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..3fca3001f --- /dev/null +++ b/beta_15_en.html @@ -0,0 +1,56 @@ + + + + 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..08f9ff2a6 --- /dev/null +++ b/beta_15_es.html @@ -0,0 +1,56 @@ + + + + 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..868cde474 --- /dev/null +++ b/beta_15_fa.html @@ -0,0 +1,56 @@ + + + + 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..a1140dde7 --- /dev/null +++ b/beta_15_fi.html @@ -0,0 +1,56 @@ + + + + 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..fee85854b --- /dev/null +++ b/beta_15_fr.html @@ -0,0 +1,56 @@ + + + + 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..0afe19fa9 --- /dev/null +++ b/beta_15_gr.html @@ -0,0 +1,54 @@ + + + + Ξενάγηση στη 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..62ec9baca --- /dev/null +++ b/beta_15_hu.html @@ -0,0 +1,56 @@ + + + + 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..f890c4970 --- /dev/null +++ b/beta_15_id.html @@ -0,0 +1,56 @@ + + + + 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..4abe5e2bb --- /dev/null +++ b/beta_15_ie.html @@ -0,0 +1,53 @@ + + + + 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..5da07babf --- /dev/null +++ b/beta_15_it.html @@ -0,0 +1,56 @@ + + + + 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..060619481 --- /dev/null +++ b/beta_15_ja.html @@ -0,0 +1,55 @@ + + + + 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..9bbec8999 --- /dev/null +++ b/beta_15_ko.html @@ -0,0 +1,56 @@ + + + + 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..18d92cb42 --- /dev/null +++ b/beta_15_pl.html @@ -0,0 +1,56 @@ + + + + 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..fc16b986d --- /dev/null +++ b/beta_15_pt-br.html @@ -0,0 +1,56 @@ + + + + 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..92c86b34c --- /dev/null +++ b/beta_15_ro.html @@ -0,0 +1,56 @@ + + + + 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..2950bb718 --- /dev/null +++ b/beta_15_ru.html @@ -0,0 +1,56 @@ + + + + Тур по 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..e1793cf2d --- /dev/null +++ b/beta_15_th.html @@ -0,0 +1,56 @@ + + + + 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..9798050bb --- /dev/null +++ b/beta_15_tr.html @@ -0,0 +1,55 @@ + + + + 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..4e6857eab --- /dev/null +++ b/beta_15_ua.html @@ -0,0 +1,55 @@ + + + + Тур по 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..0ab1b6a70 --- /dev/null +++ b/beta_15_vi.html @@ -0,0 +1,56 @@ + + + + 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..f1eb20719 --- /dev/null +++ b/beta_15_zh-cn.html @@ -0,0 +1,55 @@ + + + + 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..67d6152ff --- /dev/null +++ b/beta_15_zh-tw.html @@ -0,0 +1,56 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

loop

+

需要一個無窮迴圈嗎?

+

Rust 將它變得很簡單。

+

當你準備好時,break 會離開一個迴圈。

+

loop 有個秘密,我們很快就會談到它。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_16_ar.html b/beta_16_ar.html new file mode 100644 index 000000000..0e7dc1260 --- /dev/null +++ b/beta_16_ar.html @@ -0,0 +1,54 @@ + + + + دورة تعلم رست (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..77da8936f --- /dev/null +++ b/beta_16_de.html @@ -0,0 +1,53 @@ + + + + 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..bf8e1f6bc --- /dev/null +++ b/beta_16_en.html @@ -0,0 +1,54 @@ + + + + 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..eeb8ead8d --- /dev/null +++ b/beta_16_es.html @@ -0,0 +1,54 @@ + + + + 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..4ece83655 --- /dev/null +++ b/beta_16_fa.html @@ -0,0 +1,54 @@ + + + + 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..5e16c0e5d --- /dev/null +++ b/beta_16_fi.html @@ -0,0 +1,54 @@ + + + + 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..11597d29a --- /dev/null +++ b/beta_16_fr.html @@ -0,0 +1,54 @@ + + + + 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..3b929ff31 --- /dev/null +++ b/beta_16_gr.html @@ -0,0 +1,54 @@ + + + + Ξενάγηση στη 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..f208bc15d --- /dev/null +++ b/beta_16_hu.html @@ -0,0 +1,54 @@ + + + + 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..77372baca --- /dev/null +++ b/beta_16_id.html @@ -0,0 +1,54 @@ + + + + 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..16513e93d --- /dev/null +++ b/beta_16_ie.html @@ -0,0 +1,53 @@ + + + + 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..7fbb7eebb --- /dev/null +++ b/beta_16_it.html @@ -0,0 +1,54 @@ + + + + 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..584db8ed4 --- /dev/null +++ b/beta_16_ja.html @@ -0,0 +1,54 @@ + + + + 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..0355a8dc7 --- /dev/null +++ b/beta_16_ko.html @@ -0,0 +1,54 @@ + + + + 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..545b7ba9e --- /dev/null +++ b/beta_16_pl.html @@ -0,0 +1,54 @@ + + + + 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..fba9491a4 --- /dev/null +++ b/beta_16_pt-br.html @@ -0,0 +1,54 @@ + + + + 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..cd76f6d39 --- /dev/null +++ b/beta_16_ro.html @@ -0,0 +1,54 @@ + + + + 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..ff32dd31d --- /dev/null +++ b/beta_16_ru.html @@ -0,0 +1,54 @@ + + + + Тур по 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..964b81288 --- /dev/null +++ b/beta_16_th.html @@ -0,0 +1,54 @@ + + + + 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..d22b6e271 --- /dev/null +++ b/beta_16_tr.html @@ -0,0 +1,54 @@ + + + + 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..7d5c231d7 --- /dev/null +++ b/beta_16_ua.html @@ -0,0 +1,54 @@ + + + + Тур по 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..6f4693ece --- /dev/null +++ b/beta_16_vi.html @@ -0,0 +1,54 @@ + + + + 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..0fa44f051 --- /dev/null +++ b/beta_16_zh-cn.html @@ -0,0 +1,54 @@ + + + + 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..bce5dcdf3 --- /dev/null +++ b/beta_16_zh-tw.html @@ -0,0 +1,54 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

while

+

while 讓你輕鬆的加入一個條件到迴圈裡。

+

如果該條件的結果是 false,那迴圈將會中止。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_17_ar.html b/beta_17_ar.html new file mode 100644 index 000000000..5029a1570 --- /dev/null +++ b/beta_17_ar.html @@ -0,0 +1,55 @@ + + + + دورة تعلم رست (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..6c449dbee --- /dev/null +++ b/beta_17_de.html @@ -0,0 +1,63 @@ + + + + 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..facff2c43 --- /dev/null +++ b/beta_17_en.html @@ -0,0 +1,62 @@ + + + + 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..9e5e678e6 --- /dev/null +++ b/beta_17_es.html @@ -0,0 +1,56 @@ + + + + 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..2416a2248 --- /dev/null +++ b/beta_17_fa.html @@ -0,0 +1,62 @@ + + + + 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..0f38e610d --- /dev/null +++ b/beta_17_fi.html @@ -0,0 +1,62 @@ + + + + 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..369047009 --- /dev/null +++ b/beta_17_fr.html @@ -0,0 +1,62 @@ + + + + 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..6de4f2467 --- /dev/null +++ b/beta_17_gr.html @@ -0,0 +1,57 @@ + + + + Ξενάγηση στη 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..386d43bc9 --- /dev/null +++ b/beta_17_hu.html @@ -0,0 +1,60 @@ + + + + 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..a62c48bee --- /dev/null +++ b/beta_17_id.html @@ -0,0 +1,57 @@ + + + + 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..3c6ce3ce1 --- /dev/null +++ b/beta_17_ie.html @@ -0,0 +1,53 @@ + + + + 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..b91cd4fba --- /dev/null +++ b/beta_17_it.html @@ -0,0 +1,57 @@ + + + + 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..db5dfe1b0 --- /dev/null +++ b/beta_17_ja.html @@ -0,0 +1,59 @@ + + + + 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..52cce2c95 --- /dev/null +++ b/beta_17_ko.html @@ -0,0 +1,59 @@ + + + + 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..06b408194 --- /dev/null +++ b/beta_17_pl.html @@ -0,0 +1,57 @@ + + + + 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..51a290313 --- /dev/null +++ b/beta_17_pt-br.html @@ -0,0 +1,56 @@ + + + + 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..638d67412 --- /dev/null +++ b/beta_17_ro.html @@ -0,0 +1,62 @@ + + + + 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..4f3470625 --- /dev/null +++ b/beta_17_ru.html @@ -0,0 +1,59 @@ + + + + Тур по 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..55ed5327a --- /dev/null +++ b/beta_17_th.html @@ -0,0 +1,57 @@ + + + + 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..9f44b3bc2 --- /dev/null +++ b/beta_17_tr.html @@ -0,0 +1,57 @@ + + + + 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..2df31d715 --- /dev/null +++ b/beta_17_ua.html @@ -0,0 +1,57 @@ + + + + Тур по 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..84f89e2aa --- /dev/null +++ b/beta_17_vi.html @@ -0,0 +1,60 @@ + + + + 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..1104c3139 --- /dev/null +++ b/beta_17_zh-cn.html @@ -0,0 +1,57 @@ + + + + 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..73b3af757 --- /dev/null +++ b/beta_17_zh-tw.html @@ -0,0 +1,56 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

for

+

Rust 的 for 迴圈是個強大升級版。 它會迭代任何表達式的數值,並且將該數值放入迭代器 (iterator) 裡。 什麼是迭代器?迭代器是一個物件,你可以向這個物件詢問:「下一個物品是什麼?」,直到沒有下一個物品了。

+

我們在後續章節會探討更多。同時,現在只需要知道 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..74e7590ea --- /dev/null +++ b/beta_18_ar.html @@ -0,0 +1,56 @@ + + + + دورة تعلم رست (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..6bda390b0 --- /dev/null +++ b/beta_18_de.html @@ -0,0 +1,62 @@ + + + + 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..77fbffb30 --- /dev/null +++ b/beta_18_en.html @@ -0,0 +1,61 @@ + + + + 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..90d2f1a46 --- /dev/null +++ b/beta_18_es.html @@ -0,0 +1,55 @@ + + + + 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..8c90a3e6c --- /dev/null +++ b/beta_18_fa.html @@ -0,0 +1,61 @@ + + + + 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..2847538c0 --- /dev/null +++ b/beta_18_fi.html @@ -0,0 +1,61 @@ + + + + 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..f98233e97 --- /dev/null +++ b/beta_18_fr.html @@ -0,0 +1,60 @@ + + + + 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..0f7f20bf5 --- /dev/null +++ b/beta_18_gr.html @@ -0,0 +1,55 @@ + + + + Ξενάγηση στη 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..d5229d991 --- /dev/null +++ b/beta_18_hu.html @@ -0,0 +1,60 @@ + + + + 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..98e07732b --- /dev/null +++ b/beta_18_id.html @@ -0,0 +1,55 @@ + + + + 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..2aef63a5a --- /dev/null +++ b/beta_18_ie.html @@ -0,0 +1,53 @@ + + + + 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..a283d7552 --- /dev/null +++ b/beta_18_it.html @@ -0,0 +1,55 @@ + + + + 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..b16d65b59 --- /dev/null +++ b/beta_18_ja.html @@ -0,0 +1,59 @@ + + + + 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..1fb3dbbe4 --- /dev/null +++ b/beta_18_ko.html @@ -0,0 +1,58 @@ + + + + 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..674a7cf56 --- /dev/null +++ b/beta_18_pl.html @@ -0,0 +1,58 @@ + + + + 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..93ee44072 --- /dev/null +++ b/beta_18_pt-br.html @@ -0,0 +1,55 @@ + + + + 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..c9d5ed262 --- /dev/null +++ b/beta_18_ro.html @@ -0,0 +1,61 @@ + + + + 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..632377cbd --- /dev/null +++ b/beta_18_ru.html @@ -0,0 +1,58 @@ + + + + Тур по 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..490c0e45f --- /dev/null +++ b/beta_18_th.html @@ -0,0 +1,58 @@ + + + + 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..a8eb5c8d6 --- /dev/null +++ b/beta_18_tr.html @@ -0,0 +1,56 @@ + + + + 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..abd01224a --- /dev/null +++ b/beta_18_ua.html @@ -0,0 +1,56 @@ + + + + Тур по 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..bd3eb030b --- /dev/null +++ b/beta_18_vi.html @@ -0,0 +1,56 @@ + + + + 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..5fd18f021 --- /dev/null +++ b/beta_18_zh-cn.html @@ -0,0 +1,57 @@ + + + + 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..bb1b07cf1 --- /dev/null +++ b/beta_18_zh-tw.html @@ -0,0 +1,55 @@ + + + + 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_ar.html b/beta_19_ar.html new file mode 100644 index 000000000..ed4a6dffb --- /dev/null +++ b/beta_19_ar.html @@ -0,0 +1,53 @@ + + + + دورة تعلم رست (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..c5cad928e --- /dev/null +++ b/beta_19_de.html @@ -0,0 +1,53 @@ + + + + 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..88ac88ac3 --- /dev/null +++ b/beta_19_en.html @@ -0,0 +1,53 @@ + + + + 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..47167b58b --- /dev/null +++ b/beta_19_es.html @@ -0,0 +1,53 @@ + + + + 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..735184db9 --- /dev/null +++ b/beta_19_fa.html @@ -0,0 +1,53 @@ + + + + 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..0901ff509 --- /dev/null +++ b/beta_19_fi.html @@ -0,0 +1,53 @@ + + + + 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..7a7614fc9 --- /dev/null +++ b/beta_19_fr.html @@ -0,0 +1,53 @@ + + + + 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..21ff1a145 --- /dev/null +++ b/beta_19_gr.html @@ -0,0 +1,53 @@ + + + + Ξενάγηση στη 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..218041cb1 --- /dev/null +++ b/beta_19_hu.html @@ -0,0 +1,53 @@ + + + + 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..1ab4980e0 --- /dev/null +++ b/beta_19_id.html @@ -0,0 +1,53 @@ + + + + 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..7ad3afbcc --- /dev/null +++ b/beta_19_ie.html @@ -0,0 +1,53 @@ + + + + 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..0276e2116 --- /dev/null +++ b/beta_19_it.html @@ -0,0 +1,53 @@ + + + + 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..f34053575 --- /dev/null +++ b/beta_19_ja.html @@ -0,0 +1,53 @@ + + + + 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..f0dd730a2 --- /dev/null +++ b/beta_19_ko.html @@ -0,0 +1,53 @@ + + + + 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..5e8d408fc --- /dev/null +++ b/beta_19_pl.html @@ -0,0 +1,53 @@ + + + + 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..34ee91722 --- /dev/null +++ b/beta_19_pt-br.html @@ -0,0 +1,53 @@ + + + + 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..4098d6a39 --- /dev/null +++ b/beta_19_ro.html @@ -0,0 +1,53 @@ + + + + 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..cf92b484b --- /dev/null +++ b/beta_19_ru.html @@ -0,0 +1,53 @@ + + + + Тур по 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..3cb97bdda --- /dev/null +++ b/beta_19_th.html @@ -0,0 +1,53 @@ + + + + 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..b02329552 --- /dev/null +++ b/beta_19_tr.html @@ -0,0 +1,53 @@ + + + + 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..9abae4cf7 --- /dev/null +++ b/beta_19_ua.html @@ -0,0 +1,53 @@ + + + + Тур по 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..969595c0a --- /dev/null +++ b/beta_19_vi.html @@ -0,0 +1,53 @@ + + + + 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..fe3d250ff --- /dev/null +++ b/beta_19_zh-cn.html @@ -0,0 +1,53 @@ + + + + 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..faf399010 --- /dev/null +++ b/beta_19_zh-tw.html @@ -0,0 +1,53 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

從迴圈回傳數值

+

loop 可以用 break 來回傳數值。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_20_ar.html b/beta_20_ar.html new file mode 100644 index 000000000..fb54d153a --- /dev/null +++ b/beta_20_ar.html @@ -0,0 +1,55 @@ + + + + دورة تعلم رست (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..0b87c444a --- /dev/null +++ b/beta_20_de.html @@ -0,0 +1,61 @@ + + + + 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..08f00c418 --- /dev/null +++ b/beta_20_en.html @@ -0,0 +1,58 @@ + + + + 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..b50a08066 --- /dev/null +++ b/beta_20_es.html @@ -0,0 +1,55 @@ + + + + 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..2d39e3399 --- /dev/null +++ b/beta_20_fa.html @@ -0,0 +1,58 @@ + + + + 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..83463fc6e --- /dev/null +++ b/beta_20_fi.html @@ -0,0 +1,58 @@ + + + + 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..6642fa6c4 --- /dev/null +++ b/beta_20_fr.html @@ -0,0 +1,59 @@ + + + + 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..f986d691b --- /dev/null +++ b/beta_20_gr.html @@ -0,0 +1,55 @@ + + + + Ξενάγηση στη 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..82d614897 --- /dev/null +++ b/beta_20_hu.html @@ -0,0 +1,59 @@ + + + + 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..c574436ed --- /dev/null +++ b/beta_20_id.html @@ -0,0 +1,55 @@ + + + + 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..beb4263a1 --- /dev/null +++ b/beta_20_ie.html @@ -0,0 +1,53 @@ + + + + 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..2e0f82e20 --- /dev/null +++ b/beta_20_it.html @@ -0,0 +1,55 @@ + + + + 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..07e51731f --- /dev/null +++ b/beta_20_ja.html @@ -0,0 +1,56 @@ + + + + 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..ed6331396 --- /dev/null +++ b/beta_20_ko.html @@ -0,0 +1,57 @@ + + + + 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..a9f2b414b --- /dev/null +++ b/beta_20_pl.html @@ -0,0 +1,56 @@ + + + + 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..51bde0da3 --- /dev/null +++ b/beta_20_pt-br.html @@ -0,0 +1,56 @@ + + + + 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..d44d431be --- /dev/null +++ b/beta_20_ro.html @@ -0,0 +1,58 @@ + + + + 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..eae142cb9 --- /dev/null +++ b/beta_20_ru.html @@ -0,0 +1,58 @@ + + + + Тур по 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..81931b273 --- /dev/null +++ b/beta_20_th.html @@ -0,0 +1,56 @@ + + + + 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..be449fb93 --- /dev/null +++ b/beta_20_tr.html @@ -0,0 +1,55 @@ + + + + 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..7117a3e44 --- /dev/null +++ b/beta_20_ua.html @@ -0,0 +1,56 @@ + + + + Тур по 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..8eb9ab4a4 --- /dev/null +++ b/beta_20_vi.html @@ -0,0 +1,56 @@ + + + + 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..c8088e8c4 --- /dev/null +++ b/beta_20_zh-cn.html @@ -0,0 +1,57 @@ + + + + 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..d30433e76 --- /dev/null +++ b/beta_20_zh-tw.html @@ -0,0 +1,55 @@ + + + + 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_ar.html b/beta_21_ar.html new file mode 100644 index 000000000..8fb84ced0 --- /dev/null +++ b/beta_21_ar.html @@ -0,0 +1,51 @@ + + + + دورة تعلم رست (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..b14966b01 --- /dev/null +++ b/beta_21_de.html @@ -0,0 +1,56 @@ + + + + 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..868a0feab --- /dev/null +++ b/beta_21_en.html @@ -0,0 +1,55 @@ + + + + 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..1992ea795 --- /dev/null +++ b/beta_21_es.html @@ -0,0 +1,51 @@ + + + + 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..567460954 --- /dev/null +++ b/beta_21_fa.html @@ -0,0 +1,55 @@ + + + + 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..9e8f75066 --- /dev/null +++ b/beta_21_fi.html @@ -0,0 +1,54 @@ + + + + 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..728be2d40 --- /dev/null +++ b/beta_21_fr.html @@ -0,0 +1,54 @@ + + + + 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..322dea758 --- /dev/null +++ b/beta_21_gr.html @@ -0,0 +1,51 @@ + + + + Ξενάγηση στη 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..e63b89bc1 --- /dev/null +++ b/beta_21_hu.html @@ -0,0 +1,54 @@ + + + + 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..efdd9dce4 --- /dev/null +++ b/beta_21_id.html @@ -0,0 +1,51 @@ + + + + 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..aedb799a5 --- /dev/null +++ b/beta_21_ie.html @@ -0,0 +1,51 @@ + + + + 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..468039628 --- /dev/null +++ b/beta_21_it.html @@ -0,0 +1,52 @@ + + + + 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..664ece848 --- /dev/null +++ b/beta_21_ja.html @@ -0,0 +1,53 @@ + + + + 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..8ea1732c9 --- /dev/null +++ b/beta_21_ko.html @@ -0,0 +1,54 @@ + + + + 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..971919ca2 --- /dev/null +++ b/beta_21_pl.html @@ -0,0 +1,53 @@ + + + + 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..fe1c5a2e7 --- /dev/null +++ b/beta_21_pt-br.html @@ -0,0 +1,51 @@ + + + + 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..4eaf6a8c6 --- /dev/null +++ b/beta_21_ro.html @@ -0,0 +1,55 @@ + + + + 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..2d52a16d9 --- /dev/null +++ b/beta_21_ru.html @@ -0,0 +1,54 @@ + + + + Тур по 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..0848db277 --- /dev/null +++ b/beta_21_th.html @@ -0,0 +1,54 @@ + + + + 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..3615f781a --- /dev/null +++ b/beta_21_tr.html @@ -0,0 +1,52 @@ + + + + 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..19fd081cc --- /dev/null +++ b/beta_21_ua.html @@ -0,0 +1,53 @@ + + + + Тур по 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..3cd1334ad --- /dev/null +++ b/beta_21_vi.html @@ -0,0 +1,53 @@ + + + + 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..5df640cf2 --- /dev/null +++ b/beta_21_zh-cn.html @@ -0,0 +1,53 @@ + + + + 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..f99c53ed0 --- /dev/null +++ b/beta_21_zh-tw.html @@ -0,0 +1,51 @@ + + + + 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_ar.html b/beta_23_ar.html new file mode 100644 index 000000000..591702bbb --- /dev/null +++ b/beta_23_ar.html @@ -0,0 +1,55 @@ + + + + دورة تعلم رست (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..50cf101cd --- /dev/null +++ b/beta_23_de.html @@ -0,0 +1,55 @@ + + + + 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..3fbd225be --- /dev/null +++ b/beta_23_en.html @@ -0,0 +1,55 @@ + + + + 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..9ad5f410c --- /dev/null +++ b/beta_23_es.html @@ -0,0 +1,55 @@ + + + + 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..4f4ad862f --- /dev/null +++ b/beta_23_fa.html @@ -0,0 +1,55 @@ + + + + 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..9ee669004 --- /dev/null +++ b/beta_23_fr.html @@ -0,0 +1,57 @@ + + + + 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..79025c174 --- /dev/null +++ b/beta_23_gr.html @@ -0,0 +1,55 @@ + + + + Ξενάγηση στη 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..e6f0d91b0 --- /dev/null +++ b/beta_23_hu.html @@ -0,0 +1,57 @@ + + + + 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..6f8fa9ba0 --- /dev/null +++ b/beta_23_ie.html @@ -0,0 +1,55 @@ + + + + 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..b27b86890 --- /dev/null +++ b/beta_23_it.html @@ -0,0 +1,55 @@ + + + + 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..462897e7a --- /dev/null +++ b/beta_23_ja.html @@ -0,0 +1,55 @@ + + + + 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..e59367c3c --- /dev/null +++ b/beta_23_ko.html @@ -0,0 +1,55 @@ + + + + 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..35e3a9add --- /dev/null +++ b/beta_23_pl.html @@ -0,0 +1,55 @@ + + + + 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..2cb72cf24 --- /dev/null +++ b/beta_23_pt-br.html @@ -0,0 +1,55 @@ + + + + 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..90a705c03 --- /dev/null +++ b/beta_23_ro.html @@ -0,0 +1,55 @@ + + + + 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..1c0879bbf --- /dev/null +++ b/beta_23_ru.html @@ -0,0 +1,55 @@ + + + + Тур по 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..68887aea5 --- /dev/null +++ b/beta_23_th.html @@ -0,0 +1,56 @@ + + + + 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..1c06e5968 --- /dev/null +++ b/beta_23_tr.html @@ -0,0 +1,55 @@ + + + + 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..98a286e4d --- /dev/null +++ b/beta_23_ua.html @@ -0,0 +1,54 @@ + + + + Тур по 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..b3ee1680c --- /dev/null +++ b/beta_23_vi.html @@ -0,0 +1,55 @@ + + + + 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..c08a4d51a --- /dev/null +++ b/beta_23_zh-cn.html @@ -0,0 +1,55 @@ + + + + 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..e5e8fe745 --- /dev/null +++ b/beta_23_zh-tw.html @@ -0,0 +1,55 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

結構 (structures)

+

一個 struct 是一群欄位 (field) 的集合。

+

一個欄位 (field) 就只是一個在結構裡的數值。它的數值可以是最原始的型別,也可以是另一種資料結構。

+

它的定義就像是一張藍圖一樣,讓編譯器 (compiler) 可以在記憶體裡畫出欄位之間如何擺放。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_24_ar.html b/beta_24_ar.html new file mode 100644 index 000000000..fd24ef2e1 --- /dev/null +++ b/beta_24_ar.html @@ -0,0 +1,56 @@ + + + + دورة تعلم رست (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..1d3538b6d --- /dev/null +++ b/beta_24_de.html @@ -0,0 +1,57 @@ + + + + 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..df1facddf --- /dev/null +++ b/beta_24_en.html @@ -0,0 +1,56 @@ + + + + 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..68186a711 --- /dev/null +++ b/beta_24_es.html @@ -0,0 +1,56 @@ + + + + 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..287520819 --- /dev/null +++ b/beta_24_fa.html @@ -0,0 +1,56 @@ + + + + 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..1270f5724 --- /dev/null +++ b/beta_24_fr.html @@ -0,0 +1,57 @@ + + + + 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..e3d03a2c0 --- /dev/null +++ b/beta_24_gr.html @@ -0,0 +1,56 @@ + + + + Ξενάγηση στη 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..a0476a62c --- /dev/null +++ b/beta_24_hu.html @@ -0,0 +1,59 @@ + + + + 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..b7f1288c2 --- /dev/null +++ b/beta_24_ie.html @@ -0,0 +1,53 @@ + + + + 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..9d9e91b9a --- /dev/null +++ b/beta_24_it.html @@ -0,0 +1,56 @@ + + + + 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..d2bfcbc67 --- /dev/null +++ b/beta_24_ja.html @@ -0,0 +1,56 @@ + + + + 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..2cfd715ac --- /dev/null +++ b/beta_24_ko.html @@ -0,0 +1,56 @@ + + + + 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..930c6703e --- /dev/null +++ b/beta_24_pl.html @@ -0,0 +1,56 @@ + + + + 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..ceb99a345 --- /dev/null +++ b/beta_24_pt-br.html @@ -0,0 +1,56 @@ + + + + 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..2eef855dc --- /dev/null +++ b/beta_24_ro.html @@ -0,0 +1,56 @@ + + + + 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..07f59ab19 --- /dev/null +++ b/beta_24_ru.html @@ -0,0 +1,56 @@ + + + + Тур по 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..c9c3fe496 --- /dev/null +++ b/beta_24_th.html @@ -0,0 +1,56 @@ + + + + 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..a3492ce8e --- /dev/null +++ b/beta_24_tr.html @@ -0,0 +1,56 @@ + + + + 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..a17c93fda --- /dev/null +++ b/beta_24_ua.html @@ -0,0 +1,58 @@ + + + + Тур по 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..3e8f794b1 --- /dev/null +++ b/beta_24_vi.html @@ -0,0 +1,56 @@ + + + + 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..52a8a63bf --- /dev/null +++ b/beta_24_zh-cn.html @@ -0,0 +1,56 @@ + + + + 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..8081e5ac2 --- /dev/null +++ b/beta_24_zh-tw.html @@ -0,0 +1,56 @@ + + + + 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_ar.html b/beta_25_ar.html new file mode 100644 index 000000000..726213e26 --- /dev/null +++ b/beta_25_ar.html @@ -0,0 +1,56 @@ + + + + دورة تعلم رست (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..2d0b7b70c --- /dev/null +++ b/beta_25_de.html @@ -0,0 +1,66 @@ + + + + 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..77c3967cc --- /dev/null +++ b/beta_25_en.html @@ -0,0 +1,67 @@ + + + + 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..7988e3909 --- /dev/null +++ b/beta_25_es.html @@ -0,0 +1,66 @@ + + + + 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..6270f8436 --- /dev/null +++ b/beta_25_fa.html @@ -0,0 +1,67 @@ + + + + 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..05b526886 --- /dev/null +++ b/beta_25_fr.html @@ -0,0 +1,70 @@ + + + + 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..b0e351e4a --- /dev/null +++ b/beta_25_gr.html @@ -0,0 +1,56 @@ + + + + Ξενάγηση στη 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..d5448f9f0 --- /dev/null +++ b/beta_25_hu.html @@ -0,0 +1,68 @@ + + + + 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..18ed559a7 --- /dev/null +++ b/beta_25_ie.html @@ -0,0 +1,64 @@ + + + + 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..e312efd25 --- /dev/null +++ b/beta_25_it.html @@ -0,0 +1,59 @@ + + + + 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..8c00fb17b --- /dev/null +++ b/beta_25_ja.html @@ -0,0 +1,61 @@ + + + + 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..4a3429af7 --- /dev/null +++ b/beta_25_ko.html @@ -0,0 +1,65 @@ + + + + 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..a3ee0a816 --- /dev/null +++ b/beta_25_pl.html @@ -0,0 +1,69 @@ + + + + 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..84c86f7f1 --- /dev/null +++ b/beta_25_pt-br.html @@ -0,0 +1,56 @@ + + + + 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..dff6f03bb --- /dev/null +++ b/beta_25_ro.html @@ -0,0 +1,67 @@ + + + + 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..168817e6d --- /dev/null +++ b/beta_25_ru.html @@ -0,0 +1,66 @@ + + + + Тур по 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..2b115fe82 --- /dev/null +++ b/beta_25_th.html @@ -0,0 +1,66 @@ + + + + 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..344c85c72 --- /dev/null +++ b/beta_25_tr.html @@ -0,0 +1,65 @@ + + + + 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..8550925a9 --- /dev/null +++ b/beta_25_ua.html @@ -0,0 +1,61 @@ + + + + Тур по 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..7ed741b72 --- /dev/null +++ b/beta_25_vi.html @@ -0,0 +1,68 @@ + + + + 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..183192752 --- /dev/null +++ b/beta_25_zh-cn.html @@ -0,0 +1,62 @@ + + + + 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..809d9c4d9 --- /dev/null +++ b/beta_25_zh-tw.html @@ -0,0 +1,62 @@ + + + + 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_ar.html b/beta_26_ar.html new file mode 100644 index 000000000..6b644b311 --- /dev/null +++ b/beta_26_ar.html @@ -0,0 +1,63 @@ + + + + دورة تعلم رست (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..43e9a0e3a --- /dev/null +++ b/beta_26_de.html @@ -0,0 +1,72 @@ + + + + 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..3e8c5aff3 --- /dev/null +++ b/beta_26_en.html @@ -0,0 +1,73 @@ + + + + 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..1c889018e --- /dev/null +++ b/beta_26_es.html @@ -0,0 +1,72 @@ + + + + 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..98396e155 --- /dev/null +++ b/beta_26_fa.html @@ -0,0 +1,73 @@ + + + + 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..fba700b41 --- /dev/null +++ b/beta_26_fr.html @@ -0,0 +1,75 @@ + + + + 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..8323bf0b1 --- /dev/null +++ b/beta_26_gr.html @@ -0,0 +1,64 @@ + + + + Ξενάγηση στη 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..9dd17b07d --- /dev/null +++ b/beta_26_hu.html @@ -0,0 +1,75 @@ + + + + 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..6c2d8933a --- /dev/null +++ b/beta_26_ie.html @@ -0,0 +1,72 @@ + + + + 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..f16e9cdda --- /dev/null +++ b/beta_26_it.html @@ -0,0 +1,67 @@ + + + + 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..ad4a587ae --- /dev/null +++ b/beta_26_ja.html @@ -0,0 +1,69 @@ + + + + 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..0c54034ee --- /dev/null +++ b/beta_26_ko.html @@ -0,0 +1,72 @@ + + + + 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..10c6fa123 --- /dev/null +++ b/beta_26_pl.html @@ -0,0 +1,63 @@ + + + + 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..3865ea0ad --- /dev/null +++ b/beta_26_pt-br.html @@ -0,0 +1,68 @@ + + + + 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..52e6a046a --- /dev/null +++ b/beta_26_ro.html @@ -0,0 +1,72 @@ + + + + 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..e3c4b2e04 --- /dev/null +++ b/beta_26_ru.html @@ -0,0 +1,72 @@ + + + + Тур по 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..63c3a0ae8 --- /dev/null +++ b/beta_26_th.html @@ -0,0 +1,72 @@ + + + + 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..d19621aee --- /dev/null +++ b/beta_26_tr.html @@ -0,0 +1,70 @@ + + + + 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..8dfe384b9 --- /dev/null +++ b/beta_26_ua.html @@ -0,0 +1,68 @@ + + + + Тур по 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..8102450e6 --- /dev/null +++ b/beta_26_vi.html @@ -0,0 +1,74 @@ + + + + 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..a25d17691 --- /dev/null +++ b/beta_26_zh-cn.html @@ -0,0 +1,65 @@ + + + + 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..b937bb17b --- /dev/null +++ b/beta_26_zh-tw.html @@ -0,0 +1,69 @@ + + + + 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_ar.html b/beta_27_ar.html new file mode 100644 index 000000000..0bd878860 --- /dev/null +++ b/beta_27_ar.html @@ -0,0 +1,53 @@ + + + + دورة تعلم رست (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..284b3bf69 --- /dev/null +++ b/beta_27_de.html @@ -0,0 +1,53 @@ + + + + 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..62b409b24 --- /dev/null +++ b/beta_27_en.html @@ -0,0 +1,53 @@ + + + + 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..7b94303f4 --- /dev/null +++ b/beta_27_es.html @@ -0,0 +1,53 @@ + + + + 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..0c776f8eb --- /dev/null +++ b/beta_27_fa.html @@ -0,0 +1,53 @@ + + + + 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..b895f7ba1 --- /dev/null +++ b/beta_27_fr.html @@ -0,0 +1,53 @@ + + + + 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..dc2cd9803 --- /dev/null +++ b/beta_27_gr.html @@ -0,0 +1,53 @@ + + + + Ξενάγηση στη 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..6959f282d --- /dev/null +++ b/beta_27_hu.html @@ -0,0 +1,53 @@ + + + + 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..dc5ad23b0 --- /dev/null +++ b/beta_27_ie.html @@ -0,0 +1,53 @@ + + + + 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..f852672c9 --- /dev/null +++ b/beta_27_it.html @@ -0,0 +1,53 @@ + + + + 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..0e48b4ccd --- /dev/null +++ b/beta_27_ja.html @@ -0,0 +1,53 @@ + + + + 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..d71bd3d11 --- /dev/null +++ b/beta_27_ko.html @@ -0,0 +1,53 @@ + + + + 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..568463028 --- /dev/null +++ b/beta_27_pl.html @@ -0,0 +1,53 @@ + + + + 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..764926a27 --- /dev/null +++ b/beta_27_pt-br.html @@ -0,0 +1,53 @@ + + + + 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..65ba59df2 --- /dev/null +++ b/beta_27_ro.html @@ -0,0 +1,53 @@ + + + + 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..595b604fa --- /dev/null +++ b/beta_27_ru.html @@ -0,0 +1,53 @@ + + + + Тур по 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..595ac73dd --- /dev/null +++ b/beta_27_th.html @@ -0,0 +1,53 @@ + + + + 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..00428f2db --- /dev/null +++ b/beta_27_tr.html @@ -0,0 +1,53 @@ + + + + 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..7b23943bc --- /dev/null +++ b/beta_27_ua.html @@ -0,0 +1,53 @@ + + + + Тур по 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..e6c5ee3c6 --- /dev/null +++ b/beta_27_vi.html @@ -0,0 +1,53 @@ + + + + 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..49fe2b9fd --- /dev/null +++ b/beta_27_zh-cn.html @@ -0,0 +1,53 @@ + + + + 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..05ae4c785 --- /dev/null +++ b/beta_27_zh-tw.html @@ -0,0 +1,53 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

數組型結構 (tuple-like)

+

更簡潔的說,你可以產生用起來像數組 (tuple) 的結構。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_28_ar.html b/beta_28_ar.html new file mode 100644 index 000000000..c7cd40de8 --- /dev/null +++ b/beta_28_ar.html @@ -0,0 +1,55 @@ + + + + دورة تعلم رست (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..a6d6583ff --- /dev/null +++ b/beta_28_de.html @@ -0,0 +1,55 @@ + + + + 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..cf357dd1e --- /dev/null +++ b/beta_28_en.html @@ -0,0 +1,55 @@ + + + + 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..f2a2183ac --- /dev/null +++ b/beta_28_es.html @@ -0,0 +1,55 @@ + + + + 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..5610b7a49 --- /dev/null +++ b/beta_28_fa.html @@ -0,0 +1,55 @@ + + + + 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..d343270e0 --- /dev/null +++ b/beta_28_fr.html @@ -0,0 +1,56 @@ + + + + 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..7429d3025 --- /dev/null +++ b/beta_28_gr.html @@ -0,0 +1,55 @@ + + + + Ξενάγηση στη 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..9e33a6f90 --- /dev/null +++ b/beta_28_hu.html @@ -0,0 +1,56 @@ + + + + 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..40ea1a5dc --- /dev/null +++ b/beta_28_ie.html @@ -0,0 +1,55 @@ + + + + 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..92aeac0c1 --- /dev/null +++ b/beta_28_it.html @@ -0,0 +1,55 @@ + + + + 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..122963866 --- /dev/null +++ b/beta_28_ja.html @@ -0,0 +1,55 @@ + + + + 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..e83794243 --- /dev/null +++ b/beta_28_ko.html @@ -0,0 +1,55 @@ + + + + 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..f918bd017 --- /dev/null +++ b/beta_28_pl.html @@ -0,0 +1,55 @@ + + + + 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..7f44f7df2 --- /dev/null +++ b/beta_28_pt-br.html @@ -0,0 +1,56 @@ + + + + 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..8cab2fe53 --- /dev/null +++ b/beta_28_ro.html @@ -0,0 +1,55 @@ + + + + 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..6d1c0571e --- /dev/null +++ b/beta_28_ru.html @@ -0,0 +1,55 @@ + + + + Тур по 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..ecbe1bc91 --- /dev/null +++ b/beta_28_th.html @@ -0,0 +1,55 @@ + + + + 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..feb7c899e --- /dev/null +++ b/beta_28_tr.html @@ -0,0 +1,55 @@ + + + + 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..64b0261fd --- /dev/null +++ b/beta_28_ua.html @@ -0,0 +1,55 @@ + + + + Тур по 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..eb13cde0a --- /dev/null +++ b/beta_28_vi.html @@ -0,0 +1,55 @@ + + + + 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..27f3e9c60 --- /dev/null +++ b/beta_28_zh-cn.html @@ -0,0 +1,55 @@ + + + + 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..a3a36719a --- /dev/null +++ b/beta_28_zh-tw.html @@ -0,0 +1,55 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

單組型結構 (unit-like)

+

沒有任何欄位的結構即是單組 (unit)。

+

如同在第一章所提到的,一個單組 (unit) 即是空數組 () 的另一種說法。 這也是為什麼這類型的結構稱之為單組型 (unit-like)。

+

這類型的結構甚少使用。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_29_ar.html b/beta_29_ar.html new file mode 100644 index 000000000..94c78dc9b --- /dev/null +++ b/beta_29_ar.html @@ -0,0 +1,54 @@ + + + + دورة تعلم رست (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..6017eea5c --- /dev/null +++ b/beta_29_de.html @@ -0,0 +1,57 @@ + + + + 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..b0d586421 --- /dev/null +++ b/beta_29_en.html @@ -0,0 +1,54 @@ + + + + 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..0aa038513 --- /dev/null +++ b/beta_29_es.html @@ -0,0 +1,56 @@ + + + + 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..c5867a918 --- /dev/null +++ b/beta_29_fa.html @@ -0,0 +1,54 @@ + + + + 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..feef95312 --- /dev/null +++ b/beta_29_fr.html @@ -0,0 +1,57 @@ + + + + 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..b7500d9f3 --- /dev/null +++ b/beta_29_gr.html @@ -0,0 +1,54 @@ + + + + Ξενάγηση στη 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..65d944e1d --- /dev/null +++ b/beta_29_hu.html @@ -0,0 +1,58 @@ + + + + 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..9772fb231 --- /dev/null +++ b/beta_29_ie.html @@ -0,0 +1,56 @@ + + + + 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..9e8353594 --- /dev/null +++ b/beta_29_it.html @@ -0,0 +1,54 @@ + + + + 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..b18f4232c --- /dev/null +++ b/beta_29_ja.html @@ -0,0 +1,54 @@ + + + + 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..137939b12 --- /dev/null +++ b/beta_29_ko.html @@ -0,0 +1,54 @@ + + + + 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..a3d32ada0 --- /dev/null +++ b/beta_29_pl.html @@ -0,0 +1,54 @@ + + + + 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..08420739d --- /dev/null +++ b/beta_29_pt-br.html @@ -0,0 +1,54 @@ + + + + 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..6773b630d --- /dev/null +++ b/beta_29_ro.html @@ -0,0 +1,54 @@ + + + + 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..4cdf79434 --- /dev/null +++ b/beta_29_ru.html @@ -0,0 +1,54 @@ + + + + Тур по 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..4bd37d601 --- /dev/null +++ b/beta_29_th.html @@ -0,0 +1,54 @@ + + + + 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..31453dfe8 --- /dev/null +++ b/beta_29_tr.html @@ -0,0 +1,54 @@ + + + + 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..ed13e8bf5 --- /dev/null +++ b/beta_29_ua.html @@ -0,0 +1,54 @@ + + + + Тур по 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..1dccb1670 --- /dev/null +++ b/beta_29_vi.html @@ -0,0 +1,54 @@ + + + + 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..0a7404375 --- /dev/null +++ b/beta_29_zh-cn.html @@ -0,0 +1,54 @@ + + + + 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..762931fdf --- /dev/null +++ b/beta_29_zh-tw.html @@ -0,0 +1,54 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

列舉 (enumerations)

+

列舉允許你產生新的型別,此型別可以有多個被標記的元素,而這些元素使用 enum 關鍵字宣告。

+

match 徹底的保證所有可能的列舉數值都會被掌控,這使得它成為一個強大的工具用來保證有品質的程式碼。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_30_ar.html b/beta_30_ar.html new file mode 100644 index 000000000..e07b95c4e --- /dev/null +++ b/beta_30_ar.html @@ -0,0 +1,68 @@ + + + + دورة تعلم رست (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..0a45160d0 --- /dev/null +++ b/beta_30_de.html @@ -0,0 +1,65 @@ + + + + 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..e854839ea --- /dev/null +++ b/beta_30_en.html @@ -0,0 +1,64 @@ + + + + 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..debaeb0bb --- /dev/null +++ b/beta_30_es.html @@ -0,0 +1,66 @@ + + + + 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..d52351acb --- /dev/null +++ b/beta_30_fa.html @@ -0,0 +1,64 @@ + + + + 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..4b86048f0 --- /dev/null +++ b/beta_30_fr.html @@ -0,0 +1,69 @@ + + + + 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..262fe8586 --- /dev/null +++ b/beta_30_gr.html @@ -0,0 +1,64 @@ + + + + Ξενάγηση στη 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..780281c88 --- /dev/null +++ b/beta_30_hu.html @@ -0,0 +1,69 @@ + + + + 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..4ebb192db --- /dev/null +++ b/beta_30_ie.html @@ -0,0 +1,67 @@ + + + + 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..401971737 --- /dev/null +++ b/beta_30_it.html @@ -0,0 +1,64 @@ + + + + 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..08d19c120 --- /dev/null +++ b/beta_30_ja.html @@ -0,0 +1,64 @@ + + + + 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..58b22fa48 --- /dev/null +++ b/beta_30_ko.html @@ -0,0 +1,64 @@ + + + + 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..a82279c8a --- /dev/null +++ b/beta_30_pl.html @@ -0,0 +1,64 @@ + + + + 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..9712d9a35 --- /dev/null +++ b/beta_30_pt-br.html @@ -0,0 +1,64 @@ + + + + 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..a0e04cae5 --- /dev/null +++ b/beta_30_ro.html @@ -0,0 +1,64 @@ + + + + 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..6c9cf4143 --- /dev/null +++ b/beta_30_ru.html @@ -0,0 +1,64 @@ + + + + Тур по 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..3aa717146 --- /dev/null +++ b/beta_30_th.html @@ -0,0 +1,64 @@ + + + + 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..31a182021 --- /dev/null +++ b/beta_30_tr.html @@ -0,0 +1,64 @@ + + + + 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..90309f00b --- /dev/null +++ b/beta_30_ua.html @@ -0,0 +1,65 @@ + + + + Тур по 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..6586c652b --- /dev/null +++ b/beta_30_vi.html @@ -0,0 +1,64 @@ + + + + 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..90029096a --- /dev/null +++ b/beta_30_zh-cn.html @@ -0,0 +1,64 @@ + + + + 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..0efeea149 --- /dev/null +++ b/beta_30_zh-tw.html @@ -0,0 +1,64 @@ + + + + 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_ar.html b/beta_31_ar.html new file mode 100644 index 000000000..39b0f77ac --- /dev/null +++ b/beta_31_ar.html @@ -0,0 +1,51 @@ + + + + دورة تعلم رست (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..b359b05c8 --- /dev/null +++ b/beta_31_de.html @@ -0,0 +1,53 @@ + + + + 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..cb5b30bb6 --- /dev/null +++ b/beta_31_en.html @@ -0,0 +1,53 @@ + + + + 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..67515fc34 --- /dev/null +++ b/beta_31_es.html @@ -0,0 +1,54 @@ + + + + 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..b0e1af85d --- /dev/null +++ b/beta_31_fa.html @@ -0,0 +1,53 @@ + + + + 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..92d71c2f0 --- /dev/null +++ b/beta_31_fr.html @@ -0,0 +1,54 @@ + + + + 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..310309ac9 --- /dev/null +++ b/beta_31_gr.html @@ -0,0 +1,51 @@ + + + + Ξενάγηση στη 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..31835c067 --- /dev/null +++ b/beta_31_hu.html @@ -0,0 +1,55 @@ + + + + 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..cec07d38c --- /dev/null +++ b/beta_31_ie.html @@ -0,0 +1,54 @@ + + + + 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..6a93cd043 --- /dev/null +++ b/beta_31_it.html @@ -0,0 +1,51 @@ + + + + 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..de1ba8e23 --- /dev/null +++ b/beta_31_ja.html @@ -0,0 +1,52 @@ + + + + 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..627f19601 --- /dev/null +++ b/beta_31_ko.html @@ -0,0 +1,53 @@ + + + + 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..b156d9000 --- /dev/null +++ b/beta_31_pl.html @@ -0,0 +1,53 @@ + + + + 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..96295f6a5 --- /dev/null +++ b/beta_31_pt-br.html @@ -0,0 +1,52 @@ + + + + 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..d9e42e412 --- /dev/null +++ b/beta_31_ro.html @@ -0,0 +1,53 @@ + + + + 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..506f36d7e --- /dev/null +++ b/beta_31_ru.html @@ -0,0 +1,52 @@ + + + + Тур по 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..cd9ecf978 --- /dev/null +++ b/beta_31_th.html @@ -0,0 +1,51 @@ + + + + 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..7d090f86e --- /dev/null +++ b/beta_31_tr.html @@ -0,0 +1,52 @@ + + + + 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..f89684cfe --- /dev/null +++ b/beta_31_ua.html @@ -0,0 +1,52 @@ + + + + Тур по 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..5ebce2115 --- /dev/null +++ b/beta_31_vi.html @@ -0,0 +1,51 @@ + + + + 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..ddaf9ccfb --- /dev/null +++ b/beta_31_zh-cn.html @@ -0,0 +1,53 @@ + + + + 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..359fe8715 --- /dev/null +++ b/beta_31_zh-tw.html @@ -0,0 +1,51 @@ + + + + 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..bea93ec27 --- /dev/null +++ b/beta_33_ar.html @@ -0,0 +1,54 @@ + + + + دورة تعلم رست (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..5aab031b1 --- /dev/null +++ b/beta_33_de.html @@ -0,0 +1,57 @@ + + + + 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..913e97410 --- /dev/null +++ b/beta_33_en.html @@ -0,0 +1,56 @@ + + + + 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..60a6ee00a --- /dev/null +++ b/beta_33_es.html @@ -0,0 +1,57 @@ + + + + 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..e05e1b417 --- /dev/null +++ b/beta_33_fa.html @@ -0,0 +1,56 @@ + + + + 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..a79a9f43e --- /dev/null +++ b/beta_33_fr.html @@ -0,0 +1,57 @@ + + + + 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..74d4f87b4 --- /dev/null +++ b/beta_33_gr.html @@ -0,0 +1,54 @@ + + + + Ξενάγηση στη 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..7055c9f34 --- /dev/null +++ b/beta_33_hu.html @@ -0,0 +1,57 @@ + + + + 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..91d512b0a --- /dev/null +++ b/beta_33_ie.html @@ -0,0 +1,57 @@ + + + + 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..cba972b44 --- /dev/null +++ b/beta_33_it.html @@ -0,0 +1,54 @@ + + + + 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..e5af33674 --- /dev/null +++ b/beta_33_ja.html @@ -0,0 +1,57 @@ + + + + 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..12f5b818c --- /dev/null +++ b/beta_33_ko.html @@ -0,0 +1,56 @@ + + + + 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..018e2137f --- /dev/null +++ b/beta_33_pl.html @@ -0,0 +1,54 @@ + + + + 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..41ba4df03 --- /dev/null +++ b/beta_33_pt-br.html @@ -0,0 +1,54 @@ + + + + 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..2c8f9dad0 --- /dev/null +++ b/beta_33_ro.html @@ -0,0 +1,56 @@ + + + + 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..abf6dc09a --- /dev/null +++ b/beta_33_ru.html @@ -0,0 +1,56 @@ + + + + Тур по 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..a86247a8c --- /dev/null +++ b/beta_33_th.html @@ -0,0 +1,54 @@ + + + + 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..917d3ab8a --- /dev/null +++ b/beta_33_tr.html @@ -0,0 +1,54 @@ + + + + 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..ff15dec22 --- /dev/null +++ b/beta_33_ua.html @@ -0,0 +1,54 @@ + + + + Тур по 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..13144a231 --- /dev/null +++ b/beta_33_vi.html @@ -0,0 +1,54 @@ + + + + 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..c3ca42717 --- /dev/null +++ b/beta_33_zh-cn.html @@ -0,0 +1,55 @@ + + + + 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..cee4edd6e --- /dev/null +++ b/beta_33_zh-tw.html @@ -0,0 +1,54 @@ + + + + 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..228d9834b --- /dev/null +++ b/beta_34_ar.html @@ -0,0 +1,55 @@ + + + + دورة تعلم رست (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..78b5f7fae --- /dev/null +++ b/beta_34_en.html @@ -0,0 +1,59 @@ + + + + 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..a7b1541e5 --- /dev/null +++ b/beta_34_es.html @@ -0,0 +1,59 @@ + + + + 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..98b857957 --- /dev/null +++ b/beta_34_fa.html @@ -0,0 +1,59 @@ + + + + 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..225a3a913 --- /dev/null +++ b/beta_34_fr.html @@ -0,0 +1,60 @@ + + + + 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..6a988faae --- /dev/null +++ b/beta_34_gr.html @@ -0,0 +1,56 @@ + + + + Ξενάγηση στη 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..80327b208 --- /dev/null +++ b/beta_34_hu.html @@ -0,0 +1,62 @@ + + + + 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..7e48296b9 --- /dev/null +++ b/beta_34_ie.html @@ -0,0 +1,59 @@ + + + + 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..dee4c637b --- /dev/null +++ b/beta_34_it.html @@ -0,0 +1,58 @@ + + + + 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..0ddf3d2d1 --- /dev/null +++ b/beta_34_ja.html @@ -0,0 +1,58 @@ + + + + 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..bd97eb973 --- /dev/null +++ b/beta_34_ko.html @@ -0,0 +1,59 @@ + + + + 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..d596f7d84 --- /dev/null +++ b/beta_34_pl.html @@ -0,0 +1,57 @@ + + + + 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..6b481f0bb --- /dev/null +++ b/beta_34_pt-br.html @@ -0,0 +1,55 @@ + + + + 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..ded2e115b --- /dev/null +++ b/beta_34_ro.html @@ -0,0 +1,59 @@ + + + + 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..9ba81dd7c --- /dev/null +++ b/beta_34_ru.html @@ -0,0 +1,59 @@ + + + + Тур по 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..4dbcfdfa6 --- /dev/null +++ b/beta_34_th.html @@ -0,0 +1,55 @@ + + + + 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..ee1b52791 --- /dev/null +++ b/beta_34_tr.html @@ -0,0 +1,55 @@ + + + + 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..d0a30f14b --- /dev/null +++ b/beta_34_ua.html @@ -0,0 +1,56 @@ + + + + Тур по 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..e0ba47e3c --- /dev/null +++ b/beta_34_vi.html @@ -0,0 +1,55 @@ + + + + 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..e11324021 --- /dev/null +++ b/beta_34_zh-cn.html @@ -0,0 +1,56 @@ + + + + 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..9ccd7044a --- /dev/null +++ b/beta_34_zh-tw.html @@ -0,0 +1,55 @@ + + + + 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..6b4d82a6a --- /dev/null +++ b/beta_35_ar.html @@ -0,0 +1,59 @@ + + + + دورة تعلم رست (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..937934b6c --- /dev/null +++ b/beta_35_en.html @@ -0,0 +1,60 @@ + + + + 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..21bee461a --- /dev/null +++ b/beta_35_es.html @@ -0,0 +1,61 @@ + + + + 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..2a3cd7c04 --- /dev/null +++ b/beta_35_fa.html @@ -0,0 +1,60 @@ + + + + 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..c295ac6b0 --- /dev/null +++ b/beta_35_fr.html @@ -0,0 +1,60 @@ + + + + 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..2760d6523 --- /dev/null +++ b/beta_35_gr.html @@ -0,0 +1,59 @@ + + + + Ξενάγηση στη 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..f7d10857c --- /dev/null +++ b/beta_35_hu.html @@ -0,0 +1,61 @@ + + + + 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..cd6561257 --- /dev/null +++ b/beta_35_ie.html @@ -0,0 +1,60 @@ + + + + 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..b60268509 --- /dev/null +++ b/beta_35_it.html @@ -0,0 +1,59 @@ + + + + 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..7c8b467dc --- /dev/null +++ b/beta_35_ja.html @@ -0,0 +1,59 @@ + + + + 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..24cc34ba4 --- /dev/null +++ b/beta_35_ko.html @@ -0,0 +1,60 @@ + + + + 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..1a8a83ec6 --- /dev/null +++ b/beta_35_pl.html @@ -0,0 +1,59 @@ + + + + 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..2b9fc2d87 --- /dev/null +++ b/beta_35_pt-br.html @@ -0,0 +1,59 @@ + + + + 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..8eaa45f09 --- /dev/null +++ b/beta_35_ro.html @@ -0,0 +1,60 @@ + + + + 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..1c532e6ed --- /dev/null +++ b/beta_35_ru.html @@ -0,0 +1,61 @@ + + + + Тур по 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..a7c63c95c --- /dev/null +++ b/beta_35_th.html @@ -0,0 +1,59 @@ + + + + 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..f47b7e725 --- /dev/null +++ b/beta_35_tr.html @@ -0,0 +1,58 @@ + + + + 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..e5460165e --- /dev/null +++ b/beta_35_ua.html @@ -0,0 +1,59 @@ + + + + Тур по 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..28b523cd3 --- /dev/null +++ b/beta_35_vi.html @@ -0,0 +1,59 @@ + + + + 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..b60a09f71 --- /dev/null +++ b/beta_35_zh-cn.html @@ -0,0 +1,59 @@ + + + + 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..b5ce5196f --- /dev/null +++ b/beta_35_zh-tw.html @@ -0,0 +1,59 @@ + + + + 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..fd06f940f --- /dev/null +++ b/beta_36_ar.html @@ -0,0 +1,60 @@ + + + + دورة تعلم رست (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..e3098f694 --- /dev/null +++ b/beta_36_en.html @@ -0,0 +1,61 @@ + + + + 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..adb8df4ba --- /dev/null +++ b/beta_36_es.html @@ -0,0 +1,63 @@ + + + + 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..5aaa5b007 --- /dev/null +++ b/beta_36_fa.html @@ -0,0 +1,61 @@ + + + + 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..f2550d7ee --- /dev/null +++ b/beta_36_fr.html @@ -0,0 +1,61 @@ + + + + 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..0e952a245 --- /dev/null +++ b/beta_36_gr.html @@ -0,0 +1,60 @@ + + + + Ξενάγηση στη 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..d9093e767 --- /dev/null +++ b/beta_36_hu.html @@ -0,0 +1,65 @@ + + + + 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..9342a0e92 --- /dev/null +++ b/beta_36_ie.html @@ -0,0 +1,61 @@ + + + + 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..45632998e --- /dev/null +++ b/beta_36_it.html @@ -0,0 +1,61 @@ + + + + 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..13f979456 --- /dev/null +++ b/beta_36_ja.html @@ -0,0 +1,61 @@ + + + + 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..298b790b5 --- /dev/null +++ b/beta_36_ko.html @@ -0,0 +1,61 @@ + + + + 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..4692fb9cd --- /dev/null +++ b/beta_36_pl.html @@ -0,0 +1,61 @@ + + + + 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..b9ef0d2c9 --- /dev/null +++ b/beta_36_pt-br.html @@ -0,0 +1,61 @@ + + + + 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..df7f0cb9f --- /dev/null +++ b/beta_36_ro.html @@ -0,0 +1,61 @@ + + + + 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..765f9bcaf --- /dev/null +++ b/beta_36_ru.html @@ -0,0 +1,62 @@ + + + + Тур по 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..a1cc4df55 --- /dev/null +++ b/beta_36_th.html @@ -0,0 +1,60 @@ + + + + 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..1913789ac --- /dev/null +++ b/beta_36_tr.html @@ -0,0 +1,59 @@ + + + + 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..27147fd46 --- /dev/null +++ b/beta_36_ua.html @@ -0,0 +1,60 @@ + + + + Тур по 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..f76241bfd --- /dev/null +++ b/beta_36_vi.html @@ -0,0 +1,60 @@ + + + + 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..28acf828c --- /dev/null +++ b/beta_36_zh-cn.html @@ -0,0 +1,61 @@ + + + + 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..385fa1ecf --- /dev/null +++ b/beta_36_zh-tw.html @@ -0,0 +1,60 @@ + + + + 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..06307ec47 --- /dev/null +++ b/beta_37_ar.html @@ -0,0 +1,53 @@ + + + + دورة تعلم رست (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..5b2e90a2f --- /dev/null +++ b/beta_37_en.html @@ -0,0 +1,53 @@ + + + + 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..d6e879496 --- /dev/null +++ b/beta_37_es.html @@ -0,0 +1,53 @@ + + + + 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..9eeadda49 --- /dev/null +++ b/beta_37_fa.html @@ -0,0 +1,53 @@ + + + + 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..86a965867 --- /dev/null +++ b/beta_37_fr.html @@ -0,0 +1,53 @@ + + + + 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..63b9eed9f --- /dev/null +++ b/beta_37_gr.html @@ -0,0 +1,53 @@ + + + + Ξενάγηση στη 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..c14caaa82 --- /dev/null +++ b/beta_37_hu.html @@ -0,0 +1,53 @@ + + + + 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..eb091ac57 --- /dev/null +++ b/beta_37_ie.html @@ -0,0 +1,53 @@ + + + + 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..1daf64bcd --- /dev/null +++ b/beta_37_it.html @@ -0,0 +1,53 @@ + + + + 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..e13e9ba97 --- /dev/null +++ b/beta_37_ja.html @@ -0,0 +1,53 @@ + + + + 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..2d4d330a4 --- /dev/null +++ b/beta_37_ko.html @@ -0,0 +1,53 @@ + + + + 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..cdad32f5d --- /dev/null +++ b/beta_37_pl.html @@ -0,0 +1,53 @@ + + + + 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..79aece071 --- /dev/null +++ b/beta_37_pt-br.html @@ -0,0 +1,53 @@ + + + + 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..ee73fa96c --- /dev/null +++ b/beta_37_ro.html @@ -0,0 +1,53 @@ + + + + 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..8f2310ad4 --- /dev/null +++ b/beta_37_ru.html @@ -0,0 +1,53 @@ + + + + Тур по 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..5e0cb83d0 --- /dev/null +++ b/beta_37_th.html @@ -0,0 +1,53 @@ + + + + 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..98319e88f --- /dev/null +++ b/beta_37_tr.html @@ -0,0 +1,53 @@ + + + + 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..1aa5313ba --- /dev/null +++ b/beta_37_ua.html @@ -0,0 +1,53 @@ + + + + Тур по 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..66d364dce --- /dev/null +++ b/beta_37_vi.html @@ -0,0 +1,53 @@ + + + + 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..6e30e9e80 --- /dev/null +++ b/beta_37_zh-cn.html @@ -0,0 +1,53 @@ + + + + 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..bd27507d3 --- /dev/null +++ b/beta_37_zh-tw.html @@ -0,0 +1,53 @@ + + + + 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..73cd90c81 --- /dev/null +++ b/beta_38_ar.html @@ -0,0 +1,60 @@ + + + + دورة تعلم رست (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..cd58d9ddf --- /dev/null +++ b/beta_38_en.html @@ -0,0 +1,60 @@ + + + + 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..6bd2dd162 --- /dev/null +++ b/beta_38_es.html @@ -0,0 +1,61 @@ + + + + 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..e84f83b82 --- /dev/null +++ b/beta_38_fa.html @@ -0,0 +1,60 @@ + + + + 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..70014435c --- /dev/null +++ b/beta_38_fr.html @@ -0,0 +1,60 @@ + + + + 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..33a4cecde --- /dev/null +++ b/beta_38_gr.html @@ -0,0 +1,61 @@ + + + + Ξενάγηση στη 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..d129f12d1 --- /dev/null +++ b/beta_38_hu.html @@ -0,0 +1,61 @@ + + + + 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..1ae051761 --- /dev/null +++ b/beta_38_ie.html @@ -0,0 +1,60 @@ + + + + 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..0912b2d5c --- /dev/null +++ b/beta_38_it.html @@ -0,0 +1,60 @@ + + + + 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..83ae2757f --- /dev/null +++ b/beta_38_ja.html @@ -0,0 +1,61 @@ + + + + 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..9fb39aa34 --- /dev/null +++ b/beta_38_ko.html @@ -0,0 +1,60 @@ + + + + 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..3ca1c11cd --- /dev/null +++ b/beta_38_pl.html @@ -0,0 +1,60 @@ + + + + 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..73d6b2180 --- /dev/null +++ b/beta_38_pt-br.html @@ -0,0 +1,60 @@ + + + + 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..f34f58763 --- /dev/null +++ b/beta_38_ro.html @@ -0,0 +1,60 @@ + + + + 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..5f50619f0 --- /dev/null +++ b/beta_38_ru.html @@ -0,0 +1,60 @@ + + + + Тур по 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..bb3494a39 --- /dev/null +++ b/beta_38_th.html @@ -0,0 +1,60 @@ + + + + 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..c5ef4051a --- /dev/null +++ b/beta_38_tr.html @@ -0,0 +1,58 @@ + + + + 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..0be36bfbb --- /dev/null +++ b/beta_38_ua.html @@ -0,0 +1,60 @@ + + + + Тур по 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..a97721ea9 --- /dev/null +++ b/beta_38_vi.html @@ -0,0 +1,60 @@ + + + + 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..38f2c4588 --- /dev/null +++ b/beta_38_zh-cn.html @@ -0,0 +1,61 @@ + + + + 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..c7ec8d3ba --- /dev/null +++ b/beta_38_zh-tw.html @@ -0,0 +1,60 @@ + + + + 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..b7949959f --- /dev/null +++ b/beta_39_ar.html @@ -0,0 +1,74 @@ + + + + دورة تعلم رست (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..36d2e62ce --- /dev/null +++ b/beta_39_en.html @@ -0,0 +1,75 @@ + + + + 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..8b2f5c2c2 --- /dev/null +++ b/beta_39_es.html @@ -0,0 +1,76 @@ + + + + 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..082b64c71 --- /dev/null +++ b/beta_39_fa.html @@ -0,0 +1,75 @@ + + + + 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..ef0829f86 --- /dev/null +++ b/beta_39_fr.html @@ -0,0 +1,78 @@ + + + + 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..9dbd87511 --- /dev/null +++ b/beta_39_gr.html @@ -0,0 +1,74 @@ + + + + Ξενάγηση στη 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..85221ae47 --- /dev/null +++ b/beta_39_hu.html @@ -0,0 +1,78 @@ + + + + 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..fb283ea3a --- /dev/null +++ b/beta_39_ie.html @@ -0,0 +1,75 @@ + + + + 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..a2b09b312 --- /dev/null +++ b/beta_39_it.html @@ -0,0 +1,75 @@ + + + + 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..30572f691 --- /dev/null +++ b/beta_39_ja.html @@ -0,0 +1,76 @@ + + + + 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..e25422ce0 --- /dev/null +++ b/beta_39_ko.html @@ -0,0 +1,75 @@ + + + + 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..af3e1aa14 --- /dev/null +++ b/beta_39_pl.html @@ -0,0 +1,72 @@ + + + + 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..886d5e9df --- /dev/null +++ b/beta_39_pt-br.html @@ -0,0 +1,74 @@ + + + + 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..f04d09c3d --- /dev/null +++ b/beta_39_ro.html @@ -0,0 +1,75 @@ + + + + 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..b486549ae --- /dev/null +++ b/beta_39_ru.html @@ -0,0 +1,75 @@ + + + + Тур по 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..0b2c1ecbe --- /dev/null +++ b/beta_39_th.html @@ -0,0 +1,74 @@ + + + + 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..5985b2c4d --- /dev/null +++ b/beta_39_tr.html @@ -0,0 +1,75 @@ + + + + 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..680013cf8 --- /dev/null +++ b/beta_39_ua.html @@ -0,0 +1,74 @@ + + + + Тур по 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..2f8981db7 --- /dev/null +++ b/beta_39_vi.html @@ -0,0 +1,74 @@ + + + + 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..1293edcc0 --- /dev/null +++ b/beta_39_zh-cn.html @@ -0,0 +1,76 @@ + + + + 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..15c18de50 --- /dev/null +++ b/beta_39_zh-tw.html @@ -0,0 +1,74 @@ + + + + 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..d7485947a --- /dev/null +++ b/beta_40_ar.html @@ -0,0 +1,61 @@ + + + + دورة تعلم رست (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..cc46d23e9 --- /dev/null +++ b/beta_40_en.html @@ -0,0 +1,63 @@ + + + + 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..c1d8fc34d --- /dev/null +++ b/beta_40_es.html @@ -0,0 +1,64 @@ + + + + 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..5a73d0cc8 --- /dev/null +++ b/beta_40_fa.html @@ -0,0 +1,63 @@ + + + + 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..11b1d6554 --- /dev/null +++ b/beta_40_fr.html @@ -0,0 +1,63 @@ + + + + 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..28528c0f9 --- /dev/null +++ b/beta_40_gr.html @@ -0,0 +1,60 @@ + + + + Ξενάγηση στη 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..a75c8e2cc --- /dev/null +++ b/beta_40_hu.html @@ -0,0 +1,66 @@ + + + + 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..57f4d7079 --- /dev/null +++ b/beta_40_ie.html @@ -0,0 +1,63 @@ + + + + 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..60f252f69 --- /dev/null +++ b/beta_40_it.html @@ -0,0 +1,60 @@ + + + + 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..5ed4cfe0e --- /dev/null +++ b/beta_40_ja.html @@ -0,0 +1,63 @@ + + + + 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..6edbed3e4 --- /dev/null +++ b/beta_40_ko.html @@ -0,0 +1,63 @@ + + + + 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..353b65157 --- /dev/null +++ b/beta_40_pl.html @@ -0,0 +1,61 @@ + + + + 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..fdbdc5bd1 --- /dev/null +++ b/beta_40_pt-br.html @@ -0,0 +1,60 @@ + + + + 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..6f877f7af --- /dev/null +++ b/beta_40_ro.html @@ -0,0 +1,63 @@ + + + + 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..e08baf7c5 --- /dev/null +++ b/beta_40_ru.html @@ -0,0 +1,60 @@ + + + + Тур по 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..24ff7b7ff --- /dev/null +++ b/beta_40_th.html @@ -0,0 +1,61 @@ + + + + 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..1f37e7f96 --- /dev/null +++ b/beta_40_tr.html @@ -0,0 +1,60 @@ + + + + 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..2b8e63b56 --- /dev/null +++ b/beta_40_ua.html @@ -0,0 +1,60 @@ + + + + Тур по 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..460e07d75 --- /dev/null +++ b/beta_40_vi.html @@ -0,0 +1,60 @@ + + + + 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..05a13b153 --- /dev/null +++ b/beta_40_zh-cn.html @@ -0,0 +1,60 @@ + + + + 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..a23e7e36e --- /dev/null +++ b/beta_40_zh-tw.html @@ -0,0 +1,60 @@ + + + + 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..ac3615093 --- /dev/null +++ b/beta_41_ar.html @@ -0,0 +1,51 @@ + + + + دورة تعلم رست (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..72cc7ffcc --- /dev/null +++ b/beta_41_en.html @@ -0,0 +1,54 @@ + + + + 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..af64618fe --- /dev/null +++ b/beta_41_es.html @@ -0,0 +1,54 @@ + + + + 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..efed1678a --- /dev/null +++ b/beta_41_fa.html @@ -0,0 +1,54 @@ + + + + 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..6e29b0ad6 --- /dev/null +++ b/beta_41_fr.html @@ -0,0 +1,55 @@ + + + + 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..0b5f90c1d --- /dev/null +++ b/beta_41_gr.html @@ -0,0 +1,51 @@ + + + + Ξενάγηση στη 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..02b16b10b --- /dev/null +++ b/beta_41_hu.html @@ -0,0 +1,54 @@ + + + + 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..c23221bd4 --- /dev/null +++ b/beta_41_ie.html @@ -0,0 +1,55 @@ + + + + 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..ce0cf2014 --- /dev/null +++ b/beta_41_it.html @@ -0,0 +1,54 @@ + + + + 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..84015f774 --- /dev/null +++ b/beta_41_ja.html @@ -0,0 +1,55 @@ + + + + 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..b297aa1fe --- /dev/null +++ b/beta_41_ko.html @@ -0,0 +1,54 @@ + + + + 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..fb9092be5 --- /dev/null +++ b/beta_41_pl.html @@ -0,0 +1,53 @@ + + + + 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..5d72c198a --- /dev/null +++ b/beta_41_pt-br.html @@ -0,0 +1,51 @@ + + + + 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..a153ed0b3 --- /dev/null +++ b/beta_41_ro.html @@ -0,0 +1,54 @@ + + + + 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..6b889c454 --- /dev/null +++ b/beta_41_ru.html @@ -0,0 +1,54 @@ + + + + Тур по 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..dce347dea --- /dev/null +++ b/beta_41_th.html @@ -0,0 +1,52 @@ + + + + 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..1d8226587 --- /dev/null +++ b/beta_41_tr.html @@ -0,0 +1,51 @@ + + + + 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..9c8274a8d --- /dev/null +++ b/beta_41_ua.html @@ -0,0 +1,52 @@ + + + + Тур по 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..923fce502 --- /dev/null +++ b/beta_41_vi.html @@ -0,0 +1,51 @@ + + + + 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..c3642c4a7 --- /dev/null +++ b/beta_41_zh-cn.html @@ -0,0 +1,53 @@ + + + + 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..e11e1338c --- /dev/null +++ b/beta_41_zh-tw.html @@ -0,0 +1,52 @@ + + + + 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..8ea998878 --- /dev/null +++ b/beta_43_ar.html @@ -0,0 +1,53 @@ + + + + دورة تعلم رست (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..125f36322 --- /dev/null +++ b/beta_43_de.html @@ -0,0 +1,54 @@ + + + + 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..f075b9b00 --- /dev/null +++ b/beta_43_en.html @@ -0,0 +1,54 @@ + + + + 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..473c7cb35 --- /dev/null +++ b/beta_43_es.html @@ -0,0 +1,53 @@ + + + + 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..31b978791 --- /dev/null +++ b/beta_43_fa.html @@ -0,0 +1,54 @@ + + + + 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..fe437fe5f --- /dev/null +++ b/beta_43_fr.html @@ -0,0 +1,55 @@ + + + + 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..b5629886c --- /dev/null +++ b/beta_43_gr.html @@ -0,0 +1,53 @@ + + + + Ξενάγηση στη 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..c124baf65 --- /dev/null +++ b/beta_43_hu.html @@ -0,0 +1,55 @@ + + + + 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..d77749780 --- /dev/null +++ b/beta_43_ie.html @@ -0,0 +1,54 @@ + + + + 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..539772497 --- /dev/null +++ b/beta_43_it.html @@ -0,0 +1,54 @@ + + + + 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..bce2a5ea8 --- /dev/null +++ b/beta_43_ja.html @@ -0,0 +1,54 @@ + + + + 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..fc0f21503 --- /dev/null +++ b/beta_43_ko.html @@ -0,0 +1,55 @@ + + + + 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..c015fd5ca --- /dev/null +++ b/beta_43_pl.html @@ -0,0 +1,54 @@ + + + + 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..ed0c4f4a6 --- /dev/null +++ b/beta_43_pt-br.html @@ -0,0 +1,53 @@ + + + + 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..2e0af6a2f --- /dev/null +++ b/beta_43_ro.html @@ -0,0 +1,54 @@ + + + + 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..cd7f12e94 --- /dev/null +++ b/beta_43_ru.html @@ -0,0 +1,53 @@ + + + + Тур по 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..6e58c77c7 --- /dev/null +++ b/beta_43_th.html @@ -0,0 +1,53 @@ + + + + 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..a416feaa1 --- /dev/null +++ b/beta_43_tr.html @@ -0,0 +1,53 @@ + + + + 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..787d32b9a --- /dev/null +++ b/beta_43_ua.html @@ -0,0 +1,54 @@ + + + + Тур по 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..88aaf2f42 --- /dev/null +++ b/beta_43_vi.html @@ -0,0 +1,53 @@ + + + + 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..2393f5ef2 --- /dev/null +++ b/beta_43_zh-cn.html @@ -0,0 +1,53 @@ + + + + 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..648d06c80 --- /dev/null +++ b/beta_43_zh-tw.html @@ -0,0 +1,53 @@ + + + + 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..5813d74ed --- /dev/null +++ b/beta_44_ar.html @@ -0,0 +1,59 @@ + + + + دورة تعلم رست (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..9fef87ec0 --- /dev/null +++ b/beta_44_de.html @@ -0,0 +1,59 @@ + + + + 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..6427da204 --- /dev/null +++ b/beta_44_en.html @@ -0,0 +1,59 @@ + + + + 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..38efdb0cc --- /dev/null +++ b/beta_44_es.html @@ -0,0 +1,60 @@ + + + + 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..8007d81e1 --- /dev/null +++ b/beta_44_fa.html @@ -0,0 +1,59 @@ + + + + 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..e899000e7 --- /dev/null +++ b/beta_44_fr.html @@ -0,0 +1,60 @@ + + + + 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..11e018342 --- /dev/null +++ b/beta_44_gr.html @@ -0,0 +1,58 @@ + + + + Ξενάγηση στη 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..cb138513c --- /dev/null +++ b/beta_44_hu.html @@ -0,0 +1,60 @@ + + + + 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..ee31b01e2 --- /dev/null +++ b/beta_44_ie.html @@ -0,0 +1,59 @@ + + + + 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..7476cdf36 --- /dev/null +++ b/beta_44_it.html @@ -0,0 +1,59 @@ + + + + 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..40c73f2f1 --- /dev/null +++ b/beta_44_ja.html @@ -0,0 +1,59 @@ + + + + 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..869aca2bf --- /dev/null +++ b/beta_44_ko.html @@ -0,0 +1,59 @@ + + + + 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..a03f00e3e --- /dev/null +++ b/beta_44_pl.html @@ -0,0 +1,62 @@ + + + + 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..fd7dfd5a5 --- /dev/null +++ b/beta_44_pt-br.html @@ -0,0 +1,59 @@ + + + + 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..35c76f97e --- /dev/null +++ b/beta_44_ro.html @@ -0,0 +1,59 @@ + + + + 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..7e577fbd8 --- /dev/null +++ b/beta_44_ru.html @@ -0,0 +1,59 @@ + + + + Тур по 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..b8c462cbd --- /dev/null +++ b/beta_44_th.html @@ -0,0 +1,59 @@ + + + + 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..96d2b8092 --- /dev/null +++ b/beta_44_tr.html @@ -0,0 +1,59 @@ + + + + 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..d9479e9ef --- /dev/null +++ b/beta_44_ua.html @@ -0,0 +1,62 @@ + + + + Тур по 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..e4a1661ec --- /dev/null +++ b/beta_44_vi.html @@ -0,0 +1,60 @@ + + + + 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..897f45bf8 --- /dev/null +++ b/beta_44_zh-cn.html @@ -0,0 +1,58 @@ + + + + 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..f6cba7889 --- /dev/null +++ b/beta_44_zh-tw.html @@ -0,0 +1,59 @@ + + + + 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..5dd094d30 --- /dev/null +++ b/beta_45_ar.html @@ -0,0 +1,58 @@ + + + + دورة تعلم رست (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..f1ceb6450 --- /dev/null +++ b/beta_45_de.html @@ -0,0 +1,58 @@ + + + + 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..129b07de6 --- /dev/null +++ b/beta_45_en.html @@ -0,0 +1,58 @@ + + + + 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..b4a6a54b5 --- /dev/null +++ b/beta_45_es.html @@ -0,0 +1,58 @@ + + + + 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..1323af299 --- /dev/null +++ b/beta_45_fa.html @@ -0,0 +1,58 @@ + + + + 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..ed0e3f698 --- /dev/null +++ b/beta_45_fr.html @@ -0,0 +1,59 @@ + + + + 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..a2ece2c18 --- /dev/null +++ b/beta_45_gr.html @@ -0,0 +1,58 @@ + + + + Ξενάγηση στη 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..cb2edcbc4 --- /dev/null +++ b/beta_45_hu.html @@ -0,0 +1,60 @@ + + + + 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..a4d006ae3 --- /dev/null +++ b/beta_45_ie.html @@ -0,0 +1,58 @@ + + + + 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..0324a2a4f --- /dev/null +++ b/beta_45_it.html @@ -0,0 +1,58 @@ + + + + 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..4cf434a5f --- /dev/null +++ b/beta_45_ja.html @@ -0,0 +1,58 @@ + + + + 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..80973d730 --- /dev/null +++ b/beta_45_ko.html @@ -0,0 +1,58 @@ + + + + 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..6df1d994e --- /dev/null +++ b/beta_45_pl.html @@ -0,0 +1,58 @@ + + + + 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..d8cde379b --- /dev/null +++ b/beta_45_pt-br.html @@ -0,0 +1,58 @@ + + + + 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..76413e2e1 --- /dev/null +++ b/beta_45_ro.html @@ -0,0 +1,58 @@ + + + + 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..ff16207fd --- /dev/null +++ b/beta_45_ru.html @@ -0,0 +1,58 @@ + + + + Тур по 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..d4b06f365 --- /dev/null +++ b/beta_45_th.html @@ -0,0 +1,58 @@ + + + + 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..56b3c1f91 --- /dev/null +++ b/beta_45_tr.html @@ -0,0 +1,58 @@ + + + + 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..808e1ed9b --- /dev/null +++ b/beta_45_ua.html @@ -0,0 +1,58 @@ + + + + Тур по 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..cb36e57b7 --- /dev/null +++ b/beta_45_vi.html @@ -0,0 +1,58 @@ + + + + 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..9d72484f4 --- /dev/null +++ b/beta_45_zh-cn.html @@ -0,0 +1,58 @@ + + + + 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..1e48d0002 --- /dev/null +++ b/beta_45_zh-tw.html @@ -0,0 +1,58 @@ + + + + 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..83db9c4c4 --- /dev/null +++ b/beta_46_ar.html @@ -0,0 +1,58 @@ + + + + دورة تعلم رست (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..393935f1f --- /dev/null +++ b/beta_46_de.html @@ -0,0 +1,58 @@ + + + + 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..7082d12c2 --- /dev/null +++ b/beta_46_en.html @@ -0,0 +1,58 @@ + + + + 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..94bdb9845 --- /dev/null +++ b/beta_46_es.html @@ -0,0 +1,58 @@ + + + + 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..a054d3f5f --- /dev/null +++ b/beta_46_fa.html @@ -0,0 +1,58 @@ + + + + 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..3ebb193b8 --- /dev/null +++ b/beta_46_fr.html @@ -0,0 +1,58 @@ + + + + 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..39208212e --- /dev/null +++ b/beta_46_gr.html @@ -0,0 +1,59 @@ + + + + Ξενάγηση στη 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..537280ab3 --- /dev/null +++ b/beta_46_hu.html @@ -0,0 +1,60 @@ + + + + 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..8db49b19c --- /dev/null +++ b/beta_46_ie.html @@ -0,0 +1,59 @@ + + + + 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..624b5d0c1 --- /dev/null +++ b/beta_46_it.html @@ -0,0 +1,58 @@ + + + + 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..dab11c881 --- /dev/null +++ b/beta_46_ja.html @@ -0,0 +1,58 @@ + + + + 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..61d5eba44 --- /dev/null +++ b/beta_46_ko.html @@ -0,0 +1,58 @@ + + + + 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..11446e748 --- /dev/null +++ b/beta_46_pl.html @@ -0,0 +1,58 @@ + + + + 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..7bd482fce --- /dev/null +++ b/beta_46_pt-br.html @@ -0,0 +1,58 @@ + + + + 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..13cbb11e5 --- /dev/null +++ b/beta_46_ro.html @@ -0,0 +1,58 @@ + + + + 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..6048beb14 --- /dev/null +++ b/beta_46_ru.html @@ -0,0 +1,58 @@ + + + + Тур по 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..af4800c1d --- /dev/null +++ b/beta_46_th.html @@ -0,0 +1,58 @@ + + + + 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..c580efcde --- /dev/null +++ b/beta_46_tr.html @@ -0,0 +1,58 @@ + + + + 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..90dd2c0b2 --- /dev/null +++ b/beta_46_ua.html @@ -0,0 +1,58 @@ + + + + Тур по 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..024a06313 --- /dev/null +++ b/beta_46_vi.html @@ -0,0 +1,58 @@ + + + + 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..9551b53a0 --- /dev/null +++ b/beta_46_zh-cn.html @@ -0,0 +1,57 @@ + + + + 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..fc58ce926 --- /dev/null +++ b/beta_46_zh-tw.html @@ -0,0 +1,58 @@ + + + + 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..7af02625d --- /dev/null +++ b/beta_47_ar.html @@ -0,0 +1,53 @@ + + + + دورة تعلم رست (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..797e2b1b8 --- /dev/null +++ b/beta_47_de.html @@ -0,0 +1,53 @@ + + + + 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..3c624a3f8 --- /dev/null +++ b/beta_47_en.html @@ -0,0 +1,53 @@ + + + + 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..8ff15e40e --- /dev/null +++ b/beta_47_es.html @@ -0,0 +1,53 @@ + + + + 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..5201b19a1 --- /dev/null +++ b/beta_47_fa.html @@ -0,0 +1,53 @@ + + + + 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..1985a369e --- /dev/null +++ b/beta_47_fr.html @@ -0,0 +1,53 @@ + + + + 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..c7ab7feca --- /dev/null +++ b/beta_47_gr.html @@ -0,0 +1,53 @@ + + + + Ξενάγηση στη 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..0c4efc03c --- /dev/null +++ b/beta_47_hu.html @@ -0,0 +1,53 @@ + + + + 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..76e46bb0c --- /dev/null +++ b/beta_47_ie.html @@ -0,0 +1,53 @@ + + + + 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..f11b973fc --- /dev/null +++ b/beta_47_it.html @@ -0,0 +1,53 @@ + + + + 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..58220da30 --- /dev/null +++ b/beta_47_ja.html @@ -0,0 +1,53 @@ + + + + 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..c2b944c59 --- /dev/null +++ b/beta_47_ko.html @@ -0,0 +1,53 @@ + + + + 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..e0af2c68a --- /dev/null +++ b/beta_47_pl.html @@ -0,0 +1,53 @@ + + + + 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..8dd0bfb9b --- /dev/null +++ b/beta_47_pt-br.html @@ -0,0 +1,53 @@ + + + + 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..9c892ec64 --- /dev/null +++ b/beta_47_ro.html @@ -0,0 +1,53 @@ + + + + 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..c1888cafa --- /dev/null +++ b/beta_47_ru.html @@ -0,0 +1,53 @@ + + + + Тур по 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..d13acb5a8 --- /dev/null +++ b/beta_47_th.html @@ -0,0 +1,53 @@ + + + + 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..87d0b7607 --- /dev/null +++ b/beta_47_tr.html @@ -0,0 +1,53 @@ + + + + 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..4f593417a --- /dev/null +++ b/beta_47_ua.html @@ -0,0 +1,55 @@ + + + + Тур по 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..bcbe38692 --- /dev/null +++ b/beta_47_vi.html @@ -0,0 +1,53 @@ + + + + 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..9a69dac30 --- /dev/null +++ b/beta_47_zh-cn.html @@ -0,0 +1,53 @@ + + + + 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..6e07569c2 --- /dev/null +++ b/beta_47_zh-tw.html @@ -0,0 +1,53 @@ + + + + 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..a9a073fad --- /dev/null +++ b/beta_48_ar.html @@ -0,0 +1,54 @@ + + + + دورة تعلم رست (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..67a457a33 --- /dev/null +++ b/beta_48_de.html @@ -0,0 +1,54 @@ + + + + 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..2a104c681 --- /dev/null +++ b/beta_48_en.html @@ -0,0 +1,54 @@ + + + + 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..9b2ce92f2 --- /dev/null +++ b/beta_48_es.html @@ -0,0 +1,54 @@ + + + + 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..60afd2b61 --- /dev/null +++ b/beta_48_fa.html @@ -0,0 +1,54 @@ + + + + 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..c46da6c7e --- /dev/null +++ b/beta_48_fr.html @@ -0,0 +1,54 @@ + + + + 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..7702f3ad9 --- /dev/null +++ b/beta_48_gr.html @@ -0,0 +1,53 @@ + + + + Ξενάγηση στη 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..ca5b9503c --- /dev/null +++ b/beta_48_hu.html @@ -0,0 +1,55 @@ + + + + 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..b37470647 --- /dev/null +++ b/beta_48_ie.html @@ -0,0 +1,54 @@ + + + + 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..3b2cbc490 --- /dev/null +++ b/beta_48_it.html @@ -0,0 +1,54 @@ + + + + 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..c52d34196 --- /dev/null +++ b/beta_48_ja.html @@ -0,0 +1,54 @@ + + + + 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..6c73278ff --- /dev/null +++ b/beta_48_ko.html @@ -0,0 +1,54 @@ + + + + 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..eb0e1553a --- /dev/null +++ b/beta_48_pl.html @@ -0,0 +1,55 @@ + + + + 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..4a5100941 --- /dev/null +++ b/beta_48_pt-br.html @@ -0,0 +1,54 @@ + + + + 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..2e008ad77 --- /dev/null +++ b/beta_48_ro.html @@ -0,0 +1,54 @@ + + + + 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..672883b81 --- /dev/null +++ b/beta_48_ru.html @@ -0,0 +1,54 @@ + + + + Тур по 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..5353adf1a --- /dev/null +++ b/beta_48_th.html @@ -0,0 +1,54 @@ + + + + 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..9e870eb87 --- /dev/null +++ b/beta_48_tr.html @@ -0,0 +1,54 @@ + + + + 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..9b7a59685 --- /dev/null +++ b/beta_48_ua.html @@ -0,0 +1,55 @@ + + + + Тур по 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..acb282f8b --- /dev/null +++ b/beta_48_vi.html @@ -0,0 +1,54 @@ + + + + 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..e35184b00 --- /dev/null +++ b/beta_48_zh-cn.html @@ -0,0 +1,54 @@ + + + + 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..5a9044390 --- /dev/null +++ b/beta_48_zh-tw.html @@ -0,0 +1,54 @@ + + + + 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..ef33c0a16 --- /dev/null +++ b/beta_49_ar.html @@ -0,0 +1,58 @@ + + + + دورة تعلم رست (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..0eb9479c4 --- /dev/null +++ b/beta_49_de.html @@ -0,0 +1,58 @@ + + + + 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..03e04d6ed --- /dev/null +++ b/beta_49_en.html @@ -0,0 +1,58 @@ + + + + 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..36e7b0b72 --- /dev/null +++ b/beta_49_es.html @@ -0,0 +1,58 @@ + + + + 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..e1f6000f8 --- /dev/null +++ b/beta_49_fa.html @@ -0,0 +1,58 @@ + + + + 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..fe83f7f03 --- /dev/null +++ b/beta_49_fr.html @@ -0,0 +1,61 @@ + + + + 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..6ff6185e0 --- /dev/null +++ b/beta_49_gr.html @@ -0,0 +1,58 @@ + + + + Ξενάγηση στη 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..6e33d8bdb --- /dev/null +++ b/beta_49_hu.html @@ -0,0 +1,60 @@ + + + + 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..ef75b21c3 --- /dev/null +++ b/beta_49_ie.html @@ -0,0 +1,58 @@ + + + + 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..c7dc69c08 --- /dev/null +++ b/beta_49_it.html @@ -0,0 +1,58 @@ + + + + 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..17230cee0 --- /dev/null +++ b/beta_49_ja.html @@ -0,0 +1,58 @@ + + + + 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..389ac8f6f --- /dev/null +++ b/beta_49_ko.html @@ -0,0 +1,58 @@ + + + + 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..8d4a36b9f --- /dev/null +++ b/beta_49_pl.html @@ -0,0 +1,58 @@ + + + + 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..ce9f0b978 --- /dev/null +++ b/beta_49_pt-br.html @@ -0,0 +1,58 @@ + + + + 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..f59cf22a6 --- /dev/null +++ b/beta_49_ro.html @@ -0,0 +1,58 @@ + + + + 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..bd23b7d84 --- /dev/null +++ b/beta_49_ru.html @@ -0,0 +1,58 @@ + + + + Тур по 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..8f8d96f37 --- /dev/null +++ b/beta_49_th.html @@ -0,0 +1,58 @@ + + + + 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..9d9b2ca41 --- /dev/null +++ b/beta_49_tr.html @@ -0,0 +1,58 @@ + + + + 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..ee33ddfa6 --- /dev/null +++ b/beta_49_ua.html @@ -0,0 +1,58 @@ + + + + Тур по 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..4dd498c5e --- /dev/null +++ b/beta_49_vi.html @@ -0,0 +1,58 @@ + + + + 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..90d4423b1 --- /dev/null +++ b/beta_49_zh-cn.html @@ -0,0 +1,57 @@ + + + + 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..6a810847b --- /dev/null +++ b/beta_49_zh-tw.html @@ -0,0 +1,58 @@ + + + + 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..f032a84fc --- /dev/null +++ b/beta_50_ar.html @@ -0,0 +1,54 @@ + + + + دورة تعلم رست (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..1f41822b1 --- /dev/null +++ b/beta_50_de.html @@ -0,0 +1,54 @@ + + + + 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..ce4c2c3f3 --- /dev/null +++ b/beta_50_en.html @@ -0,0 +1,54 @@ + + + + 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..8dcfe21d1 --- /dev/null +++ b/beta_50_es.html @@ -0,0 +1,54 @@ + + + + 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..284560127 --- /dev/null +++ b/beta_50_fa.html @@ -0,0 +1,54 @@ + + + + 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..cebc988c5 --- /dev/null +++ b/beta_50_fr.html @@ -0,0 +1,56 @@ + + + + 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..3fb1203a8 --- /dev/null +++ b/beta_50_gr.html @@ -0,0 +1,54 @@ + + + + Ξενάγηση στη 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..444d6d516 --- /dev/null +++ b/beta_50_hu.html @@ -0,0 +1,55 @@ + + + + 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..2a8c396b5 --- /dev/null +++ b/beta_50_ie.html @@ -0,0 +1,55 @@ + + + + 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..9e141311e --- /dev/null +++ b/beta_50_it.html @@ -0,0 +1,54 @@ + + + + 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..544a989fb --- /dev/null +++ b/beta_50_ja.html @@ -0,0 +1,54 @@ + + + + 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..75095a3ea --- /dev/null +++ b/beta_50_ko.html @@ -0,0 +1,54 @@ + + + + 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..97c947d86 --- /dev/null +++ b/beta_50_pl.html @@ -0,0 +1,54 @@ + + + + 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..44b8126c4 --- /dev/null +++ b/beta_50_pt-br.html @@ -0,0 +1,54 @@ + + + + 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..bb20af576 --- /dev/null +++ b/beta_50_ro.html @@ -0,0 +1,54 @@ + + + + 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..871cca8fa --- /dev/null +++ b/beta_50_ru.html @@ -0,0 +1,54 @@ + + + + Тур по 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..e2fa5a95f --- /dev/null +++ b/beta_50_th.html @@ -0,0 +1,54 @@ + + + + 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..e364680fd --- /dev/null +++ b/beta_50_tr.html @@ -0,0 +1,54 @@ + + + + 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..b5c34787e --- /dev/null +++ b/beta_50_ua.html @@ -0,0 +1,54 @@ + + + + Тур по 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..c4be1bc6a --- /dev/null +++ b/beta_50_vi.html @@ -0,0 +1,54 @@ + + + + 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..6a6f58f79 --- /dev/null +++ b/beta_50_zh-cn.html @@ -0,0 +1,53 @@ + + + + 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..46fd163a2 --- /dev/null +++ b/beta_50_zh-tw.html @@ -0,0 +1,54 @@ + + + + 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..250c0f80e --- /dev/null +++ b/beta_51_ar.html @@ -0,0 +1,63 @@ + + + + دورة تعلم رست (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..638fc1a11 --- /dev/null +++ b/beta_51_de.html @@ -0,0 +1,63 @@ + + + + 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..018e398c3 --- /dev/null +++ b/beta_51_en.html @@ -0,0 +1,63 @@ + + + + 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..293aa01bb --- /dev/null +++ b/beta_51_es.html @@ -0,0 +1,63 @@ + + + + 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..21a2b32a5 --- /dev/null +++ b/beta_51_fa.html @@ -0,0 +1,63 @@ + + + + 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..f5e6bf103 --- /dev/null +++ b/beta_51_fr.html @@ -0,0 +1,68 @@ + + + + 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..bc8c01fa3 --- /dev/null +++ b/beta_51_gr.html @@ -0,0 +1,63 @@ + + + + Ξενάγηση στη 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..db05c679f --- /dev/null +++ b/beta_51_hu.html @@ -0,0 +1,68 @@ + + + + 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..e8fc78871 --- /dev/null +++ b/beta_51_ie.html @@ -0,0 +1,63 @@ + + + + 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..9f2567c1a --- /dev/null +++ b/beta_51_it.html @@ -0,0 +1,67 @@ + + + + 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..adfeecae1 --- /dev/null +++ b/beta_51_ja.html @@ -0,0 +1,65 @@ + + + + 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..1bed1c71a --- /dev/null +++ b/beta_51_ko.html @@ -0,0 +1,63 @@ + + + + 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..24a6dfb36 --- /dev/null +++ b/beta_51_pl.html @@ -0,0 +1,63 @@ + + + + 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..623b89be3 --- /dev/null +++ b/beta_51_pt-br.html @@ -0,0 +1,63 @@ + + + + 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..80a10255a --- /dev/null +++ b/beta_51_ro.html @@ -0,0 +1,63 @@ + + + + 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..b52ee8558 --- /dev/null +++ b/beta_51_ru.html @@ -0,0 +1,66 @@ + + + + Тур по 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..771804f23 --- /dev/null +++ b/beta_51_th.html @@ -0,0 +1,63 @@ + + + + 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..4e587199b --- /dev/null +++ b/beta_51_tr.html @@ -0,0 +1,66 @@ + + + + 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..825e9ebf9 --- /dev/null +++ b/beta_51_ua.html @@ -0,0 +1,63 @@ + + + + Тур по 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..6619f3b97 --- /dev/null +++ b/beta_51_vi.html @@ -0,0 +1,63 @@ + + + + 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..9189b34cc --- /dev/null +++ b/beta_51_zh-cn.html @@ -0,0 +1,63 @@ + + + + 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..0c2892237 --- /dev/null +++ b/beta_51_zh-tw.html @@ -0,0 +1,64 @@ + + + + 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..b4a1ffb55 --- /dev/null +++ b/beta_52_ar.html @@ -0,0 +1,53 @@ + + + + دورة تعلم رست (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..ae6e57e6d --- /dev/null +++ b/beta_52_de.html @@ -0,0 +1,53 @@ + + + + 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..690870a9f --- /dev/null +++ b/beta_52_en.html @@ -0,0 +1,53 @@ + + + + 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..e2a7ba359 --- /dev/null +++ b/beta_52_es.html @@ -0,0 +1,53 @@ + + + + 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..940a6c060 --- /dev/null +++ b/beta_52_fa.html @@ -0,0 +1,53 @@ + + + + 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..8af6a344e --- /dev/null +++ b/beta_52_fr.html @@ -0,0 +1,53 @@ + + + + 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..e35ecb526 --- /dev/null +++ b/beta_52_gr.html @@ -0,0 +1,53 @@ + + + + Ξενάγηση στη 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..d67b232ea --- /dev/null +++ b/beta_52_hu.html @@ -0,0 +1,53 @@ + + + + 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..70921379c --- /dev/null +++ b/beta_52_ie.html @@ -0,0 +1,53 @@ + + + + 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..acebb941e --- /dev/null +++ b/beta_52_it.html @@ -0,0 +1,53 @@ + + + + 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..59b9dee9d --- /dev/null +++ b/beta_52_ja.html @@ -0,0 +1,53 @@ + + + + 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..13fc47094 --- /dev/null +++ b/beta_52_ko.html @@ -0,0 +1,53 @@ + + + + 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..8b01531e2 --- /dev/null +++ b/beta_52_pl.html @@ -0,0 +1,54 @@ + + + + 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..e089ff743 --- /dev/null +++ b/beta_52_pt-br.html @@ -0,0 +1,53 @@ + + + + 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..494af7fc4 --- /dev/null +++ b/beta_52_ro.html @@ -0,0 +1,53 @@ + + + + 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..da5c7e323 --- /dev/null +++ b/beta_52_ru.html @@ -0,0 +1,53 @@ + + + + Тур по 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..10d3086b9 --- /dev/null +++ b/beta_52_th.html @@ -0,0 +1,53 @@ + + + + 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..4be4336e6 --- /dev/null +++ b/beta_52_tr.html @@ -0,0 +1,54 @@ + + + + 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..459e8e9c6 --- /dev/null +++ b/beta_52_ua.html @@ -0,0 +1,53 @@ + + + + Тур по 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..e08c81d72 --- /dev/null +++ b/beta_52_vi.html @@ -0,0 +1,53 @@ + + + + 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..4ae6cdf8b --- /dev/null +++ b/beta_52_zh-cn.html @@ -0,0 +1,53 @@ + + + + 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..a9ebab1c4 --- /dev/null +++ b/beta_52_zh-tw.html @@ -0,0 +1,53 @@ + + + + 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..c5ef95696 --- /dev/null +++ b/beta_53_ar.html @@ -0,0 +1,55 @@ + + + + دورة تعلم رست (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..9b2a63861 --- /dev/null +++ b/beta_53_de.html @@ -0,0 +1,57 @@ + + + + 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..927609bae --- /dev/null +++ b/beta_53_en.html @@ -0,0 +1,57 @@ + + + + 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..9ca05e73c --- /dev/null +++ b/beta_53_es.html @@ -0,0 +1,55 @@ + + + + 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..dbcd08c4a --- /dev/null +++ b/beta_53_fa.html @@ -0,0 +1,57 @@ + + + + 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..0a9b176a6 --- /dev/null +++ b/beta_53_fr.html @@ -0,0 +1,58 @@ + + + + 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..6bd42f094 --- /dev/null +++ b/beta_53_gr.html @@ -0,0 +1,57 @@ + + + + Ξενάγηση στη 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..bd0c3cb73 --- /dev/null +++ b/beta_53_hu.html @@ -0,0 +1,59 @@ + + + + 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..c162e6931 --- /dev/null +++ b/beta_53_ie.html @@ -0,0 +1,57 @@ + + + + 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..611d9f605 --- /dev/null +++ b/beta_53_it.html @@ -0,0 +1,57 @@ + + + + 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..118d5e402 --- /dev/null +++ b/beta_53_ja.html @@ -0,0 +1,55 @@ + + + + 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..09f69c7f1 --- /dev/null +++ b/beta_53_ko.html @@ -0,0 +1,57 @@ + + + + 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..0459719a6 --- /dev/null +++ b/beta_53_pl.html @@ -0,0 +1,55 @@ + + + + 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..84cdc587d --- /dev/null +++ b/beta_53_pt-br.html @@ -0,0 +1,55 @@ + + + + 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..aa73809a6 --- /dev/null +++ b/beta_53_ro.html @@ -0,0 +1,57 @@ + + + + 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..59b8d913a --- /dev/null +++ b/beta_53_ru.html @@ -0,0 +1,57 @@ + + + + Тур по 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..147b7cac9 --- /dev/null +++ b/beta_53_th.html @@ -0,0 +1,55 @@ + + + + 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..b7aae989d --- /dev/null +++ b/beta_53_tr.html @@ -0,0 +1,55 @@ + + + + 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..aadb643ee --- /dev/null +++ b/beta_53_ua.html @@ -0,0 +1,55 @@ + + + + Тур по 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..aa557dcf4 --- /dev/null +++ b/beta_53_vi.html @@ -0,0 +1,55 @@ + + + + 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..b6fff4d67 --- /dev/null +++ b/beta_53_zh-cn.html @@ -0,0 +1,53 @@ + + + + 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..5a39aff59 --- /dev/null +++ b/beta_53_zh-tw.html @@ -0,0 +1,55 @@ + + + + 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..71cd04c31 --- /dev/null +++ b/beta_54_ar.html @@ -0,0 +1,53 @@ + + + + دورة تعلم رست (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..5c22ad1c1 --- /dev/null +++ b/beta_54_de.html @@ -0,0 +1,54 @@ + + + + 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..d5b0ed461 --- /dev/null +++ b/beta_54_en.html @@ -0,0 +1,54 @@ + + + + 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..a72449566 --- /dev/null +++ b/beta_54_es.html @@ -0,0 +1,53 @@ + + + + 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..1aac6fdec --- /dev/null +++ b/beta_54_fa.html @@ -0,0 +1,54 @@ + + + + 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..0da3dc2b9 --- /dev/null +++ b/beta_54_fr.html @@ -0,0 +1,54 @@ + + + + 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..a65c77c5f --- /dev/null +++ b/beta_54_gr.html @@ -0,0 +1,54 @@ + + + + Ξενάγηση στη 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..77c38e2ed --- /dev/null +++ b/beta_54_hu.html @@ -0,0 +1,54 @@ + + + + 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..0379fd5e2 --- /dev/null +++ b/beta_54_ie.html @@ -0,0 +1,54 @@ + + + + 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..68a226b64 --- /dev/null +++ b/beta_54_it.html @@ -0,0 +1,54 @@ + + + + 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..db04fb750 --- /dev/null +++ b/beta_54_ja.html @@ -0,0 +1,53 @@ + + + + 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..38fcac2d5 --- /dev/null +++ b/beta_54_ko.html @@ -0,0 +1,54 @@ + + + + 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..2702a3379 --- /dev/null +++ b/beta_54_pl.html @@ -0,0 +1,53 @@ + + + + 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..89511128b --- /dev/null +++ b/beta_54_pt-br.html @@ -0,0 +1,53 @@ + + + + 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..8e2a7f9fc --- /dev/null +++ b/beta_54_ro.html @@ -0,0 +1,54 @@ + + + + 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..44c11ed23 --- /dev/null +++ b/beta_54_ru.html @@ -0,0 +1,54 @@ + + + + Тур по 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..6d4f3a662 --- /dev/null +++ b/beta_54_th.html @@ -0,0 +1,53 @@ + + + + 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..181b46838 --- /dev/null +++ b/beta_54_tr.html @@ -0,0 +1,53 @@ + + + + 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..9082ed20a --- /dev/null +++ b/beta_54_ua.html @@ -0,0 +1,54 @@ + + + + Тур по 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..55ded9302 --- /dev/null +++ b/beta_54_vi.html @@ -0,0 +1,53 @@ + + + + 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..10d64ee1d --- /dev/null +++ b/beta_54_zh-cn.html @@ -0,0 +1,53 @@ + + + + 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..6fd8c0a81 --- /dev/null +++ b/beta_54_zh-tw.html @@ -0,0 +1,53 @@ + + + + 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..7f901ed65 --- /dev/null +++ b/beta_55_ar.html @@ -0,0 +1,62 @@ + + + + دورة تعلم رست (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..c9ac00844 --- /dev/null +++ b/beta_55_de.html @@ -0,0 +1,65 @@ + + + + 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..29c6d4fa7 --- /dev/null +++ b/beta_55_en.html @@ -0,0 +1,65 @@ + + + + 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..933c8a75f --- /dev/null +++ b/beta_55_es.html @@ -0,0 +1,61 @@ + + + + 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..8306bb939 --- /dev/null +++ b/beta_55_fa.html @@ -0,0 +1,65 @@ + + + + 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..726cde12b --- /dev/null +++ b/beta_55_fr.html @@ -0,0 +1,69 @@ + + + + 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..3493e5c1c --- /dev/null +++ b/beta_55_gr.html @@ -0,0 +1,65 @@ + + + + Ξενάγηση στη 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..1b0b94f75 --- /dev/null +++ b/beta_55_hu.html @@ -0,0 +1,71 @@ + + + + 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..217c26866 --- /dev/null +++ b/beta_55_ie.html @@ -0,0 +1,66 @@ + + + + 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..381a5eaf2 --- /dev/null +++ b/beta_55_it.html @@ -0,0 +1,65 @@ + + + + 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..b652d4a4e --- /dev/null +++ b/beta_55_ja.html @@ -0,0 +1,66 @@ + + + + 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..5f509a26f --- /dev/null +++ b/beta_55_ko.html @@ -0,0 +1,66 @@ + + + + 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..058d7a9f9 --- /dev/null +++ b/beta_55_pl.html @@ -0,0 +1,61 @@ + + + + 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..c746007a6 --- /dev/null +++ b/beta_55_pt-br.html @@ -0,0 +1,62 @@ + + + + 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..a1fc3a1e5 --- /dev/null +++ b/beta_55_ro.html @@ -0,0 +1,64 @@ + + + + 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..e2a2b3ada --- /dev/null +++ b/beta_55_ru.html @@ -0,0 +1,70 @@ + + + + Тур по 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..d52a8fc89 --- /dev/null +++ b/beta_55_th.html @@ -0,0 +1,66 @@ + + + + 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..1b5ec49f8 --- /dev/null +++ b/beta_55_tr.html @@ -0,0 +1,65 @@ + + + + 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..8f521e508 --- /dev/null +++ b/beta_55_ua.html @@ -0,0 +1,60 @@ + + + + Тур по 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..e45e58892 --- /dev/null +++ b/beta_55_vi.html @@ -0,0 +1,61 @@ + + + + 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..2431fa09e --- /dev/null +++ b/beta_55_zh-cn.html @@ -0,0 +1,58 @@ + + + + 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..b4000f09c --- /dev/null +++ b/beta_55_zh-tw.html @@ -0,0 +1,62 @@ + + + + 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..a47c938a1 --- /dev/null +++ b/beta_56_ar.html @@ -0,0 +1,55 @@ + + + + دورة تعلم رست (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..8edbc66f6 --- /dev/null +++ b/beta_56_de.html @@ -0,0 +1,55 @@ + + + + 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..a40a74a1b --- /dev/null +++ b/beta_56_en.html @@ -0,0 +1,55 @@ + + + + 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..29f0d79f7 --- /dev/null +++ b/beta_56_es.html @@ -0,0 +1,55 @@ + + + + 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..6918624d8 --- /dev/null +++ b/beta_56_fa.html @@ -0,0 +1,55 @@ + + + + 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..5c569f274 --- /dev/null +++ b/beta_56_fr.html @@ -0,0 +1,60 @@ + + + + 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..f19c722ce --- /dev/null +++ b/beta_56_gr.html @@ -0,0 +1,55 @@ + + + + Ξενάγηση στη 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..c717423bc --- /dev/null +++ b/beta_56_hu.html @@ -0,0 +1,56 @@ + + + + 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..b8b5d3a23 --- /dev/null +++ b/beta_56_ie.html @@ -0,0 +1,55 @@ + + + + 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..d3631d45f --- /dev/null +++ b/beta_56_it.html @@ -0,0 +1,55 @@ + + + + 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..0a61c87f0 --- /dev/null +++ b/beta_56_ja.html @@ -0,0 +1,55 @@ + + + + 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..876b327a5 --- /dev/null +++ b/beta_56_ko.html @@ -0,0 +1,55 @@ + + + + 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..2ac56c600 --- /dev/null +++ b/beta_56_pl.html @@ -0,0 +1,55 @@ + + + + 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..35f50633a --- /dev/null +++ b/beta_56_pt-br.html @@ -0,0 +1,55 @@ + + + + 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..074b0cfda --- /dev/null +++ b/beta_56_ro.html @@ -0,0 +1,55 @@ + + + + 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..55270d506 --- /dev/null +++ b/beta_56_ru.html @@ -0,0 +1,55 @@ + + + + Тур по 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..d3e3f0162 --- /dev/null +++ b/beta_56_th.html @@ -0,0 +1,55 @@ + + + + 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..bfb2fe9d2 --- /dev/null +++ b/beta_56_tr.html @@ -0,0 +1,55 @@ + + + + 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..160956e95 --- /dev/null +++ b/beta_56_ua.html @@ -0,0 +1,55 @@ + + + + Тур по 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..eccdd1c45 --- /dev/null +++ b/beta_56_vi.html @@ -0,0 +1,55 @@ + + + + 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..7e4523246 --- /dev/null +++ b/beta_56_zh-cn.html @@ -0,0 +1,53 @@ + + + + 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..7de2c9882 --- /dev/null +++ b/beta_56_zh-tw.html @@ -0,0 +1,55 @@ + + + + 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..b80db3251 --- /dev/null +++ b/beta_57_ar.html @@ -0,0 +1,60 @@ + + + + دورة تعلم رست (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..2b9a5555c --- /dev/null +++ b/beta_57_de.html @@ -0,0 +1,62 @@ + + + + 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..83c619998 --- /dev/null +++ b/beta_57_en.html @@ -0,0 +1,62 @@ + + + + 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..17e2d4530 --- /dev/null +++ b/beta_57_es.html @@ -0,0 +1,60 @@ + + + + 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..888dd711b --- /dev/null +++ b/beta_57_fa.html @@ -0,0 +1,62 @@ + + + + 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..daa4d19ea --- /dev/null +++ b/beta_57_fr.html @@ -0,0 +1,62 @@ + + + + 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..27526e943 --- /dev/null +++ b/beta_57_gr.html @@ -0,0 +1,62 @@ + + + + Ξενάγηση στη 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..0f5eabf1f --- /dev/null +++ b/beta_57_hu.html @@ -0,0 +1,63 @@ + + + + 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..af2c4eaa6 --- /dev/null +++ b/beta_57_ie.html @@ -0,0 +1,62 @@ + + + + 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..dc6011e39 --- /dev/null +++ b/beta_57_it.html @@ -0,0 +1,62 @@ + + + + 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..083910299 --- /dev/null +++ b/beta_57_ja.html @@ -0,0 +1,62 @@ + + + + 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..d4a1763e5 --- /dev/null +++ b/beta_57_ko.html @@ -0,0 +1,62 @@ + + + + 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..9a58bdbb7 --- /dev/null +++ b/beta_57_pl.html @@ -0,0 +1,61 @@ + + + + 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..c1460435d --- /dev/null +++ b/beta_57_pt-br.html @@ -0,0 +1,60 @@ + + + + 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..d251e94ce --- /dev/null +++ b/beta_57_ro.html @@ -0,0 +1,62 @@ + + + + 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..d9eb382dd --- /dev/null +++ b/beta_57_ru.html @@ -0,0 +1,63 @@ + + + + Тур по 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..003884412 --- /dev/null +++ b/beta_57_th.html @@ -0,0 +1,60 @@ + + + + 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..81e46baa3 --- /dev/null +++ b/beta_57_tr.html @@ -0,0 +1,60 @@ + + + + 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..8ddeb24ef --- /dev/null +++ b/beta_57_ua.html @@ -0,0 +1,62 @@ + + + + Тур по 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..b11919c00 --- /dev/null +++ b/beta_57_vi.html @@ -0,0 +1,61 @@ + + + + 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..b50738c44 --- /dev/null +++ b/beta_57_zh-cn.html @@ -0,0 +1,60 @@ + + + + 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..883209131 --- /dev/null +++ b/beta_57_zh-tw.html @@ -0,0 +1,60 @@ + + + + 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..0fbc0b297 --- /dev/null +++ b/beta_59_ar.html @@ -0,0 +1,63 @@ + + + + دورة تعلم رست (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..c759fb684 --- /dev/null +++ b/beta_59_de.html @@ -0,0 +1,61 @@ + + + + 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..4699846ad --- /dev/null +++ b/beta_59_en.html @@ -0,0 +1,63 @@ + + + + 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..e3ab8ae19 --- /dev/null +++ b/beta_59_es.html @@ -0,0 +1,62 @@ + + + + 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..a5499bc56 --- /dev/null +++ b/beta_59_fa.html @@ -0,0 +1,63 @@ + + + + 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..83e60152f --- /dev/null +++ b/beta_59_fr.html @@ -0,0 +1,65 @@ + + + + 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..4e7afbc24 --- /dev/null +++ b/beta_59_hu.html @@ -0,0 +1,66 @@ + + + + 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..80e80a3a3 --- /dev/null +++ b/beta_59_ie.html @@ -0,0 +1,63 @@ + + + + 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..5f30be8df --- /dev/null +++ b/beta_59_it.html @@ -0,0 +1,63 @@ + + + + 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..d4c0ef313 --- /dev/null +++ b/beta_59_ja.html @@ -0,0 +1,63 @@ + + + + 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..14c2d4b95 --- /dev/null +++ b/beta_59_ko.html @@ -0,0 +1,63 @@ + + + + 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..a72dbfa22 --- /dev/null +++ b/beta_59_pl.html @@ -0,0 +1,63 @@ + + + + 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..d9154300c --- /dev/null +++ b/beta_59_pt-br.html @@ -0,0 +1,63 @@ + + + + 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..6464e940e --- /dev/null +++ b/beta_59_ro.html @@ -0,0 +1,63 @@ + + + + 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..ec7afeb56 --- /dev/null +++ b/beta_59_ru.html @@ -0,0 +1,64 @@ + + + + Тур по 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..79b0da506 --- /dev/null +++ b/beta_59_th.html @@ -0,0 +1,63 @@ + + + + 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..c98fbacab --- /dev/null +++ b/beta_59_tr.html @@ -0,0 +1,63 @@ + + + + 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..a75f51bfa --- /dev/null +++ b/beta_59_ua.html @@ -0,0 +1,63 @@ + + + + Тур по 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..cb6a5252e --- /dev/null +++ b/beta_59_vi.html @@ -0,0 +1,63 @@ + + + + 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..32b3af97c --- /dev/null +++ b/beta_59_zh-cn.html @@ -0,0 +1,63 @@ + + + + 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..fbaefa344 --- /dev/null +++ b/beta_59_zh-tw.html @@ -0,0 +1,63 @@ + + + + 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..16c01035b --- /dev/null +++ b/beta_60_ar.html @@ -0,0 +1,60 @@ + + + + دورة تعلم رست (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..4d77f0d90 --- /dev/null +++ b/beta_60_de.html @@ -0,0 +1,59 @@ + + + + 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..c72b92e84 --- /dev/null +++ b/beta_60_en.html @@ -0,0 +1,60 @@ + + + + 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..a1a91e56a --- /dev/null +++ b/beta_60_es.html @@ -0,0 +1,58 @@ + + + + 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..3339d32f6 --- /dev/null +++ b/beta_60_fa.html @@ -0,0 +1,60 @@ + + + + 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..d22129ac1 --- /dev/null +++ b/beta_60_fr.html @@ -0,0 +1,66 @@ + + + + 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..901dc7f8a --- /dev/null +++ b/beta_60_hu.html @@ -0,0 +1,64 @@ + + + + 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..a7ad45ddd --- /dev/null +++ b/beta_60_ie.html @@ -0,0 +1,60 @@ + + + + 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..294d72680 --- /dev/null +++ b/beta_60_it.html @@ -0,0 +1,60 @@ + + + + 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..31c579b60 --- /dev/null +++ b/beta_60_ja.html @@ -0,0 +1,57 @@ + + + + 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..e15ad8ae0 --- /dev/null +++ b/beta_60_ko.html @@ -0,0 +1,60 @@ + + + + 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..e11167859 --- /dev/null +++ b/beta_60_pl.html @@ -0,0 +1,60 @@ + + + + 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..2ee550d10 --- /dev/null +++ b/beta_60_pt-br.html @@ -0,0 +1,57 @@ + + + + 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..ea2b04e32 --- /dev/null +++ b/beta_60_ro.html @@ -0,0 +1,60 @@ + + + + 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..35f7ee642 --- /dev/null +++ b/beta_60_ru.html @@ -0,0 +1,60 @@ + + + + Тур по 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..ef9c97c35 --- /dev/null +++ b/beta_60_th.html @@ -0,0 +1,57 @@ + + + + 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..ac7616f71 --- /dev/null +++ b/beta_60_tr.html @@ -0,0 +1,65 @@ + + + + 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..8e6f12afa --- /dev/null +++ b/beta_60_ua.html @@ -0,0 +1,60 @@ + + + + Тур по 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..33b3181da --- /dev/null +++ b/beta_60_vi.html @@ -0,0 +1,58 @@ + + + + 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..e7c5bb643 --- /dev/null +++ b/beta_60_zh-cn.html @@ -0,0 +1,57 @@ + + + + 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..9dd2f1ed5 --- /dev/null +++ b/beta_60_zh-tw.html @@ -0,0 +1,58 @@ + + + + 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..525eb977a --- /dev/null +++ b/beta_61_ar.html @@ -0,0 +1,63 @@ + + + + دورة تعلم رست (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..f10dbf465 --- /dev/null +++ b/beta_61_de.html @@ -0,0 +1,63 @@ + + + + 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..a4fb6a959 --- /dev/null +++ b/beta_61_en.html @@ -0,0 +1,63 @@ + + + + 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..49ebdff00 --- /dev/null +++ b/beta_61_es.html @@ -0,0 +1,63 @@ + + + + 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..db02e3773 --- /dev/null +++ b/beta_61_fa.html @@ -0,0 +1,63 @@ + + + + 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..5d2d274bd --- /dev/null +++ b/beta_61_fr.html @@ -0,0 +1,64 @@ + + + + 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..94d1c0710 --- /dev/null +++ b/beta_61_hu.html @@ -0,0 +1,65 @@ + + + + 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..a1e6a4e49 --- /dev/null +++ b/beta_61_ie.html @@ -0,0 +1,63 @@ + + + + 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..4b09a2d64 --- /dev/null +++ b/beta_61_it.html @@ -0,0 +1,63 @@ + + + + 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..44ab2ecf4 --- /dev/null +++ b/beta_61_ja.html @@ -0,0 +1,63 @@ + + + + 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..87ba91a04 --- /dev/null +++ b/beta_61_ko.html @@ -0,0 +1,63 @@ + + + + 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..4af61d69d --- /dev/null +++ b/beta_61_pl.html @@ -0,0 +1,63 @@ + + + + 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..4144c1edf --- /dev/null +++ b/beta_61_pt-br.html @@ -0,0 +1,63 @@ + + + + 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..5ea27fc86 --- /dev/null +++ b/beta_61_ro.html @@ -0,0 +1,63 @@ + + + + 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..7d60fefb7 --- /dev/null +++ b/beta_61_ru.html @@ -0,0 +1,63 @@ + + + + Тур по 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..166369ebf --- /dev/null +++ b/beta_61_th.html @@ -0,0 +1,63 @@ + + + + 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..f233e03fa --- /dev/null +++ b/beta_61_tr.html @@ -0,0 +1,63 @@ + + + + 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..e505acc2d --- /dev/null +++ b/beta_61_ua.html @@ -0,0 +1,63 @@ + + + + Тур по 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..9f0036c5e --- /dev/null +++ b/beta_61_vi.html @@ -0,0 +1,63 @@ + + + + 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..597005ac6 --- /dev/null +++ b/beta_61_zh-cn.html @@ -0,0 +1,63 @@ + + + + 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..119e140f2 --- /dev/null +++ b/beta_61_zh-tw.html @@ -0,0 +1,63 @@ + + + + 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..4fe076d04 --- /dev/null +++ b/beta_62_ar.html @@ -0,0 +1,54 @@ + + + + دورة تعلم رست (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..a266bbd00 --- /dev/null +++ b/beta_62_de.html @@ -0,0 +1,54 @@ + + + + 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..c536ae1b1 --- /dev/null +++ b/beta_62_en.html @@ -0,0 +1,54 @@ + + + + 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..179c21ea2 --- /dev/null +++ b/beta_62_es.html @@ -0,0 +1,54 @@ + + + + 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..520ed0a77 --- /dev/null +++ b/beta_62_fa.html @@ -0,0 +1,54 @@ + + + + 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..958ac6777 --- /dev/null +++ b/beta_62_fr.html @@ -0,0 +1,54 @@ + + + + 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..65d7abd7b --- /dev/null +++ b/beta_62_hu.html @@ -0,0 +1,54 @@ + + + + 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..1c5568330 --- /dev/null +++ b/beta_62_ie.html @@ -0,0 +1,54 @@ + + + + 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..862d6d804 --- /dev/null +++ b/beta_62_it.html @@ -0,0 +1,54 @@ + + + + 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..e2e26dcab --- /dev/null +++ b/beta_62_ja.html @@ -0,0 +1,54 @@ + + + + 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..b7c86cbd9 --- /dev/null +++ b/beta_62_ko.html @@ -0,0 +1,54 @@ + + + + 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..5b8c672e9 --- /dev/null +++ b/beta_62_pl.html @@ -0,0 +1,54 @@ + + + + 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..fd36ba8ab --- /dev/null +++ b/beta_62_pt-br.html @@ -0,0 +1,54 @@ + + + + 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..439426820 --- /dev/null +++ b/beta_62_ro.html @@ -0,0 +1,54 @@ + + + + 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..1b685e00b --- /dev/null +++ b/beta_62_ru.html @@ -0,0 +1,54 @@ + + + + Тур по 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..8ef206daa --- /dev/null +++ b/beta_62_th.html @@ -0,0 +1,54 @@ + + + + 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..dcda47dc8 --- /dev/null +++ b/beta_62_tr.html @@ -0,0 +1,54 @@ + + + + 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..b952886d9 --- /dev/null +++ b/beta_62_ua.html @@ -0,0 +1,55 @@ + + + + Тур по 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..3b908a36c --- /dev/null +++ b/beta_62_vi.html @@ -0,0 +1,54 @@ + + + + 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..1381b78b6 --- /dev/null +++ b/beta_62_zh-cn.html @@ -0,0 +1,54 @@ + + + + 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..2b8291edd --- /dev/null +++ b/beta_62_zh-tw.html @@ -0,0 +1,54 @@ + + + + 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..0581b4ea3 --- /dev/null +++ b/beta_63_ar.html @@ -0,0 +1,53 @@ + + + + دورة تعلم رست (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..f5efd4fd0 --- /dev/null +++ b/beta_63_de.html @@ -0,0 +1,54 @@ + + + + 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..90d76d617 --- /dev/null +++ b/beta_63_en.html @@ -0,0 +1,54 @@ + + + + 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..e8bddcb54 --- /dev/null +++ b/beta_63_es.html @@ -0,0 +1,53 @@ + + + + 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..1eb0ad69e --- /dev/null +++ b/beta_63_fa.html @@ -0,0 +1,54 @@ + + + + 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..b7410104f --- /dev/null +++ b/beta_63_fr.html @@ -0,0 +1,56 @@ + + + + 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..d6147d4fd --- /dev/null +++ b/beta_63_hu.html @@ -0,0 +1,58 @@ + + + + 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..fa2c20ca9 --- /dev/null +++ b/beta_63_ie.html @@ -0,0 +1,54 @@ + + + + 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..a89705ba7 --- /dev/null +++ b/beta_63_it.html @@ -0,0 +1,54 @@ + + + + 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..aadf4b605 --- /dev/null +++ b/beta_63_ja.html @@ -0,0 +1,54 @@ + + + + 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..cfd24de7b --- /dev/null +++ b/beta_63_ko.html @@ -0,0 +1,54 @@ + + + + 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..e5324e49c --- /dev/null +++ b/beta_63_pl.html @@ -0,0 +1,54 @@ + + + + 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..f73f24f68 --- /dev/null +++ b/beta_63_pt-br.html @@ -0,0 +1,53 @@ + + + + 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..e06322d90 --- /dev/null +++ b/beta_63_ro.html @@ -0,0 +1,54 @@ + + + + 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..793a4bf7d --- /dev/null +++ b/beta_63_ru.html @@ -0,0 +1,54 @@ + + + + Тур по 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..d5ad4bba5 --- /dev/null +++ b/beta_63_th.html @@ -0,0 +1,53 @@ + + + + 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..b402ce404 --- /dev/null +++ b/beta_63_tr.html @@ -0,0 +1,53 @@ + + + + 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..f3908d89a --- /dev/null +++ b/beta_63_ua.html @@ -0,0 +1,54 @@ + + + + Тур по 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..f1fc1f63a --- /dev/null +++ b/beta_63_vi.html @@ -0,0 +1,53 @@ + + + + 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..4cb43fd97 --- /dev/null +++ b/beta_63_zh-cn.html @@ -0,0 +1,53 @@ + + + + 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..4d4c75b17 --- /dev/null +++ b/beta_63_zh-tw.html @@ -0,0 +1,53 @@ + + + + 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..21bf830e1 --- /dev/null +++ b/beta_64_ar.html @@ -0,0 +1,53 @@ + + + + دورة تعلم رست (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..d29a97e87 --- /dev/null +++ b/beta_64_de.html @@ -0,0 +1,53 @@ + + + + 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..08e119091 --- /dev/null +++ b/beta_64_en.html @@ -0,0 +1,53 @@ + + + + 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..f33b53a74 --- /dev/null +++ b/beta_64_es.html @@ -0,0 +1,53 @@ + + + + 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..2b940ac81 --- /dev/null +++ b/beta_64_fa.html @@ -0,0 +1,53 @@ + + + + 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..8be6bd922 --- /dev/null +++ b/beta_64_fr.html @@ -0,0 +1,54 @@ + + + + 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..0f0925b79 --- /dev/null +++ b/beta_64_hu.html @@ -0,0 +1,54 @@ + + + + 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..353fbf1cb --- /dev/null +++ b/beta_64_ie.html @@ -0,0 +1,53 @@ + + + + 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..28f00703a --- /dev/null +++ b/beta_64_it.html @@ -0,0 +1,54 @@ + + + + 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..5a8b61cb9 --- /dev/null +++ b/beta_64_ja.html @@ -0,0 +1,53 @@ + + + + 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..937e8a9a4 --- /dev/null +++ b/beta_64_ko.html @@ -0,0 +1,53 @@ + + + + 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..dab9f1979 --- /dev/null +++ b/beta_64_pl.html @@ -0,0 +1,53 @@ + + + + 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..d9ef95c03 --- /dev/null +++ b/beta_64_pt-br.html @@ -0,0 +1,53 @@ + + + + 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..6a2b18906 --- /dev/null +++ b/beta_64_ro.html @@ -0,0 +1,53 @@ + + + + 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..d2824d9a0 --- /dev/null +++ b/beta_64_ru.html @@ -0,0 +1,53 @@ + + + + Тур по 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..86545eb9f --- /dev/null +++ b/beta_64_th.html @@ -0,0 +1,53 @@ + + + + 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..497f6ef7b --- /dev/null +++ b/beta_64_tr.html @@ -0,0 +1,53 @@ + + + + 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..82add75df --- /dev/null +++ b/beta_64_ua.html @@ -0,0 +1,53 @@ + + + + Тур по 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..ac6a8e225 --- /dev/null +++ b/beta_64_vi.html @@ -0,0 +1,53 @@ + + + + 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..1d7958666 --- /dev/null +++ b/beta_64_zh-cn.html @@ -0,0 +1,53 @@ + + + + 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..afb5a9e94 --- /dev/null +++ b/beta_64_zh-tw.html @@ -0,0 +1,53 @@ + + + + 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..17169a42a --- /dev/null +++ b/beta_65_ar.html @@ -0,0 +1,61 @@ + + + + دورة تعلم رست (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..1836df4e9 --- /dev/null +++ b/beta_65_de.html @@ -0,0 +1,61 @@ + + + + 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..8708ae5de --- /dev/null +++ b/beta_65_en.html @@ -0,0 +1,61 @@ + + + + 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..b58a122ac --- /dev/null +++ b/beta_65_es.html @@ -0,0 +1,61 @@ + + + + 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..28b2c9442 --- /dev/null +++ b/beta_65_fa.html @@ -0,0 +1,61 @@ + + + + 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..8bd643651 --- /dev/null +++ b/beta_65_fr.html @@ -0,0 +1,63 @@ + + + + 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..a38d13f7a --- /dev/null +++ b/beta_65_hu.html @@ -0,0 +1,65 @@ + + + + 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..2f790df43 --- /dev/null +++ b/beta_65_ie.html @@ -0,0 +1,62 @@ + + + + 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..049215a3f --- /dev/null +++ b/beta_65_it.html @@ -0,0 +1,61 @@ + + + + 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..c1d6d5c4b --- /dev/null +++ b/beta_65_ja.html @@ -0,0 +1,61 @@ + + + + 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..609668ba5 --- /dev/null +++ b/beta_65_ko.html @@ -0,0 +1,61 @@ + + + + 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..44e29f438 --- /dev/null +++ b/beta_65_pl.html @@ -0,0 +1,61 @@ + + + + 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..0716d5dcb --- /dev/null +++ b/beta_65_pt-br.html @@ -0,0 +1,61 @@ + + + + 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..674664bb8 --- /dev/null +++ b/beta_65_ro.html @@ -0,0 +1,61 @@ + + + + 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..05e1b724c --- /dev/null +++ b/beta_65_ru.html @@ -0,0 +1,61 @@ + + + + Тур по 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..813d58d64 --- /dev/null +++ b/beta_65_th.html @@ -0,0 +1,61 @@ + + + + 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..fceb02404 --- /dev/null +++ b/beta_65_tr.html @@ -0,0 +1,61 @@ + + + + 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..b64cfc9c9 --- /dev/null +++ b/beta_65_ua.html @@ -0,0 +1,61 @@ + + + + Тур по 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..f2919d3e0 --- /dev/null +++ b/beta_65_vi.html @@ -0,0 +1,61 @@ + + + + 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..a513273da --- /dev/null +++ b/beta_65_zh-cn.html @@ -0,0 +1,61 @@ + + + + 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..ad1e39b64 --- /dev/null +++ b/beta_65_zh-tw.html @@ -0,0 +1,61 @@ + + + + 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..8638b2042 --- /dev/null +++ b/beta_66_ar.html @@ -0,0 +1,54 @@ + + + + دورة تعلم رست (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..ad2c5aac9 --- /dev/null +++ b/beta_66_de.html @@ -0,0 +1,54 @@ + + + + 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..85dea3304 --- /dev/null +++ b/beta_66_en.html @@ -0,0 +1,54 @@ + + + + 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..57fd5c5c2 --- /dev/null +++ b/beta_66_es.html @@ -0,0 +1,54 @@ + + + + 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..2443976fe --- /dev/null +++ b/beta_66_fa.html @@ -0,0 +1,54 @@ + + + + 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..52ecaa6b0 --- /dev/null +++ b/beta_66_fr.html @@ -0,0 +1,57 @@ + + + + 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..fe0febd9f --- /dev/null +++ b/beta_66_hu.html @@ -0,0 +1,55 @@ + + + + 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..8b7894104 --- /dev/null +++ b/beta_66_ie.html @@ -0,0 +1,54 @@ + + + + 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..73194d6be --- /dev/null +++ b/beta_66_it.html @@ -0,0 +1,54 @@ + + + + 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..888500150 --- /dev/null +++ b/beta_66_ja.html @@ -0,0 +1,54 @@ + + + + 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..b26870aa2 --- /dev/null +++ b/beta_66_ko.html @@ -0,0 +1,54 @@ + + + + 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..350c16e88 --- /dev/null +++ b/beta_66_pl.html @@ -0,0 +1,54 @@ + + + + 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..6944c8e24 --- /dev/null +++ b/beta_66_pt-br.html @@ -0,0 +1,54 @@ + + + + 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..0f0b41b36 --- /dev/null +++ b/beta_66_ro.html @@ -0,0 +1,54 @@ + + + + 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..7963b8130 --- /dev/null +++ b/beta_66_ru.html @@ -0,0 +1,54 @@ + + + + Тур по 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..ededc419c --- /dev/null +++ b/beta_66_th.html @@ -0,0 +1,54 @@ + + + + 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..9aec4a5b1 --- /dev/null +++ b/beta_66_tr.html @@ -0,0 +1,54 @@ + + + + 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..41ebb8e02 --- /dev/null +++ b/beta_66_ua.html @@ -0,0 +1,54 @@ + + + + Тур по 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..5ebe6a846 --- /dev/null +++ b/beta_66_vi.html @@ -0,0 +1,54 @@ + + + + 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..9cc83407f --- /dev/null +++ b/beta_66_zh-cn.html @@ -0,0 +1,54 @@ + + + + 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..9eafc3003 --- /dev/null +++ b/beta_66_zh-tw.html @@ -0,0 +1,54 @@ + + + + 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..8f4e42047 --- /dev/null +++ b/beta_67_ar.html @@ -0,0 +1,63 @@ + + + + دورة تعلم رست (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..4edfaca74 --- /dev/null +++ b/beta_67_de.html @@ -0,0 +1,63 @@ + + + + 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..1c803f3cd --- /dev/null +++ b/beta_67_en.html @@ -0,0 +1,63 @@ + + + + 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..8f02971f7 --- /dev/null +++ b/beta_67_es.html @@ -0,0 +1,63 @@ + + + + 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..dff080b67 --- /dev/null +++ b/beta_67_fa.html @@ -0,0 +1,63 @@ + + + + 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..090568105 --- /dev/null +++ b/beta_67_fr.html @@ -0,0 +1,67 @@ + + + + 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..e06396516 --- /dev/null +++ b/beta_67_hu.html @@ -0,0 +1,66 @@ + + + + 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..d7cd8b784 --- /dev/null +++ b/beta_67_ie.html @@ -0,0 +1,63 @@ + + + + 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..57ab14575 --- /dev/null +++ b/beta_67_it.html @@ -0,0 +1,63 @@ + + + + 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..d81f4288d --- /dev/null +++ b/beta_67_ja.html @@ -0,0 +1,63 @@ + + + + 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..2cdc1883a --- /dev/null +++ b/beta_67_ko.html @@ -0,0 +1,63 @@ + + + + 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..c106c33d1 --- /dev/null +++ b/beta_67_pl.html @@ -0,0 +1,63 @@ + + + + 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..69dcab40b --- /dev/null +++ b/beta_67_pt-br.html @@ -0,0 +1,63 @@ + + + + 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..1be4d95d9 --- /dev/null +++ b/beta_67_ro.html @@ -0,0 +1,63 @@ + + + + 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..2569ff9b6 --- /dev/null +++ b/beta_67_ru.html @@ -0,0 +1,63 @@ + + + + Тур по 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..4758fc0ff --- /dev/null +++ b/beta_67_th.html @@ -0,0 +1,63 @@ + + + + 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..8cb14cf04 --- /dev/null +++ b/beta_67_tr.html @@ -0,0 +1,63 @@ + + + + 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..acff983f3 --- /dev/null +++ b/beta_67_ua.html @@ -0,0 +1,63 @@ + + + + Тур по 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..54a522e67 --- /dev/null +++ b/beta_67_vi.html @@ -0,0 +1,63 @@ + + + + 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..c27d101a7 --- /dev/null +++ b/beta_67_zh-cn.html @@ -0,0 +1,63 @@ + + + + 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..9deadfb9d --- /dev/null +++ b/beta_67_zh-tw.html @@ -0,0 +1,63 @@ + + + + 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..ac90dad44 --- /dev/null +++ b/beta_68_ar.html @@ -0,0 +1,53 @@ + + + + دورة تعلم رست (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..faa2ae50a --- /dev/null +++ b/beta_68_de.html @@ -0,0 +1,54 @@ + + + + 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..a4c733dcf --- /dev/null +++ b/beta_68_en.html @@ -0,0 +1,54 @@ + + + + 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..80f72481c --- /dev/null +++ b/beta_68_es.html @@ -0,0 +1,53 @@ + + + + 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..c39948a99 --- /dev/null +++ b/beta_68_fa.html @@ -0,0 +1,54 @@ + + + + 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..ab5ea557c --- /dev/null +++ b/beta_68_fr.html @@ -0,0 +1,54 @@ + + + + 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..82d82cfa5 --- /dev/null +++ b/beta_68_hu.html @@ -0,0 +1,54 @@ + + + + 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..e3c29156e --- /dev/null +++ b/beta_68_ie.html @@ -0,0 +1,54 @@ + + + + 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..64e024e50 --- /dev/null +++ b/beta_68_it.html @@ -0,0 +1,54 @@ + + + + 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..fb93bc899 --- /dev/null +++ b/beta_68_ja.html @@ -0,0 +1,53 @@ + + + + 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..7056eed16 --- /dev/null +++ b/beta_68_ko.html @@ -0,0 +1,54 @@ + + + + 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..7db73c727 --- /dev/null +++ b/beta_68_pl.html @@ -0,0 +1,54 @@ + + + + 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..9ea7a9511 --- /dev/null +++ b/beta_68_pt-br.html @@ -0,0 +1,53 @@ + + + + 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..23aa7f7c8 --- /dev/null +++ b/beta_68_ro.html @@ -0,0 +1,54 @@ + + + + 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..d19551a11 --- /dev/null +++ b/beta_68_ru.html @@ -0,0 +1,54 @@ + + + + Тур по 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..8b5c4c8eb --- /dev/null +++ b/beta_68_th.html @@ -0,0 +1,53 @@ + + + + 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..0518eba32 --- /dev/null +++ b/beta_68_tr.html @@ -0,0 +1,53 @@ + + + + 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..912b945da --- /dev/null +++ b/beta_68_ua.html @@ -0,0 +1,54 @@ + + + + Тур по 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..d8f7edd36 --- /dev/null +++ b/beta_68_vi.html @@ -0,0 +1,53 @@ + + + + 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..b052075d5 --- /dev/null +++ b/beta_68_zh-cn.html @@ -0,0 +1,53 @@ + + + + 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..cb6cdddff --- /dev/null +++ b/beta_68_zh-tw.html @@ -0,0 +1,53 @@ + + + + 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..96ada0164 --- /dev/null +++ b/beta_69_ar.html @@ -0,0 +1,53 @@ + + + + دورة تعلم رست (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..59220820a --- /dev/null +++ b/beta_69_de.html @@ -0,0 +1,53 @@ + + + + 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..4c581058d --- /dev/null +++ b/beta_69_en.html @@ -0,0 +1,53 @@ + + + + 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..e63609e16 --- /dev/null +++ b/beta_69_es.html @@ -0,0 +1,53 @@ + + + + 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..dc9e7746d --- /dev/null +++ b/beta_69_fa.html @@ -0,0 +1,53 @@ + + + + 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..03787841d --- /dev/null +++ b/beta_69_fr.html @@ -0,0 +1,53 @@ + + + + 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..006f5cf7b --- /dev/null +++ b/beta_69_hu.html @@ -0,0 +1,53 @@ + + + + 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..adb138b4f --- /dev/null +++ b/beta_69_ie.html @@ -0,0 +1,53 @@ + + + + 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..6ac794d12 --- /dev/null +++ b/beta_69_it.html @@ -0,0 +1,53 @@ + + + + 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..8ab707aee --- /dev/null +++ b/beta_69_ja.html @@ -0,0 +1,53 @@ + + + + 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..c164a68b6 --- /dev/null +++ b/beta_69_ko.html @@ -0,0 +1,53 @@ + + + + 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..3c290c177 --- /dev/null +++ b/beta_69_pl.html @@ -0,0 +1,53 @@ + + + + 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..8a5ccd8bb --- /dev/null +++ b/beta_69_pt-br.html @@ -0,0 +1,53 @@ + + + + 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..bc7086970 --- /dev/null +++ b/beta_69_ro.html @@ -0,0 +1,53 @@ + + + + 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..569695f50 --- /dev/null +++ b/beta_69_ru.html @@ -0,0 +1,53 @@ + + + + Тур по 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..28ba34ef4 --- /dev/null +++ b/beta_69_th.html @@ -0,0 +1,53 @@ + + + + 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..f76e7a044 --- /dev/null +++ b/beta_69_tr.html @@ -0,0 +1,53 @@ + + + + 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..fba8f1eed --- /dev/null +++ b/beta_69_ua.html @@ -0,0 +1,53 @@ + + + + Тур по 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..5bbbb6349 --- /dev/null +++ b/beta_69_vi.html @@ -0,0 +1,53 @@ + + + + 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..a4354d537 --- /dev/null +++ b/beta_69_zh-cn.html @@ -0,0 +1,53 @@ + + + + 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..3c82b02e0 --- /dev/null +++ b/beta_69_zh-tw.html @@ -0,0 +1,53 @@ + + + + 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..3e4816f55 --- /dev/null +++ b/beta_70_ar.html @@ -0,0 +1,55 @@ + + + + دورة تعلم رست (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..3e636d55c --- /dev/null +++ b/beta_70_de.html @@ -0,0 +1,55 @@ + + + + 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..344e9d7da --- /dev/null +++ b/beta_70_en.html @@ -0,0 +1,55 @@ + + + + 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..8290ece75 --- /dev/null +++ b/beta_70_es.html @@ -0,0 +1,55 @@ + + + + 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..1a70a7ebd --- /dev/null +++ b/beta_70_fa.html @@ -0,0 +1,55 @@ + + + + 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..e420ed905 --- /dev/null +++ b/beta_70_fr.html @@ -0,0 +1,59 @@ + + + + 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..3219ed0fb --- /dev/null +++ b/beta_70_hu.html @@ -0,0 +1,59 @@ + + + + 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..0c1eb9c87 --- /dev/null +++ b/beta_70_ie.html @@ -0,0 +1,55 @@ + + + + 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..25f99f6f3 --- /dev/null +++ b/beta_70_it.html @@ -0,0 +1,55 @@ + + + + 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..c8e625112 --- /dev/null +++ b/beta_70_ja.html @@ -0,0 +1,55 @@ + + + + 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..ee31038f7 --- /dev/null +++ b/beta_70_ko.html @@ -0,0 +1,55 @@ + + + + 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..020b3cb03 --- /dev/null +++ b/beta_70_pl.html @@ -0,0 +1,55 @@ + + + + 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..fb90b66dd --- /dev/null +++ b/beta_70_pt-br.html @@ -0,0 +1,55 @@ + + + + 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..8dc667da1 --- /dev/null +++ b/beta_70_ro.html @@ -0,0 +1,55 @@ + + + + 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..f4b66f4a9 --- /dev/null +++ b/beta_70_ru.html @@ -0,0 +1,55 @@ + + + + Тур по 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..68b5d554b --- /dev/null +++ b/beta_70_th.html @@ -0,0 +1,55 @@ + + + + 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..286c9284f --- /dev/null +++ b/beta_70_tr.html @@ -0,0 +1,55 @@ + + + + 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..60c533dd1 --- /dev/null +++ b/beta_70_ua.html @@ -0,0 +1,55 @@ + + + + Тур по 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..eae53f6fc --- /dev/null +++ b/beta_70_vi.html @@ -0,0 +1,55 @@ + + + + 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..83ad00d84 --- /dev/null +++ b/beta_70_zh-cn.html @@ -0,0 +1,55 @@ + + + + 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..d5e8915f9 --- /dev/null +++ b/beta_70_zh-tw.html @@ -0,0 +1,55 @@ + + + + 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..526044c31 --- /dev/null +++ b/beta_71_ar.html @@ -0,0 +1,54 @@ + + + + دورة تعلم رست (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..9a89ea05c --- /dev/null +++ b/beta_71_de.html @@ -0,0 +1,55 @@ + + + + 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..4951330d6 --- /dev/null +++ b/beta_71_en.html @@ -0,0 +1,56 @@ + + + + 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..eedd89976 --- /dev/null +++ b/beta_71_es.html @@ -0,0 +1,54 @@ + + + + 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..8a23d130e --- /dev/null +++ b/beta_71_fa.html @@ -0,0 +1,56 @@ + + + + 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..6d8e9014a --- /dev/null +++ b/beta_71_fr.html @@ -0,0 +1,56 @@ + + + + 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..5cb3e76ed --- /dev/null +++ b/beta_71_hu.html @@ -0,0 +1,56 @@ + + + + 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..fce048bf7 --- /dev/null +++ b/beta_71_ie.html @@ -0,0 +1,56 @@ + + + + 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..f92dde955 --- /dev/null +++ b/beta_71_it.html @@ -0,0 +1,56 @@ + + + + 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..c08ff5a23 --- /dev/null +++ b/beta_71_ja.html @@ -0,0 +1,54 @@ + + + + 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..33e1c4abb --- /dev/null +++ b/beta_71_ko.html @@ -0,0 +1,55 @@ + + + + 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..9646fa16b --- /dev/null +++ b/beta_71_pl.html @@ -0,0 +1,56 @@ + + + + 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..87fa1f081 --- /dev/null +++ b/beta_71_pt-br.html @@ -0,0 +1,54 @@ + + + + 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..a7e056eab --- /dev/null +++ b/beta_71_ro.html @@ -0,0 +1,55 @@ + + + + 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..1935cabc6 --- /dev/null +++ b/beta_71_ru.html @@ -0,0 +1,56 @@ + + + + Тур по 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..ba4d20449 --- /dev/null +++ b/beta_71_th.html @@ -0,0 +1,55 @@ + + + + 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..a426ee9e8 --- /dev/null +++ b/beta_71_tr.html @@ -0,0 +1,55 @@ + + + + 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..978efe83c --- /dev/null +++ b/beta_71_ua.html @@ -0,0 +1,56 @@ + + + + Тур по 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..4b5d1e5ef --- /dev/null +++ b/beta_71_vi.html @@ -0,0 +1,54 @@ + + + + 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..e24c8dc87 --- /dev/null +++ b/beta_71_zh-cn.html @@ -0,0 +1,54 @@ + + + + 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..4f5811c46 --- /dev/null +++ b/beta_71_zh-tw.html @@ -0,0 +1,54 @@ + + + + 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..2de6b814e --- /dev/null +++ b/beta_72_ar.html @@ -0,0 +1,52 @@ + + + + دورة تعلم رست (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..fd8dedfeb --- /dev/null +++ b/beta_72_de.html @@ -0,0 +1,54 @@ + + + + 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..0b56e146e --- /dev/null +++ b/beta_72_en.html @@ -0,0 +1,54 @@ + + + + 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..508743289 --- /dev/null +++ b/beta_72_es.html @@ -0,0 +1,52 @@ + + + + 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..734090fe1 --- /dev/null +++ b/beta_72_fa.html @@ -0,0 +1,54 @@ + + + + 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..4e1e56081 --- /dev/null +++ b/beta_72_fr.html @@ -0,0 +1,58 @@ + + + + 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..1aa2ef28c --- /dev/null +++ b/beta_72_hu.html @@ -0,0 +1,55 @@ + + + + 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..902b94f62 --- /dev/null +++ b/beta_72_ie.html @@ -0,0 +1,54 @@ + + + + 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..e1993587e --- /dev/null +++ b/beta_72_it.html @@ -0,0 +1,54 @@ + + + + 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..ff728f2e0 --- /dev/null +++ b/beta_72_ja.html @@ -0,0 +1,52 @@ + + + + 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..55d42d7bd --- /dev/null +++ b/beta_72_ko.html @@ -0,0 +1,54 @@ + + + + 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..add85ce10 --- /dev/null +++ b/beta_72_pl.html @@ -0,0 +1,54 @@ + + + + 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..aadeca34d --- /dev/null +++ b/beta_72_pt-br.html @@ -0,0 +1,52 @@ + + + + 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..52620ce36 --- /dev/null +++ b/beta_72_ro.html @@ -0,0 +1,54 @@ + + + + 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..37a47e807 --- /dev/null +++ b/beta_72_ru.html @@ -0,0 +1,54 @@ + + + + Тур по 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..0bdcdfc94 --- /dev/null +++ b/beta_72_th.html @@ -0,0 +1,52 @@ + + + + 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..2d48501bc --- /dev/null +++ b/beta_72_tr.html @@ -0,0 +1,52 @@ + + + + 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..3bd921bb0 --- /dev/null +++ b/beta_72_ua.html @@ -0,0 +1,54 @@ + + + + Тур по 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..6b436f544 --- /dev/null +++ b/beta_72_vi.html @@ -0,0 +1,52 @@ + + + + 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..4d105b0a6 --- /dev/null +++ b/beta_72_zh-cn.html @@ -0,0 +1,52 @@ + + + + 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..847e4a8ae --- /dev/null +++ b/beta_72_zh-tw.html @@ -0,0 +1,52 @@ + + + + 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..3bc27f750 --- /dev/null +++ b/beta_74_ar.html @@ -0,0 +1,57 @@ + + + + دورة تعلم رست (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..05e147c97 --- /dev/null +++ b/beta_74_en.html @@ -0,0 +1,57 @@ + + + + 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..2029ceeba --- /dev/null +++ b/beta_74_es.html @@ -0,0 +1,57 @@ + + + + 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..026076b20 --- /dev/null +++ b/beta_74_fa.html @@ -0,0 +1,57 @@ + + + + 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..062f60e2f --- /dev/null +++ b/beta_74_fr.html @@ -0,0 +1,62 @@ + + + + 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..1258396a9 --- /dev/null +++ b/beta_74_hu.html @@ -0,0 +1,61 @@ + + + + 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..5ec919b4e --- /dev/null +++ b/beta_74_ie.html @@ -0,0 +1,57 @@ + + + + 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_ja.html b/beta_74_ja.html new file mode 100644 index 000000000..941630526 --- /dev/null +++ b/beta_74_ja.html @@ -0,0 +1,57 @@ + + + + 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..86b24b642 --- /dev/null +++ b/beta_74_ko.html @@ -0,0 +1,57 @@ + + + + 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..ca286c245 --- /dev/null +++ b/beta_74_pl.html @@ -0,0 +1,57 @@ + + + + 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..9abe94c1f --- /dev/null +++ b/beta_74_pt-br.html @@ -0,0 +1,57 @@ + + + + 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..ebe86abbb --- /dev/null +++ b/beta_74_ro.html @@ -0,0 +1,57 @@ + + + + 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..8d724a7be --- /dev/null +++ b/beta_74_ru.html @@ -0,0 +1,57 @@ + + + + Тур по 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..393ff8274 --- /dev/null +++ b/beta_74_th.html @@ -0,0 +1,57 @@ + + + + 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..0cfcfd5f8 --- /dev/null +++ b/beta_74_tr.html @@ -0,0 +1,57 @@ + + + + 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..281b92458 --- /dev/null +++ b/beta_74_ua.html @@ -0,0 +1,57 @@ + + + + Тур по 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..e52e8e44c --- /dev/null +++ b/beta_74_vi.html @@ -0,0 +1,57 @@ + + + + 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..f364d8170 --- /dev/null +++ b/beta_74_zh-cn.html @@ -0,0 +1,57 @@ + + + + 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..13e05a6d4 --- /dev/null +++ b/beta_74_zh-tw.html @@ -0,0 +1,57 @@ + + + + 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..1b2199fe1 --- /dev/null +++ b/beta_75_ar.html @@ -0,0 +1,56 @@ + + + + دورة تعلم رست (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..737d94dfc --- /dev/null +++ b/beta_75_en.html @@ -0,0 +1,56 @@ + + + + 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..b34787b83 --- /dev/null +++ b/beta_75_es.html @@ -0,0 +1,56 @@ + + + + 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..119ac187a --- /dev/null +++ b/beta_75_fa.html @@ -0,0 +1,56 @@ + + + + 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..5dc34bd68 --- /dev/null +++ b/beta_75_fr.html @@ -0,0 +1,57 @@ + + + + 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..855e67cd2 --- /dev/null +++ b/beta_75_hu.html @@ -0,0 +1,57 @@ + + + + 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..add8f0197 --- /dev/null +++ b/beta_75_ie.html @@ -0,0 +1,56 @@ + + + + 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_ja.html b/beta_75_ja.html new file mode 100644 index 000000000..8396ae6fc --- /dev/null +++ b/beta_75_ja.html @@ -0,0 +1,56 @@ + + + + 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..9f2c3915c --- /dev/null +++ b/beta_75_ko.html @@ -0,0 +1,56 @@ + + + + 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..a081f4c78 --- /dev/null +++ b/beta_75_pl.html @@ -0,0 +1,56 @@ + + + + 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..06c3864a7 --- /dev/null +++ b/beta_75_pt-br.html @@ -0,0 +1,56 @@ + + + + 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..17acaae89 --- /dev/null +++ b/beta_75_ro.html @@ -0,0 +1,56 @@ + + + + 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..6bb69dc47 --- /dev/null +++ b/beta_75_ru.html @@ -0,0 +1,56 @@ + + + + Тур по 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..3871c396c --- /dev/null +++ b/beta_75_th.html @@ -0,0 +1,56 @@ + + + + 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..7ce44cc6e --- /dev/null +++ b/beta_75_tr.html @@ -0,0 +1,56 @@ + + + + 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..b4c8dbae5 --- /dev/null +++ b/beta_75_ua.html @@ -0,0 +1,56 @@ + + + + Тур по 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..b41665a6b --- /dev/null +++ b/beta_75_vi.html @@ -0,0 +1,56 @@ + + + + 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..56409fa05 --- /dev/null +++ b/beta_75_zh-cn.html @@ -0,0 +1,56 @@ + + + + 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..c8a3a2d8c --- /dev/null +++ b/beta_75_zh-tw.html @@ -0,0 +1,56 @@ + + + + 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..2b193a18b --- /dev/null +++ b/beta_76_ar.html @@ -0,0 +1,66 @@ + + + + دورة تعلم رست (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..4ff7707fc --- /dev/null +++ b/beta_76_en.html @@ -0,0 +1,66 @@ + + + + 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..df1e616db --- /dev/null +++ b/beta_76_es.html @@ -0,0 +1,66 @@ + + + + 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..598fe85e4 --- /dev/null +++ b/beta_76_fa.html @@ -0,0 +1,66 @@ + + + + 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..d4ec9805b --- /dev/null +++ b/beta_76_fr.html @@ -0,0 +1,70 @@ + + + + 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..e22360457 --- /dev/null +++ b/beta_76_hu.html @@ -0,0 +1,69 @@ + + + + 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..2dc8fad0e --- /dev/null +++ b/beta_76_ie.html @@ -0,0 +1,66 @@ + + + + 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_ja.html b/beta_76_ja.html new file mode 100644 index 000000000..f554c29d7 --- /dev/null +++ b/beta_76_ja.html @@ -0,0 +1,66 @@ + + + + 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..55846ff76 --- /dev/null +++ b/beta_76_ko.html @@ -0,0 +1,66 @@ + + + + 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..e19aeea20 --- /dev/null +++ b/beta_76_pl.html @@ -0,0 +1,66 @@ + + + + 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..65fe45819 --- /dev/null +++ b/beta_76_pt-br.html @@ -0,0 +1,66 @@ + + + + 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..b4cb66d94 --- /dev/null +++ b/beta_76_ro.html @@ -0,0 +1,66 @@ + + + + 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..41cab54b6 --- /dev/null +++ b/beta_76_ru.html @@ -0,0 +1,66 @@ + + + + Тур по 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..017790553 --- /dev/null +++ b/beta_76_th.html @@ -0,0 +1,66 @@ + + + + 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..a482ce5c8 --- /dev/null +++ b/beta_76_tr.html @@ -0,0 +1,66 @@ + + + + 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..758e776f5 --- /dev/null +++ b/beta_76_ua.html @@ -0,0 +1,66 @@ + + + + Тур по 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..827c195d5 --- /dev/null +++ b/beta_76_vi.html @@ -0,0 +1,66 @@ + + + + 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..b4868824e --- /dev/null +++ b/beta_76_zh-cn.html @@ -0,0 +1,66 @@ + + + + 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..e22a531d4 --- /dev/null +++ b/beta_76_zh-tw.html @@ -0,0 +1,66 @@ + + + + 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..709400983 --- /dev/null +++ b/beta_77_ar.html @@ -0,0 +1,55 @@ + + + + دورة تعلم رست (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..eb15f0812 --- /dev/null +++ b/beta_77_en.html @@ -0,0 +1,55 @@ + + + + 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..59174a224 --- /dev/null +++ b/beta_77_es.html @@ -0,0 +1,55 @@ + + + + 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..072362327 --- /dev/null +++ b/beta_77_fa.html @@ -0,0 +1,55 @@ + + + + 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..a7a911f7b --- /dev/null +++ b/beta_77_fr.html @@ -0,0 +1,57 @@ + + + + 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..8cf63c1ea --- /dev/null +++ b/beta_77_hu.html @@ -0,0 +1,55 @@ + + + + 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..34bb5c19a --- /dev/null +++ b/beta_77_ie.html @@ -0,0 +1,55 @@ + + + + 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_ja.html b/beta_77_ja.html new file mode 100644 index 000000000..d3b65d95b --- /dev/null +++ b/beta_77_ja.html @@ -0,0 +1,55 @@ + + + + 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..36c850c5f --- /dev/null +++ b/beta_77_ko.html @@ -0,0 +1,55 @@ + + + + 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..c98fbf9dd --- /dev/null +++ b/beta_77_pl.html @@ -0,0 +1,55 @@ + + + + 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..736c6f16e --- /dev/null +++ b/beta_77_pt-br.html @@ -0,0 +1,55 @@ + + + + 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..5cdbeb687 --- /dev/null +++ b/beta_77_ro.html @@ -0,0 +1,55 @@ + + + + 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..82d590e85 --- /dev/null +++ b/beta_77_ru.html @@ -0,0 +1,55 @@ + + + + Тур по 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..42396b2cd --- /dev/null +++ b/beta_77_th.html @@ -0,0 +1,55 @@ + + + + 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..2607a1ef2 --- /dev/null +++ b/beta_77_tr.html @@ -0,0 +1,55 @@ + + + + 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..e28772e1b --- /dev/null +++ b/beta_77_ua.html @@ -0,0 +1,55 @@ + + + + Тур по 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..bf7e7bdd1 --- /dev/null +++ b/beta_77_vi.html @@ -0,0 +1,55 @@ + + + + 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..6062b9218 --- /dev/null +++ b/beta_77_zh-cn.html @@ -0,0 +1,55 @@ + + + + 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..58db641c7 --- /dev/null +++ b/beta_77_zh-tw.html @@ -0,0 +1,55 @@ + + + + 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..b2d00d811 --- /dev/null +++ b/beta_78_ar.html @@ -0,0 +1,68 @@ + + + + دورة تعلم رست (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..2885f5478 --- /dev/null +++ b/beta_78_en.html @@ -0,0 +1,69 @@ + + + + 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..d6610c7a0 --- /dev/null +++ b/beta_78_es.html @@ -0,0 +1,68 @@ + + + + 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..804ec5efe --- /dev/null +++ b/beta_78_fa.html @@ -0,0 +1,69 @@ + + + + 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..85ccf4b1b --- /dev/null +++ b/beta_78_fr.html @@ -0,0 +1,73 @@ + + + + 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..fce303fc6 --- /dev/null +++ b/beta_78_hu.html @@ -0,0 +1,71 @@ + + + + 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..e74170833 --- /dev/null +++ b/beta_78_ie.html @@ -0,0 +1,69 @@ + + + + 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_ja.html b/beta_78_ja.html new file mode 100644 index 000000000..af0a06ef9 --- /dev/null +++ b/beta_78_ja.html @@ -0,0 +1,68 @@ + + + + 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..2a80c4e4e --- /dev/null +++ b/beta_78_ko.html @@ -0,0 +1,69 @@ + + + + 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..81d1619b8 --- /dev/null +++ b/beta_78_pl.html @@ -0,0 +1,69 @@ + + + + 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..b4b391a4e --- /dev/null +++ b/beta_78_pt-br.html @@ -0,0 +1,68 @@ + + + + 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..9d0081295 --- /dev/null +++ b/beta_78_ro.html @@ -0,0 +1,68 @@ + + + + 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..c635bb01d --- /dev/null +++ b/beta_78_ru.html @@ -0,0 +1,68 @@ + + + + Тур по 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..8061eede3 --- /dev/null +++ b/beta_78_th.html @@ -0,0 +1,69 @@ + + + + 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..ed9b23f51 --- /dev/null +++ b/beta_78_tr.html @@ -0,0 +1,68 @@ + + + + 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..4e2cf436f --- /dev/null +++ b/beta_78_ua.html @@ -0,0 +1,69 @@ + + + + Тур по 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..8d7d77c31 --- /dev/null +++ b/beta_78_vi.html @@ -0,0 +1,68 @@ + + + + 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..708fe5f7d --- /dev/null +++ b/beta_78_zh-cn.html @@ -0,0 +1,68 @@ + + + + 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..997738eba --- /dev/null +++ b/beta_78_zh-tw.html @@ -0,0 +1,68 @@ + + + + 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..7e2d3e5bc --- /dev/null +++ b/beta_79_ar.html @@ -0,0 +1,54 @@ + + + + دورة تعلم رست (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..1e120da97 --- /dev/null +++ b/beta_79_en.html @@ -0,0 +1,55 @@ + + + + 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..8dc7c05c4 --- /dev/null +++ b/beta_79_es.html @@ -0,0 +1,54 @@ + + + + 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..ec6aa4d6d --- /dev/null +++ b/beta_79_fa.html @@ -0,0 +1,55 @@ + + + + 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..b4d18f672 --- /dev/null +++ b/beta_79_fr.html @@ -0,0 +1,56 @@ + + + + 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..6adabddd3 --- /dev/null +++ b/beta_79_hu.html @@ -0,0 +1,55 @@ + + + + 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..e1709ebab --- /dev/null +++ b/beta_79_ie.html @@ -0,0 +1,55 @@ + + + + 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_ja.html b/beta_79_ja.html new file mode 100644 index 000000000..816b5fed6 --- /dev/null +++ b/beta_79_ja.html @@ -0,0 +1,54 @@ + + + + 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..872e7cb37 --- /dev/null +++ b/beta_79_ko.html @@ -0,0 +1,55 @@ + + + + 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..2f658c419 --- /dev/null +++ b/beta_79_pl.html @@ -0,0 +1,55 @@ + + + + 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..b4567f19e --- /dev/null +++ b/beta_79_pt-br.html @@ -0,0 +1,54 @@ + + + + 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..c5005fcfd --- /dev/null +++ b/beta_79_ro.html @@ -0,0 +1,54 @@ + + + + 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..e5c83fe80 --- /dev/null +++ b/beta_79_ru.html @@ -0,0 +1,54 @@ + + + + Тур по 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..a904baecc --- /dev/null +++ b/beta_79_th.html @@ -0,0 +1,54 @@ + + + + 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..e0aec58ab --- /dev/null +++ b/beta_79_tr.html @@ -0,0 +1,54 @@ + + + + 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..afb84b8bd --- /dev/null +++ b/beta_79_ua.html @@ -0,0 +1,54 @@ + + + + Тур по 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..838a1d226 --- /dev/null +++ b/beta_79_vi.html @@ -0,0 +1,54 @@ + + + + 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..d07e1d1cb --- /dev/null +++ b/beta_79_zh-cn.html @@ -0,0 +1,54 @@ + + + + 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..614d21642 --- /dev/null +++ b/beta_79_zh-tw.html @@ -0,0 +1,54 @@ + + + + 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..38fc3bee5 --- /dev/null +++ b/beta_80_ar.html @@ -0,0 +1,53 @@ + + + + دورة تعلم رست (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..a261f68d6 --- /dev/null +++ b/beta_80_en.html @@ -0,0 +1,53 @@ + + + + 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..bad6089d5 --- /dev/null +++ b/beta_80_es.html @@ -0,0 +1,53 @@ + + + + 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..afd38b5a0 --- /dev/null +++ b/beta_80_fa.html @@ -0,0 +1,53 @@ + + + + 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..66d5dc681 --- /dev/null +++ b/beta_80_fr.html @@ -0,0 +1,53 @@ + + + + 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..bf55dda05 --- /dev/null +++ b/beta_80_hu.html @@ -0,0 +1,53 @@ + + + + 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..b9e8690a3 --- /dev/null +++ b/beta_80_ie.html @@ -0,0 +1,53 @@ + + + + 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_ja.html b/beta_80_ja.html new file mode 100644 index 000000000..bf0c42d00 --- /dev/null +++ b/beta_80_ja.html @@ -0,0 +1,53 @@ + + + + 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..66e2cc9d4 --- /dev/null +++ b/beta_80_ko.html @@ -0,0 +1,53 @@ + + + + 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..697ad140e --- /dev/null +++ b/beta_80_pl.html @@ -0,0 +1,53 @@ + + + + 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..f7e0d3886 --- /dev/null +++ b/beta_80_pt-br.html @@ -0,0 +1,53 @@ + + + + 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..bfc7490e9 --- /dev/null +++ b/beta_80_ro.html @@ -0,0 +1,53 @@ + + + + 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..6bd5a512d --- /dev/null +++ b/beta_80_ru.html @@ -0,0 +1,53 @@ + + + + Тур по 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..99dce40b8 --- /dev/null +++ b/beta_80_th.html @@ -0,0 +1,53 @@ + + + + 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..c3ab4057a --- /dev/null +++ b/beta_80_tr.html @@ -0,0 +1,53 @@ + + + + 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..de908c307 --- /dev/null +++ b/beta_80_ua.html @@ -0,0 +1,53 @@ + + + + Тур по 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..a5979ab4d --- /dev/null +++ b/beta_80_vi.html @@ -0,0 +1,53 @@ + + + + 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..8944ee902 --- /dev/null +++ b/beta_80_zh-cn.html @@ -0,0 +1,53 @@ + + + + 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..63ba18434 --- /dev/null +++ b/beta_80_zh-tw.html @@ -0,0 +1,53 @@ + + + + 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..40e5534db --- /dev/null +++ b/beta_81_ar.html @@ -0,0 +1,63 @@ + + + + دورة تعلم رست (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..406e5358b --- /dev/null +++ b/beta_81_en.html @@ -0,0 +1,63 @@ + + + + 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..5fee96716 --- /dev/null +++ b/beta_81_es.html @@ -0,0 +1,63 @@ + + + + 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..1972e295c --- /dev/null +++ b/beta_81_fa.html @@ -0,0 +1,63 @@ + + + + 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..801b72477 --- /dev/null +++ b/beta_81_fr.html @@ -0,0 +1,69 @@ + + + + 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..796d6bcca --- /dev/null +++ b/beta_81_hu.html @@ -0,0 +1,68 @@ + + + + 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..5196ec7c3 --- /dev/null +++ b/beta_81_ie.html @@ -0,0 +1,58 @@ + + + + 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_ja.html b/beta_81_ja.html new file mode 100644 index 000000000..092da29e5 --- /dev/null +++ b/beta_81_ja.html @@ -0,0 +1,63 @@ + + + + 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..1040aa62a --- /dev/null +++ b/beta_81_ko.html @@ -0,0 +1,63 @@ + + + + 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..652a8fc04 --- /dev/null +++ b/beta_81_pl.html @@ -0,0 +1,63 @@ + + + + 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..d8b4713d1 --- /dev/null +++ b/beta_81_pt-br.html @@ -0,0 +1,63 @@ + + + + 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..946db25cf --- /dev/null +++ b/beta_81_ro.html @@ -0,0 +1,63 @@ + + + + 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..0021ae4cf --- /dev/null +++ b/beta_81_ru.html @@ -0,0 +1,63 @@ + + + + Тур по 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..ec76996a8 --- /dev/null +++ b/beta_81_th.html @@ -0,0 +1,63 @@ + + + + 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..2f48a2c3d --- /dev/null +++ b/beta_81_tr.html @@ -0,0 +1,63 @@ + + + + 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..fef56c761 --- /dev/null +++ b/beta_81_ua.html @@ -0,0 +1,63 @@ + + + + Тур по 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..17fe69f3d --- /dev/null +++ b/beta_81_vi.html @@ -0,0 +1,63 @@ + + + + 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..998c5967d --- /dev/null +++ b/beta_81_zh-cn.html @@ -0,0 +1,63 @@ + + + + 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..1cb644f66 --- /dev/null +++ b/beta_81_zh-tw.html @@ -0,0 +1,63 @@ + + + + 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..9e8f1520a --- /dev/null +++ b/beta_82_ar.html @@ -0,0 +1,56 @@ + + + + دورة تعلم رست (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..172ed767c --- /dev/null +++ b/beta_82_en.html @@ -0,0 +1,57 @@ + + + + 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..0d03e7100 --- /dev/null +++ b/beta_82_es.html @@ -0,0 +1,56 @@ + + + + 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..c89b5bd96 --- /dev/null +++ b/beta_82_fa.html @@ -0,0 +1,57 @@ + + + + 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..aa3479c87 --- /dev/null +++ b/beta_82_fr.html @@ -0,0 +1,61 @@ + + + + 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..d82c1e428 --- /dev/null +++ b/beta_82_hu.html @@ -0,0 +1,59 @@ + + + + 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..5de17c9ec --- /dev/null +++ b/beta_82_ie.html @@ -0,0 +1,57 @@ + + + + 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_ja.html b/beta_82_ja.html new file mode 100644 index 000000000..3de92712b --- /dev/null +++ b/beta_82_ja.html @@ -0,0 +1,56 @@ + + + + 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..fe7d4a122 --- /dev/null +++ b/beta_82_ko.html @@ -0,0 +1,57 @@ + + + + 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..e60b4daf3 --- /dev/null +++ b/beta_82_pl.html @@ -0,0 +1,57 @@ + + + + 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..c3d4f31d2 --- /dev/null +++ b/beta_82_pt-br.html @@ -0,0 +1,56 @@ + + + + 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..21cf1cc7e --- /dev/null +++ b/beta_82_ro.html @@ -0,0 +1,57 @@ + + + + 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..5a52c586b --- /dev/null +++ b/beta_82_ru.html @@ -0,0 +1,56 @@ + + + + Тур по 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..50b002e3f --- /dev/null +++ b/beta_82_th.html @@ -0,0 +1,56 @@ + + + + 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..0576c65cd --- /dev/null +++ b/beta_82_tr.html @@ -0,0 +1,56 @@ + + + + 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..53c2a78dd --- /dev/null +++ b/beta_82_ua.html @@ -0,0 +1,56 @@ + + + + Тур по 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..c77701472 --- /dev/null +++ b/beta_82_vi.html @@ -0,0 +1,57 @@ + + + + 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..ba2efb9f2 --- /dev/null +++ b/beta_82_zh-cn.html @@ -0,0 +1,56 @@ + + + + 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..92c7da4f0 --- /dev/null +++ b/beta_82_zh-tw.html @@ -0,0 +1,56 @@ + + + + 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..42bb9d2ca --- /dev/null +++ b/beta_83_ar.html @@ -0,0 +1,55 @@ + + + + دورة تعلم رست (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..f0e83c6b5 --- /dev/null +++ b/beta_83_en.html @@ -0,0 +1,56 @@ + + + + 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..a77a72f66 --- /dev/null +++ b/beta_83_es.html @@ -0,0 +1,55 @@ + + + + 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..a50af09bf --- /dev/null +++ b/beta_83_fa.html @@ -0,0 +1,56 @@ + + + + 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..01c606fbf --- /dev/null +++ b/beta_83_fr.html @@ -0,0 +1,62 @@ + + + + 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..e9d40e889 --- /dev/null +++ b/beta_83_hu.html @@ -0,0 +1,61 @@ + + + + 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..d9e658162 --- /dev/null +++ b/beta_83_ie.html @@ -0,0 +1,56 @@ + + + + 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_ja.html b/beta_83_ja.html new file mode 100644 index 000000000..2a53fc50f --- /dev/null +++ b/beta_83_ja.html @@ -0,0 +1,57 @@ + + + + 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..1aa8b6287 --- /dev/null +++ b/beta_83_ko.html @@ -0,0 +1,56 @@ + + + + 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..062a26d0e --- /dev/null +++ b/beta_83_pl.html @@ -0,0 +1,56 @@ + + + + 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..788a798ac --- /dev/null +++ b/beta_83_pt-br.html @@ -0,0 +1,56 @@ + + + + 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..ba131af30 --- /dev/null +++ b/beta_83_ro.html @@ -0,0 +1,59 @@ + + + + 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..a6c45f8fb --- /dev/null +++ b/beta_83_ru.html @@ -0,0 +1,56 @@ + + + + Тур по 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..5a6d3b18b --- /dev/null +++ b/beta_83_th.html @@ -0,0 +1,56 @@ + + + + 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..3494d8387 --- /dev/null +++ b/beta_83_tr.html @@ -0,0 +1,55 @@ + + + + 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..4af8fb21b --- /dev/null +++ b/beta_83_ua.html @@ -0,0 +1,56 @@ + + + + Тур по 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..94b5e9e1b --- /dev/null +++ b/beta_83_vi.html @@ -0,0 +1,55 @@ + + + + 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..9d8eab93d --- /dev/null +++ b/beta_83_zh-cn.html @@ -0,0 +1,55 @@ + + + + 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..06a5e334d --- /dev/null +++ b/beta_83_zh-tw.html @@ -0,0 +1,55 @@ + + + + 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..ce65122a9 --- /dev/null +++ b/beta_84_ar.html @@ -0,0 +1,62 @@ + + + + دورة تعلم رست (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..2af38c64e --- /dev/null +++ b/beta_84_en.html @@ -0,0 +1,64 @@ + + + + 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..f046ee7b8 --- /dev/null +++ b/beta_84_es.html @@ -0,0 +1,62 @@ + + + + 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..923c194f7 --- /dev/null +++ b/beta_84_fa.html @@ -0,0 +1,64 @@ + + + + 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..d751b11cd --- /dev/null +++ b/beta_84_fr.html @@ -0,0 +1,68 @@ + + + + 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..a1e28d324 --- /dev/null +++ b/beta_84_hu.html @@ -0,0 +1,67 @@ + + + + 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..210facc2c --- /dev/null +++ b/beta_84_ie.html @@ -0,0 +1,64 @@ + + + + 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_ja.html b/beta_84_ja.html new file mode 100644 index 000000000..27a602cb3 --- /dev/null +++ b/beta_84_ja.html @@ -0,0 +1,62 @@ + + + + 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..0eafb7306 --- /dev/null +++ b/beta_84_ko.html @@ -0,0 +1,64 @@ + + + + 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..52683dd00 --- /dev/null +++ b/beta_84_pl.html @@ -0,0 +1,64 @@ + + + + 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..baea01660 --- /dev/null +++ b/beta_84_pt-br.html @@ -0,0 +1,62 @@ + + + + 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..63f0a7e7c --- /dev/null +++ b/beta_84_ro.html @@ -0,0 +1,63 @@ + + + + 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..f83637f3d --- /dev/null +++ b/beta_84_ru.html @@ -0,0 +1,62 @@ + + + + Тур по 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..4381232b0 --- /dev/null +++ b/beta_84_th.html @@ -0,0 +1,62 @@ + + + + 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..235a38552 --- /dev/null +++ b/beta_84_tr.html @@ -0,0 +1,62 @@ + + + + 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..541231522 --- /dev/null +++ b/beta_84_ua.html @@ -0,0 +1,62 @@ + + + + Тур по 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..717d791dc --- /dev/null +++ b/beta_84_vi.html @@ -0,0 +1,62 @@ + + + + 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..f6f818924 --- /dev/null +++ b/beta_84_zh-cn.html @@ -0,0 +1,62 @@ + + + + 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..10de04a78 --- /dev/null +++ b/beta_84_zh-tw.html @@ -0,0 +1,62 @@ + + + + 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..197a01974 --- /dev/null +++ b/beta_85_ar.html @@ -0,0 +1,65 @@ + + + + دورة تعلم رست (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..7831f882c --- /dev/null +++ b/beta_85_en.html @@ -0,0 +1,65 @@ + + + + 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..5abb40b65 --- /dev/null +++ b/beta_85_es.html @@ -0,0 +1,65 @@ + + + + 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..444060059 --- /dev/null +++ b/beta_85_fa.html @@ -0,0 +1,65 @@ + + + + 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..10dece661 --- /dev/null +++ b/beta_85_fr.html @@ -0,0 +1,66 @@ + + + + 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..539e28336 --- /dev/null +++ b/beta_85_hu.html @@ -0,0 +1,65 @@ + + + + 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..bd6c4896e --- /dev/null +++ b/beta_85_ie.html @@ -0,0 +1,65 @@ + + + + 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_ja.html b/beta_85_ja.html new file mode 100644 index 000000000..4d13000ca --- /dev/null +++ b/beta_85_ja.html @@ -0,0 +1,65 @@ + + + + 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..c7dfe0c72 --- /dev/null +++ b/beta_85_ko.html @@ -0,0 +1,65 @@ + + + + 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..aa82b1b48 --- /dev/null +++ b/beta_85_pl.html @@ -0,0 +1,65 @@ + + + + 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..a3e7aa046 --- /dev/null +++ b/beta_85_pt-br.html @@ -0,0 +1,65 @@ + + + + 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..32e319d02 --- /dev/null +++ b/beta_85_ro.html @@ -0,0 +1,65 @@ + + + + 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..fa29a0196 --- /dev/null +++ b/beta_85_ru.html @@ -0,0 +1,65 @@ + + + + Тур по 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..defb6326b --- /dev/null +++ b/beta_85_th.html @@ -0,0 +1,65 @@ + + + + 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..e8e35ab76 --- /dev/null +++ b/beta_85_tr.html @@ -0,0 +1,65 @@ + + + + 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..4885a359c --- /dev/null +++ b/beta_85_ua.html @@ -0,0 +1,65 @@ + + + + Тур по 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..c7ae98962 --- /dev/null +++ b/beta_85_vi.html @@ -0,0 +1,65 @@ + + + + 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..c4db15d8e --- /dev/null +++ b/beta_85_zh-cn.html @@ -0,0 +1,65 @@ + + + + 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..a57cf4495 --- /dev/null +++ b/beta_85_zh-tw.html @@ -0,0 +1,65 @@ + + + + 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..95521b39a --- /dev/null +++ b/beta_86_ar.html @@ -0,0 +1,58 @@ + + + + دورة تعلم رست (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..65128fac5 --- /dev/null +++ b/beta_86_en.html @@ -0,0 +1,60 @@ + + + + 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..666036baf --- /dev/null +++ b/beta_86_es.html @@ -0,0 +1,58 @@ + + + + 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..d79a4f4a4 --- /dev/null +++ b/beta_86_fa.html @@ -0,0 +1,60 @@ + + + + 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..ac3beac5c --- /dev/null +++ b/beta_86_fr.html @@ -0,0 +1,62 @@ + + + + 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..76f570cd0 --- /dev/null +++ b/beta_86_hu.html @@ -0,0 +1,61 @@ + + + + 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..5f13c6e9f --- /dev/null +++ b/beta_86_ie.html @@ -0,0 +1,59 @@ + + + + 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_ja.html b/beta_86_ja.html new file mode 100644 index 000000000..918c9b3d9 --- /dev/null +++ b/beta_86_ja.html @@ -0,0 +1,58 @@ + + + + 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..46bc0eb72 --- /dev/null +++ b/beta_86_ko.html @@ -0,0 +1,59 @@ + + + + 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..ad54e825c --- /dev/null +++ b/beta_86_pl.html @@ -0,0 +1,60 @@ + + + + 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..3858a3624 --- /dev/null +++ b/beta_86_pt-br.html @@ -0,0 +1,58 @@ + + + + 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..7078d5660 --- /dev/null +++ b/beta_86_ro.html @@ -0,0 +1,59 @@ + + + + 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..6b313e806 --- /dev/null +++ b/beta_86_ru.html @@ -0,0 +1,58 @@ + + + + Тур по 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..dd86c0e08 --- /dev/null +++ b/beta_86_th.html @@ -0,0 +1,58 @@ + + + + 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..9c69dda01 --- /dev/null +++ b/beta_86_tr.html @@ -0,0 +1,57 @@ + + + + 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..938945aae --- /dev/null +++ b/beta_86_ua.html @@ -0,0 +1,58 @@ + + + + Тур по 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..5723d379f --- /dev/null +++ b/beta_86_vi.html @@ -0,0 +1,58 @@ + + + + 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..8049bd0fd --- /dev/null +++ b/beta_86_zh-cn.html @@ -0,0 +1,58 @@ + + + + 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..ba12658f2 --- /dev/null +++ b/beta_86_zh-tw.html @@ -0,0 +1,58 @@ + + + + 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..af2ff75ac --- /dev/null +++ b/beta_87_ar.html @@ -0,0 +1,64 @@ + + + + دورة تعلم رست (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..e7863133f --- /dev/null +++ b/beta_87_en.html @@ -0,0 +1,64 @@ + + + + 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..a676f573d --- /dev/null +++ b/beta_87_es.html @@ -0,0 +1,64 @@ + + + + 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..db5869ca7 --- /dev/null +++ b/beta_87_fa.html @@ -0,0 +1,64 @@ + + + + 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..778c2bf6e --- /dev/null +++ b/beta_87_fr.html @@ -0,0 +1,67 @@ + + + + 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..74252341a --- /dev/null +++ b/beta_87_hu.html @@ -0,0 +1,66 @@ + + + + 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..1b83f8380 --- /dev/null +++ b/beta_87_ie.html @@ -0,0 +1,66 @@ + + + + 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_ja.html b/beta_87_ja.html new file mode 100644 index 000000000..ef0ad43f6 --- /dev/null +++ b/beta_87_ja.html @@ -0,0 +1,64 @@ + + + + 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..7812c519b --- /dev/null +++ b/beta_87_ko.html @@ -0,0 +1,64 @@ + + + + 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..acc155d3e --- /dev/null +++ b/beta_87_pl.html @@ -0,0 +1,64 @@ + + + + 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..bc62c1345 --- /dev/null +++ b/beta_87_pt-br.html @@ -0,0 +1,64 @@ + + + + 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..5aad3cc27 --- /dev/null +++ b/beta_87_ro.html @@ -0,0 +1,64 @@ + + + + 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..1b37e5ecf --- /dev/null +++ b/beta_87_ru.html @@ -0,0 +1,64 @@ + + + + Тур по 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..7b499d215 --- /dev/null +++ b/beta_87_th.html @@ -0,0 +1,64 @@ + + + + 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..a6ac805e1 --- /dev/null +++ b/beta_87_tr.html @@ -0,0 +1,65 @@ + + + + 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..ff28cebdf --- /dev/null +++ b/beta_87_ua.html @@ -0,0 +1,64 @@ + + + + Тур по 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..e6983f1ad --- /dev/null +++ b/beta_87_vi.html @@ -0,0 +1,64 @@ + + + + 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..1c95cd865 --- /dev/null +++ b/beta_87_zh-cn.html @@ -0,0 +1,64 @@ + + + + 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..fd7fd0b8d --- /dev/null +++ b/beta_87_zh-tw.html @@ -0,0 +1,64 @@ + + + + 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..4a1404f08 --- /dev/null +++ b/beta_88_ar.html @@ -0,0 +1,56 @@ + + + + دورة تعلم رست (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..cc845c2d9 --- /dev/null +++ b/beta_88_en.html @@ -0,0 +1,60 @@ + + + + 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..b27457e0b --- /dev/null +++ b/beta_88_es.html @@ -0,0 +1,58 @@ + + + + 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..bf994d961 --- /dev/null +++ b/beta_88_fa.html @@ -0,0 +1,60 @@ + + + + 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..55f657da6 --- /dev/null +++ b/beta_88_fr.html @@ -0,0 +1,64 @@ + + + + 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..75e5d8da0 --- /dev/null +++ b/beta_88_hu.html @@ -0,0 +1,62 @@ + + + + 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..a636abc2f --- /dev/null +++ b/beta_88_ie.html @@ -0,0 +1,55 @@ + + + + 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..efcb86dd4 --- /dev/null +++ b/beta_88_ja.html @@ -0,0 +1,59 @@ + + + + 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..da62978d8 --- /dev/null +++ b/beta_88_ko.html @@ -0,0 +1,59 @@ + + + + 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..02f545ca4 --- /dev/null +++ b/beta_88_pl.html @@ -0,0 +1,60 @@ + + + + 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..7a7863a58 --- /dev/null +++ b/beta_88_pt-br.html @@ -0,0 +1,56 @@ + + + + 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..a5634ce8a --- /dev/null +++ b/beta_88_ro.html @@ -0,0 +1,58 @@ + + + + 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..314758384 --- /dev/null +++ b/beta_88_ru.html @@ -0,0 +1,58 @@ + + + + Тур по 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..74d5a79aa --- /dev/null +++ b/beta_88_th.html @@ -0,0 +1,57 @@ + + + + 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..92fb4adf1 --- /dev/null +++ b/beta_88_tr.html @@ -0,0 +1,56 @@ + + + + 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..0d1dc492e --- /dev/null +++ b/beta_88_ua.html @@ -0,0 +1,60 @@ + + + + Тур по 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..98eb7f23e --- /dev/null +++ b/beta_88_vi.html @@ -0,0 +1,56 @@ + + + + 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..910aa64d8 --- /dev/null +++ b/beta_88_zh-cn.html @@ -0,0 +1,57 @@ + + + + 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..6303996b5 --- /dev/null +++ b/beta_88_zh-tw.html @@ -0,0 +1,57 @@ + + + + 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..071a4aa34 --- /dev/null +++ b/beta_90_ar.html @@ -0,0 +1,51 @@ + + + + دورة تعلم رست (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..66e5c3a2e --- /dev/null +++ b/beta_90_en.html @@ -0,0 +1,55 @@ + + + + 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..534cc9196 --- /dev/null +++ b/beta_90_es.html @@ -0,0 +1,51 @@ + + + + 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..655432e57 --- /dev/null +++ b/beta_90_fa.html @@ -0,0 +1,55 @@ + + + + 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..0cb72b421 --- /dev/null +++ b/beta_90_fr.html @@ -0,0 +1,56 @@ + + + + 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..a7a322226 --- /dev/null +++ b/beta_90_hu.html @@ -0,0 +1,55 @@ + + + + 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..0739a5750 --- /dev/null +++ b/beta_90_ie.html @@ -0,0 +1,55 @@ + + + + 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..916d17836 --- /dev/null +++ b/beta_90_ko.html @@ -0,0 +1,54 @@ + + + + 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..9ee63ac6f --- /dev/null +++ b/beta_90_pl.html @@ -0,0 +1,55 @@ + + + + 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..181282d77 --- /dev/null +++ b/beta_90_pt-br.html @@ -0,0 +1,51 @@ + + + + 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..1c663f308 --- /dev/null +++ b/beta_90_ro.html @@ -0,0 +1,55 @@ + + + + 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..dd435c527 --- /dev/null +++ b/beta_90_ru.html @@ -0,0 +1,51 @@ + + + + Тур по 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..2702075a4 --- /dev/null +++ b/beta_90_th.html @@ -0,0 +1,52 @@ + + + + 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..4efb30532 --- /dev/null +++ b/beta_90_tr.html @@ -0,0 +1,51 @@ + + + + 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..04b90597c --- /dev/null +++ b/beta_90_ua.html @@ -0,0 +1,55 @@ + + + + Тур по 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..5a574be0f --- /dev/null +++ b/beta_90_vi.html @@ -0,0 +1,51 @@ + + + + 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..0f3e5c745 --- /dev/null +++ b/beta_90_zh-cn.html @@ -0,0 +1,51 @@ + + + + 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..e590d93a5 --- /dev/null +++ b/beta_91_ar.html @@ -0,0 +1,65 @@ + + + + دورة تعلم رست (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..2361b80cf --- /dev/null +++ b/beta_91_en.html @@ -0,0 +1,70 @@ + + + + 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..ecba4da4e --- /dev/null +++ b/beta_91_es.html @@ -0,0 +1,64 @@ + + + + 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..ce428271b --- /dev/null +++ b/beta_91_fa.html @@ -0,0 +1,69 @@ + + + + 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..43c9bc326 --- /dev/null +++ b/beta_91_fr.html @@ -0,0 +1,78 @@ + + + + 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..ae770e8bc --- /dev/null +++ b/beta_91_hu.html @@ -0,0 +1,71 @@ + + + + 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..0c3ab2262 --- /dev/null +++ b/beta_91_ie.html @@ -0,0 +1,69 @@ + + + + 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..ce8a294d0 --- /dev/null +++ b/beta_91_ko.html @@ -0,0 +1,69 @@ + + + + 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..761ea2067 --- /dev/null +++ b/beta_91_pl.html @@ -0,0 +1,70 @@ + + + + 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..24b28cd68 --- /dev/null +++ b/beta_91_pt-br.html @@ -0,0 +1,65 @@ + + + + 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..2e7343c6a --- /dev/null +++ b/beta_91_ro.html @@ -0,0 +1,71 @@ + + + + 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..5a0c1ea94 --- /dev/null +++ b/beta_91_ru.html @@ -0,0 +1,66 @@ + + + + Тур по 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..f571b98e3 --- /dev/null +++ b/beta_91_th.html @@ -0,0 +1,70 @@ + + + + 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..87146b936 --- /dev/null +++ b/beta_91_tr.html @@ -0,0 +1,65 @@ + + + + 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..a75460185 --- /dev/null +++ b/beta_91_ua.html @@ -0,0 +1,70 @@ + + + + Тур по 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..7bd3d6af6 --- /dev/null +++ b/beta_91_vi.html @@ -0,0 +1,65 @@ + + + + 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..262d112fc --- /dev/null +++ b/beta_91_zh-cn.html @@ -0,0 +1,65 @@ + + + + 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..ebeb7c554 --- /dev/null +++ b/beta_92_ar.html @@ -0,0 +1,57 @@ + + + + دورة تعلم رست (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..46957c31a --- /dev/null +++ b/beta_92_en.html @@ -0,0 +1,58 @@ + + + + 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..33b5383cb --- /dev/null +++ b/beta_92_es.html @@ -0,0 +1,57 @@ + + + + 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..d672ee001 --- /dev/null +++ b/beta_92_fa.html @@ -0,0 +1,58 @@ + + + + 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..7b043ab2c --- /dev/null +++ b/beta_92_fr.html @@ -0,0 +1,59 @@ + + + + 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..634ccc24f --- /dev/null +++ b/beta_92_hu.html @@ -0,0 +1,58 @@ + + + + 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..04c5b6398 --- /dev/null +++ b/beta_92_ie.html @@ -0,0 +1,58 @@ + + + + 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..23224eaef --- /dev/null +++ b/beta_92_ko.html @@ -0,0 +1,58 @@ + + + + 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..720436947 --- /dev/null +++ b/beta_92_pl.html @@ -0,0 +1,58 @@ + + + + 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..29c464ec4 --- /dev/null +++ b/beta_92_pt-br.html @@ -0,0 +1,57 @@ + + + + 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..d763b785c --- /dev/null +++ b/beta_92_ro.html @@ -0,0 +1,58 @@ + + + + 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..805493678 --- /dev/null +++ b/beta_92_ru.html @@ -0,0 +1,58 @@ + + + + Тур по 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..91c828294 --- /dev/null +++ b/beta_92_th.html @@ -0,0 +1,58 @@ + + + + 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..5bc667cb6 --- /dev/null +++ b/beta_92_tr.html @@ -0,0 +1,58 @@ + + + + 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..e1f5ccac2 --- /dev/null +++ b/beta_92_ua.html @@ -0,0 +1,58 @@ + + + + Тур по 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..92442bd9d --- /dev/null +++ b/beta_92_vi.html @@ -0,0 +1,57 @@ + + + + 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..b79cbebc5 --- /dev/null +++ b/beta_92_zh-cn.html @@ -0,0 +1,57 @@ + + + + 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..1204fc5de --- /dev/null +++ b/beta_93_ar.html @@ -0,0 +1,62 @@ + + + + دورة تعلم رست (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..dee0c2253 --- /dev/null +++ b/beta_93_en.html @@ -0,0 +1,63 @@ + + + + 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..0f16519b8 --- /dev/null +++ b/beta_93_es.html @@ -0,0 +1,62 @@ + + + + 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..e3b99d531 --- /dev/null +++ b/beta_93_fa.html @@ -0,0 +1,63 @@ + + + + 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..e0390fdc0 --- /dev/null +++ b/beta_93_fr.html @@ -0,0 +1,64 @@ + + + + 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..0f2188fd1 --- /dev/null +++ b/beta_93_hu.html @@ -0,0 +1,63 @@ + + + + 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..29bb4bfe7 --- /dev/null +++ b/beta_93_ie.html @@ -0,0 +1,63 @@ + + + + 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..3315e7dc3 --- /dev/null +++ b/beta_93_ko.html @@ -0,0 +1,63 @@ + + + + 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..a2d65e3a0 --- /dev/null +++ b/beta_93_pl.html @@ -0,0 +1,63 @@ + + + + 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..32a1aeeae --- /dev/null +++ b/beta_93_pt-br.html @@ -0,0 +1,62 @@ + + + + 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..214b8e96b --- /dev/null +++ b/beta_93_ro.html @@ -0,0 +1,63 @@ + + + + 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..e6e8c63b9 --- /dev/null +++ b/beta_93_ru.html @@ -0,0 +1,62 @@ + + + + Тур по 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..2be3f5fec --- /dev/null +++ b/beta_93_th.html @@ -0,0 +1,63 @@ + + + + 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..435957aa2 --- /dev/null +++ b/beta_93_tr.html @@ -0,0 +1,62 @@ + + + + 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..7b02b47d9 --- /dev/null +++ b/beta_93_ua.html @@ -0,0 +1,63 @@ + + + + Тур по 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..992b384e5 --- /dev/null +++ b/beta_93_vi.html @@ -0,0 +1,62 @@ + + + + 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..651aa7531 --- /dev/null +++ b/beta_93_zh-cn.html @@ -0,0 +1,62 @@ + + + + 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..d81996ba2 --- /dev/null +++ b/beta_94_ar.html @@ -0,0 +1,60 @@ + + + + دورة تعلم رست (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..0a9184666 --- /dev/null +++ b/beta_94_en.html @@ -0,0 +1,61 @@ + + + + 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..056f158c5 --- /dev/null +++ b/beta_94_es.html @@ -0,0 +1,60 @@ + + + + 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..c61eebf45 --- /dev/null +++ b/beta_94_fa.html @@ -0,0 +1,61 @@ + + + + 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..4c04bf7e2 --- /dev/null +++ b/beta_94_fr.html @@ -0,0 +1,64 @@ + + + + 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..1c2ada460 --- /dev/null +++ b/beta_94_hu.html @@ -0,0 +1,62 @@ + + + + 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..c17a96689 --- /dev/null +++ b/beta_94_ie.html @@ -0,0 +1,62 @@ + + + + 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..f430585db --- /dev/null +++ b/beta_94_ko.html @@ -0,0 +1,61 @@ + + + + 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..3bc3d011a --- /dev/null +++ b/beta_94_pl.html @@ -0,0 +1,61 @@ + + + + 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..41076becc --- /dev/null +++ b/beta_94_pt-br.html @@ -0,0 +1,60 @@ + + + + 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..de049a96b --- /dev/null +++ b/beta_94_ro.html @@ -0,0 +1,61 @@ + + + + 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..b8e951d53 --- /dev/null +++ b/beta_94_ru.html @@ -0,0 +1,60 @@ + + + + Тур по 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..a884f36f8 --- /dev/null +++ b/beta_94_th.html @@ -0,0 +1,60 @@ + + + + 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..7de52a0a6 --- /dev/null +++ b/beta_94_tr.html @@ -0,0 +1,60 @@ + + + + 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..c39ef46d6 --- /dev/null +++ b/beta_94_ua.html @@ -0,0 +1,61 @@ + + + + Тур по 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..a1a1e86fb --- /dev/null +++ b/beta_94_vi.html @@ -0,0 +1,60 @@ + + + + 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..916bd6515 --- /dev/null +++ b/beta_94_zh-cn.html @@ -0,0 +1,60 @@ + + + + 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..09915dcd6 --- /dev/null +++ b/beta_95_ar.html @@ -0,0 +1,55 @@ + + + + دورة تعلم رست (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..6d55ebfb6 --- /dev/null +++ b/beta_95_en.html @@ -0,0 +1,59 @@ + + + + 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..d45004222 --- /dev/null +++ b/beta_95_es.html @@ -0,0 +1,55 @@ + + + + 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..5d8dc91b1 --- /dev/null +++ b/beta_95_fa.html @@ -0,0 +1,59 @@ + + + + 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..0fa6921d6 --- /dev/null +++ b/beta_95_fr.html @@ -0,0 +1,63 @@ + + + + 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..8585a8b2b --- /dev/null +++ b/beta_95_hu.html @@ -0,0 +1,59 @@ + + + + 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..9539ee6bf --- /dev/null +++ b/beta_95_ie.html @@ -0,0 +1,59 @@ + + + + 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..12860d75d --- /dev/null +++ b/beta_95_ko.html @@ -0,0 +1,59 @@ + + + + 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..898109de8 --- /dev/null +++ b/beta_95_pl.html @@ -0,0 +1,59 @@ + + + + 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..33f8d131c --- /dev/null +++ b/beta_95_pt-br.html @@ -0,0 +1,55 @@ + + + + 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..dd4e9f01d --- /dev/null +++ b/beta_95_ro.html @@ -0,0 +1,59 @@ + + + + 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..77db54bd3 --- /dev/null +++ b/beta_95_ru.html @@ -0,0 +1,55 @@ + + + + Тур по 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..890108d7a --- /dev/null +++ b/beta_95_th.html @@ -0,0 +1,56 @@ + + + + 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..c2989f068 --- /dev/null +++ b/beta_95_tr.html @@ -0,0 +1,55 @@ + + + + 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..21471a327 --- /dev/null +++ b/beta_95_ua.html @@ -0,0 +1,59 @@ + + + + Тур по 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..22289658d --- /dev/null +++ b/beta_95_vi.html @@ -0,0 +1,55 @@ + + + + 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..e5df9e59b --- /dev/null +++ b/beta_95_zh-cn.html @@ -0,0 +1,55 @@ + + + + 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..1ff68daa2 --- /dev/null +++ b/beta_96_ar.html @@ -0,0 +1,57 @@ + + + + دورة تعلم رست (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..ebd69e9c1 --- /dev/null +++ b/beta_96_en.html @@ -0,0 +1,61 @@ + + + + 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..7251f41f8 --- /dev/null +++ b/beta_96_es.html @@ -0,0 +1,56 @@ + + + + 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..1c0b1e806 --- /dev/null +++ b/beta_96_fa.html @@ -0,0 +1,61 @@ + + + + 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..0375db0c9 --- /dev/null +++ b/beta_96_fr.html @@ -0,0 +1,65 @@ + + + + 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..41589f834 --- /dev/null +++ b/beta_96_hu.html @@ -0,0 +1,67 @@ + + + + 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..8f2f1a3a2 --- /dev/null +++ b/beta_96_ie.html @@ -0,0 +1,62 @@ + + + + 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..ce1db137f --- /dev/null +++ b/beta_96_ko.html @@ -0,0 +1,61 @@ + + + + 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..e38419c68 --- /dev/null +++ b/beta_96_pl.html @@ -0,0 +1,61 @@ + + + + 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..ec5b63ff8 --- /dev/null +++ b/beta_96_pt-br.html @@ -0,0 +1,57 @@ + + + + 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..67e2eedb1 --- /dev/null +++ b/beta_96_ro.html @@ -0,0 +1,61 @@ + + + + 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..0b46cf884 --- /dev/null +++ b/beta_96_ru.html @@ -0,0 +1,57 @@ + + + + Тур по 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..93494c0fe --- /dev/null +++ b/beta_96_th.html @@ -0,0 +1,58 @@ + + + + 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..5f988ae51 --- /dev/null +++ b/beta_96_tr.html @@ -0,0 +1,56 @@ + + + + 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..b9600e53e --- /dev/null +++ b/beta_96_ua.html @@ -0,0 +1,61 @@ + + + + Тур по 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..47e8399eb --- /dev/null +++ b/beta_96_vi.html @@ -0,0 +1,57 @@ + + + + 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..8ba88733b --- /dev/null +++ b/beta_96_zh-cn.html @@ -0,0 +1,57 @@ + + + + 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..71fa5cb91 --- /dev/null +++ b/beta_97_ar.html @@ -0,0 +1,60 @@ + + + + دورة تعلم رست (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..2938a51f9 --- /dev/null +++ b/beta_97_en.html @@ -0,0 +1,64 @@ + + + + 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..246ccc022 --- /dev/null +++ b/beta_97_es.html @@ -0,0 +1,60 @@ + + + + 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..fbfc4634d --- /dev/null +++ b/beta_97_fa.html @@ -0,0 +1,64 @@ + + + + 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..f32dc8686 --- /dev/null +++ b/beta_97_fr.html @@ -0,0 +1,72 @@ + + + + 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..e471947d0 --- /dev/null +++ b/beta_97_hu.html @@ -0,0 +1,70 @@ + + + + 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..8c3410bbf --- /dev/null +++ b/beta_97_ie.html @@ -0,0 +1,64 @@ + + + + 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..3d64d119c --- /dev/null +++ b/beta_97_ko.html @@ -0,0 +1,65 @@ + + + + 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..1572b813e --- /dev/null +++ b/beta_97_pl.html @@ -0,0 +1,64 @@ + + + + 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..cad352c06 --- /dev/null +++ b/beta_97_pt-br.html @@ -0,0 +1,60 @@ + + + + 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..5ba56ec80 --- /dev/null +++ b/beta_97_ro.html @@ -0,0 +1,64 @@ + + + + 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..f294f9e3d --- /dev/null +++ b/beta_97_ru.html @@ -0,0 +1,60 @@ + + + + Тур по 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..2886d7857 --- /dev/null +++ b/beta_97_th.html @@ -0,0 +1,61 @@ + + + + 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..e922a7731 --- /dev/null +++ b/beta_97_tr.html @@ -0,0 +1,60 @@ + + + + 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..a1fb0cc94 --- /dev/null +++ b/beta_97_ua.html @@ -0,0 +1,64 @@ + + + + Тур по 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..108dfb21e --- /dev/null +++ b/beta_97_vi.html @@ -0,0 +1,60 @@ + + + + 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..7c73da67f --- /dev/null +++ b/beta_97_zh-cn.html @@ -0,0 +1,62 @@ + + + + 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..fce56d3c4 --- /dev/null +++ b/beta_98_ar.html @@ -0,0 +1,54 @@ + + + + دورة تعلم رست (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..c871ea715 --- /dev/null +++ b/beta_98_en.html @@ -0,0 +1,54 @@ + + + + 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..2c13a12e6 --- /dev/null +++ b/beta_98_es.html @@ -0,0 +1,54 @@ + + + + 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..2c69e7384 --- /dev/null +++ b/beta_98_fa.html @@ -0,0 +1,54 @@ + + + + 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..a47cf5877 --- /dev/null +++ b/beta_98_fr.html @@ -0,0 +1,56 @@ + + + + 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..c2b1d31ac --- /dev/null +++ b/beta_98_hu.html @@ -0,0 +1,54 @@ + + + + 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..d214f2ad1 --- /dev/null +++ b/beta_98_ie.html @@ -0,0 +1,54 @@ + + + + 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..c5d6bb121 --- /dev/null +++ b/beta_98_ko.html @@ -0,0 +1,54 @@ + + + + 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..c4e5c6259 --- /dev/null +++ b/beta_98_pl.html @@ -0,0 +1,54 @@ + + + + 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..9123c2fc4 --- /dev/null +++ b/beta_98_pt-br.html @@ -0,0 +1,54 @@ + + + + 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..fc31d620d --- /dev/null +++ b/beta_98_ro.html @@ -0,0 +1,54 @@ + + + + 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..271171aef --- /dev/null +++ b/beta_98_ru.html @@ -0,0 +1,54 @@ + + + + Тур по 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..786c49a5d --- /dev/null +++ b/beta_98_th.html @@ -0,0 +1,54 @@ + + + + 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..15e760403 --- /dev/null +++ b/beta_98_tr.html @@ -0,0 +1,54 @@ + + + + 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..9770aba19 --- /dev/null +++ b/beta_98_ua.html @@ -0,0 +1,54 @@ + + + + Тур по 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..02728b586 --- /dev/null +++ b/beta_98_vi.html @@ -0,0 +1,54 @@ + + + + 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..e1960df5c --- /dev/null +++ b/beta_98_zh-cn.html @@ -0,0 +1,54 @@ + + + + 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..2e028961e --- /dev/null +++ b/beta_99_ar.html @@ -0,0 +1,57 @@ + + + + دورة تعلم رست (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..efc6e7d01 --- /dev/null +++ b/beta_99_en.html @@ -0,0 +1,61 @@ + + + + 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..c87ba7f98 --- /dev/null +++ b/beta_99_es.html @@ -0,0 +1,57 @@ + + + + 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..64759849a --- /dev/null +++ b/beta_99_fa.html @@ -0,0 +1,61 @@ + + + + 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..ccc0618e8 --- /dev/null +++ b/beta_99_fr.html @@ -0,0 +1,66 @@ + + + + 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..4532863e0 --- /dev/null +++ b/beta_99_hu.html @@ -0,0 +1,62 @@ + + + + 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..4a3fbc871 --- /dev/null +++ b/beta_99_ie.html @@ -0,0 +1,61 @@ + + + + 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..b78175987 --- /dev/null +++ b/beta_99_ko.html @@ -0,0 +1,61 @@ + + + + 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..08fec59de --- /dev/null +++ b/beta_99_pl.html @@ -0,0 +1,61 @@ + + + + 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..9cbf89390 --- /dev/null +++ b/beta_99_pt-br.html @@ -0,0 +1,57 @@ + + + + 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..919f16e60 --- /dev/null +++ b/beta_99_ro.html @@ -0,0 +1,61 @@ + + + + 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..95e17e1fc --- /dev/null +++ b/beta_99_ru.html @@ -0,0 +1,57 @@ + + + + Тур по 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..4b0a21992 --- /dev/null +++ b/beta_99_th.html @@ -0,0 +1,57 @@ + + + + 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..0e1f058f5 --- /dev/null +++ b/beta_99_tr.html @@ -0,0 +1,57 @@ + + + + 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..07bb75819 --- /dev/null +++ b/beta_99_ua.html @@ -0,0 +1,61 @@ + + + + Тур по 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..53e682c78 --- /dev/null +++ b/beta_99_vi.html @@ -0,0 +1,57 @@ + + + + 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..adc68eb57 --- /dev/null +++ b/beta_99_zh-cn.html @@ -0,0 +1,57 @@ + + + + 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..09ccf964e --- /dev/null +++ b/beta_chapter_10_ar.html @@ -0,0 +1,54 @@ + + + + دورة تعلم رست (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..13e3707dc --- /dev/null +++ b/beta_chapter_10_de.html @@ -0,0 +1,54 @@ + + + + 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..67a877fdd --- /dev/null +++ b/beta_chapter_10_en.html @@ -0,0 +1,55 @@ + + + + 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..8edf9d5d9 --- /dev/null +++ b/beta_chapter_10_es.html @@ -0,0 +1,51 @@ + + + + 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..475cfe5bf --- /dev/null +++ b/beta_chapter_10_fa.html @@ -0,0 +1,55 @@ + + + + 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..46821d57e --- /dev/null +++ b/beta_chapter_10_fr.html @@ -0,0 +1,58 @@ + + + + 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..4e06a93a4 --- /dev/null +++ b/beta_chapter_10_gr.html @@ -0,0 +1,54 @@ + + + + Ξενάγηση στη 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..df200bd65 --- /dev/null +++ b/beta_chapter_10_hu.html @@ -0,0 +1,56 @@ + + + + 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..288e20f1d --- /dev/null +++ b/beta_chapter_10_ie.html @@ -0,0 +1,51 @@ + + + + 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..fe7d3393a --- /dev/null +++ b/beta_chapter_10_ja.html @@ -0,0 +1,55 @@ + + + + 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..cfe9c9d28 --- /dev/null +++ b/beta_chapter_10_ko.html @@ -0,0 +1,55 @@ + + + + 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..d126ba287 --- /dev/null +++ b/beta_chapter_10_pl.html @@ -0,0 +1,55 @@ + + + + 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..399162724 --- /dev/null +++ b/beta_chapter_10_pt-br.html @@ -0,0 +1,51 @@ + + + + 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..10a9b3377 --- /dev/null +++ b/beta_chapter_10_ro.html @@ -0,0 +1,55 @@ + + + + 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..02aa435c4 --- /dev/null +++ b/beta_chapter_10_ru.html @@ -0,0 +1,55 @@ + + + + Тур по 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..5df20d665 --- /dev/null +++ b/beta_chapter_10_th.html @@ -0,0 +1,55 @@ + + + + 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..646bce65d --- /dev/null +++ b/beta_chapter_10_tr.html @@ -0,0 +1,56 @@ + + + + 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..e7a11ad92 --- /dev/null +++ b/beta_chapter_10_ua.html @@ -0,0 +1,55 @@ + + + + Тур по 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..51d5345b8 --- /dev/null +++ b/beta_chapter_10_vi.html @@ -0,0 +1,54 @@ + + + + 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..ed5597392 --- /dev/null +++ b/beta_chapter_10_zh-cn.html @@ -0,0 +1,54 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

尾声

+

我们很高兴你能完成 Rust 之旅。Ferris 和 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..fefa8dca4 --- /dev/null +++ b/beta_chapter_1_ar.html @@ -0,0 +1,53 @@ + + + + دورة تعلم رست (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..943de40f2 --- /dev/null +++ b/beta_chapter_1_de.html @@ -0,0 +1,53 @@ + + + + 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..e16582771 --- /dev/null +++ b/beta_chapter_1_en.html @@ -0,0 +1,53 @@ + + + + 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..98e5cbbf2 --- /dev/null +++ b/beta_chapter_1_es.html @@ -0,0 +1,52 @@ + + + + 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..a532d74e3 --- /dev/null +++ b/beta_chapter_1_fa.html @@ -0,0 +1,54 @@ + + + + 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..f76253543 --- /dev/null +++ b/beta_chapter_1_fi.html @@ -0,0 +1,53 @@ + + + + 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..ad3280511 --- /dev/null +++ b/beta_chapter_1_fr.html @@ -0,0 +1,54 @@ + + + + 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..db57647df --- /dev/null +++ b/beta_chapter_1_gr.html @@ -0,0 +1,52 @@ + + + + Ξενάγηση στη 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..25e478016 --- /dev/null +++ b/beta_chapter_1_hu.html @@ -0,0 +1,54 @@ + + + + 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..7023385cb --- /dev/null +++ b/beta_chapter_1_id.html @@ -0,0 +1,54 @@ + + + + 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..367db08c7 --- /dev/null +++ b/beta_chapter_1_ie.html @@ -0,0 +1,51 @@ + + + + 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..de95a9677 --- /dev/null +++ b/beta_chapter_1_it.html @@ -0,0 +1,53 @@ + + + + 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..fbbab9ffb --- /dev/null +++ b/beta_chapter_1_ja.html @@ -0,0 +1,52 @@ + + + + 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..5429016e0 --- /dev/null +++ b/beta_chapter_1_ko.html @@ -0,0 +1,54 @@ + + + + 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_pl.html b/beta_chapter_1_pl.html new file mode 100644 index 000000000..37cb13e6a --- /dev/null +++ b/beta_chapter_1_pl.html @@ -0,0 +1,53 @@ + + + + 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..5fa1c98be --- /dev/null +++ b/beta_chapter_1_pt-br.html @@ -0,0 +1,52 @@ + + + + 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..b6051a191 --- /dev/null +++ b/beta_chapter_1_ro.html @@ -0,0 +1,54 @@ + + + + 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..49179f949 --- /dev/null +++ b/beta_chapter_1_ru.html @@ -0,0 +1,55 @@ + + + + Тур по 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..d9dc357b5 --- /dev/null +++ b/beta_chapter_1_th.html @@ -0,0 +1,53 @@ + + + + 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..bd181af4d --- /dev/null +++ b/beta_chapter_1_tr.html @@ -0,0 +1,52 @@ + + + + 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..2fb68615c --- /dev/null +++ b/beta_chapter_1_ua.html @@ -0,0 +1,52 @@ + + + + Тур по 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..06cab1f28 --- /dev/null +++ b/beta_chapter_1_vi.html @@ -0,0 +1,53 @@ + + + + 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..7d0478568 --- /dev/null +++ b/beta_chapter_1_zh-cn.html @@ -0,0 +1,53 @@ + + + + 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..df102f970 --- /dev/null +++ b/beta_chapter_1_zh-tw.html @@ -0,0 +1,52 @@ + + + + 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_ar.html b/beta_chapter_2_ar.html new file mode 100644 index 000000000..ba282d98f --- /dev/null +++ b/beta_chapter_2_ar.html @@ -0,0 +1,52 @@ + + + + دورة تعلم رست (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..844a4f811 --- /dev/null +++ b/beta_chapter_2_de.html @@ -0,0 +1,54 @@ + + + + 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..bb255297e --- /dev/null +++ b/beta_chapter_2_en.html @@ -0,0 +1,53 @@ + + + + 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..b00c242ae --- /dev/null +++ b/beta_chapter_2_es.html @@ -0,0 +1,52 @@ + + + + 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..74b1404d1 --- /dev/null +++ b/beta_chapter_2_fa.html @@ -0,0 +1,53 @@ + + + + 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..52ba924d4 --- /dev/null +++ b/beta_chapter_2_fi.html @@ -0,0 +1,53 @@ + + + + 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..ac23b72f1 --- /dev/null +++ b/beta_chapter_2_fr.html @@ -0,0 +1,53 @@ + + + + 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..2ac0ef6d4 --- /dev/null +++ b/beta_chapter_2_gr.html @@ -0,0 +1,52 @@ + + + + Ξενάγηση στη 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..b96735ae4 --- /dev/null +++ b/beta_chapter_2_hu.html @@ -0,0 +1,52 @@ + + + + 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..8bd8af000 --- /dev/null +++ b/beta_chapter_2_id.html @@ -0,0 +1,52 @@ + + + + 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..e8c4c9bfb --- /dev/null +++ b/beta_chapter_2_ie.html @@ -0,0 +1,51 @@ + + + + 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..44091f1a8 --- /dev/null +++ b/beta_chapter_2_it.html @@ -0,0 +1,52 @@ + + + + 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..d9968c294 --- /dev/null +++ b/beta_chapter_2_ja.html @@ -0,0 +1,52 @@ + + + + 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..b920aed59 --- /dev/null +++ b/beta_chapter_2_ko.html @@ -0,0 +1,53 @@ + + + + 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..c784cb5c8 --- /dev/null +++ b/beta_chapter_2_pl.html @@ -0,0 +1,53 @@ + + + + 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..fc9c2cb03 --- /dev/null +++ b/beta_chapter_2_pt-br.html @@ -0,0 +1,52 @@ + + + + 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..813bc9b55 --- /dev/null +++ b/beta_chapter_2_ro.html @@ -0,0 +1,53 @@ + + + + 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..06dc03d11 --- /dev/null +++ b/beta_chapter_2_ru.html @@ -0,0 +1,53 @@ + + + + Тур по 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..cf9161bf6 --- /dev/null +++ b/beta_chapter_2_th.html @@ -0,0 +1,52 @@ + + + + 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..4abc58440 --- /dev/null +++ b/beta_chapter_2_tr.html @@ -0,0 +1,51 @@ + + + + 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..d781b0874 --- /dev/null +++ b/beta_chapter_2_ua.html @@ -0,0 +1,52 @@ + + + + Тур по 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..7d00880b3 --- /dev/null +++ b/beta_chapter_2_vi.html @@ -0,0 +1,53 @@ + + + + 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..922e4725d --- /dev/null +++ b/beta_chapter_2_zh-cn.html @@ -0,0 +1,51 @@ + + + + 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..314a3ff52 --- /dev/null +++ b/beta_chapter_2_zh-tw.html @@ -0,0 +1,52 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第二章 - 基本流程控制

+

在這個章節,我們會探討 Rust 裡的基本流程控制。 +如果你已經熟悉 C 相關語言,那你將會猶如處在自家廚房般,甚至偶爾會碰上一兩個驚喜呢!

+ +
+
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..6203293b6 --- /dev/null +++ b/beta_chapter_3_ar.html @@ -0,0 +1,51 @@ + + + + دورة تعلم رست (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..b76d16996 --- /dev/null +++ b/beta_chapter_3_de.html @@ -0,0 +1,53 @@ + + + + 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..8562f4ad8 --- /dev/null +++ b/beta_chapter_3_en.html @@ -0,0 +1,53 @@ + + + + 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..e2714e839 --- /dev/null +++ b/beta_chapter_3_es.html @@ -0,0 +1,53 @@ + + + + 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..396f4cc25 --- /dev/null +++ b/beta_chapter_3_fa.html @@ -0,0 +1,53 @@ + + + + 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..a9cc895d4 --- /dev/null +++ b/beta_chapter_3_fr.html @@ -0,0 +1,54 @@ + + + + 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..61e28cbdf --- /dev/null +++ b/beta_chapter_3_gr.html @@ -0,0 +1,51 @@ + + + + Ξενάγηση στη 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..f233829af --- /dev/null +++ b/beta_chapter_3_hu.html @@ -0,0 +1,53 @@ + + + + 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..f5cf0c070 --- /dev/null +++ b/beta_chapter_3_ie.html @@ -0,0 +1,53 @@ + + + + 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..0cddbe1d3 --- /dev/null +++ b/beta_chapter_3_it.html @@ -0,0 +1,51 @@ + + + + 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..065dc1ed9 --- /dev/null +++ b/beta_chapter_3_ja.html @@ -0,0 +1,52 @@ + + + + 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..0617026c3 --- /dev/null +++ b/beta_chapter_3_ko.html @@ -0,0 +1,54 @@ + + + + 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..b83105eca --- /dev/null +++ b/beta_chapter_3_pl.html @@ -0,0 +1,53 @@ + + + + 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..e9f88d64e --- /dev/null +++ b/beta_chapter_3_pt-br.html @@ -0,0 +1,51 @@ + + + + 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..adbf5db1a --- /dev/null +++ b/beta_chapter_3_ro.html @@ -0,0 +1,53 @@ + + + + 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..fee2abfb2 --- /dev/null +++ b/beta_chapter_3_ru.html @@ -0,0 +1,52 @@ + + + + Тур по 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..1c7906cb9 --- /dev/null +++ b/beta_chapter_3_th.html @@ -0,0 +1,55 @@ + + + + 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..e34be10bf --- /dev/null +++ b/beta_chapter_3_tr.html @@ -0,0 +1,52 @@ + + + + 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..a5248a9bd --- /dev/null +++ b/beta_chapter_3_ua.html @@ -0,0 +1,52 @@ + + + + Тур по 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..415138ef8 --- /dev/null +++ b/beta_chapter_3_vi.html @@ -0,0 +1,51 @@ + + + + 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..b13433225 --- /dev/null +++ b/beta_chapter_3_zh-cn.html @@ -0,0 +1,52 @@ + + + + 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..13f7650be --- /dev/null +++ b/beta_chapter_3_zh-tw.html @@ -0,0 +1,51 @@ + + + + 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..1b64caa7c --- /dev/null +++ b/beta_chapter_4_ar.html @@ -0,0 +1,51 @@ + + + + دورة تعلم رست (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..fea0e7610 --- /dev/null +++ b/beta_chapter_4_de.html @@ -0,0 +1,53 @@ + + + + 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..0320390c7 --- /dev/null +++ b/beta_chapter_4_en.html @@ -0,0 +1,54 @@ + + + + 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..d213c256a --- /dev/null +++ b/beta_chapter_4_es.html @@ -0,0 +1,53 @@ + + + + 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..ccdbd74e7 --- /dev/null +++ b/beta_chapter_4_fa.html @@ -0,0 +1,54 @@ + + + + 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..a6ea548de --- /dev/null +++ b/beta_chapter_4_fr.html @@ -0,0 +1,54 @@ + + + + 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..26f42f67f --- /dev/null +++ b/beta_chapter_4_gr.html @@ -0,0 +1,51 @@ + + + + Ξενάγηση στη 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..6a32a1344 --- /dev/null +++ b/beta_chapter_4_hu.html @@ -0,0 +1,54 @@ + + + + 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..20343a50f --- /dev/null +++ b/beta_chapter_4_ie.html @@ -0,0 +1,54 @@ + + + + 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..a30fe1f30 --- /dev/null +++ b/beta_chapter_4_it.html @@ -0,0 +1,54 @@ + + + + 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..4bae7b4a6 --- /dev/null +++ b/beta_chapter_4_ja.html @@ -0,0 +1,53 @@ + + + + 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..705d7b56d --- /dev/null +++ b/beta_chapter_4_ko.html @@ -0,0 +1,53 @@ + + + + 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..b1edcbf74 --- /dev/null +++ b/beta_chapter_4_pl.html @@ -0,0 +1,52 @@ + + + + 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..3ed6d1f9d --- /dev/null +++ b/beta_chapter_4_pt-br.html @@ -0,0 +1,51 @@ + + + + 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..0dc145ee5 --- /dev/null +++ b/beta_chapter_4_ro.html @@ -0,0 +1,54 @@ + + + + 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..f5bb0a0b3 --- /dev/null +++ b/beta_chapter_4_ru.html @@ -0,0 +1,54 @@ + + + + Тур по 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..bd05ade5d --- /dev/null +++ b/beta_chapter_4_th.html @@ -0,0 +1,51 @@ + + + + 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..df79f5ca4 --- /dev/null +++ b/beta_chapter_4_tr.html @@ -0,0 +1,51 @@ + + + + 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..d9dda4582 --- /dev/null +++ b/beta_chapter_4_ua.html @@ -0,0 +1,52 @@ + + + + Тур по 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..a7729dac0 --- /dev/null +++ b/beta_chapter_4_vi.html @@ -0,0 +1,51 @@ + + + + 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..4a29509c1 --- /dev/null +++ b/beta_chapter_4_zh-cn.html @@ -0,0 +1,52 @@ + + + + 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..44b741292 --- /dev/null +++ b/beta_chapter_4_zh-tw.html @@ -0,0 +1,51 @@ + + + + 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..06c1350a0 --- /dev/null +++ b/beta_chapter_5_ar.html @@ -0,0 +1,51 @@ + + + + دورة تعلم رست (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..f3c8ac5c2 --- /dev/null +++ b/beta_chapter_5_de.html @@ -0,0 +1,53 @@ + + + + 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..dc025023c --- /dev/null +++ b/beta_chapter_5_en.html @@ -0,0 +1,53 @@ + + + + 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..a3470c7d4 --- /dev/null +++ b/beta_chapter_5_es.html @@ -0,0 +1,51 @@ + + + + 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..9bd1a3bc0 --- /dev/null +++ b/beta_chapter_5_fa.html @@ -0,0 +1,53 @@ + + + + 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..3b054d91a --- /dev/null +++ b/beta_chapter_5_fr.html @@ -0,0 +1,55 @@ + + + + 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..dd5c270c1 --- /dev/null +++ b/beta_chapter_5_gr.html @@ -0,0 +1,51 @@ + + + + Ξενάγηση στη 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..44fc8bacf --- /dev/null +++ b/beta_chapter_5_hu.html @@ -0,0 +1,54 @@ + + + + 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..a8c360ab3 --- /dev/null +++ b/beta_chapter_5_ie.html @@ -0,0 +1,53 @@ + + + + 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..235bc2a21 --- /dev/null +++ b/beta_chapter_5_it.html @@ -0,0 +1,53 @@ + + + + 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..e8fd21361 --- /dev/null +++ b/beta_chapter_5_ja.html @@ -0,0 +1,54 @@ + + + + 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..613a42c2b --- /dev/null +++ b/beta_chapter_5_ko.html @@ -0,0 +1,53 @@ + + + + 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..a9608ee27 --- /dev/null +++ b/beta_chapter_5_pl.html @@ -0,0 +1,53 @@ + + + + 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..07432b24c --- /dev/null +++ b/beta_chapter_5_pt-br.html @@ -0,0 +1,51 @@ + + + + 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..0c741db18 --- /dev/null +++ b/beta_chapter_5_ro.html @@ -0,0 +1,53 @@ + + + + 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..771411c10 --- /dev/null +++ b/beta_chapter_5_ru.html @@ -0,0 +1,51 @@ + + + + Тур по 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..ec4994648 --- /dev/null +++ b/beta_chapter_5_th.html @@ -0,0 +1,53 @@ + + + + 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..4ced5fb4a --- /dev/null +++ b/beta_chapter_5_tr.html @@ -0,0 +1,51 @@ + + + + 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..39313a09a --- /dev/null +++ b/beta_chapter_5_ua.html @@ -0,0 +1,53 @@ + + + + Тур по 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..e035a70a9 --- /dev/null +++ b/beta_chapter_5_vi.html @@ -0,0 +1,51 @@ + + + + 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..862170e6c --- /dev/null +++ b/beta_chapter_5_zh-cn.html @@ -0,0 +1,51 @@ + + + + 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..5d7990869 --- /dev/null +++ b/beta_chapter_5_zh-tw.html @@ -0,0 +1,51 @@ + + + + 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..04181d886 --- /dev/null +++ b/beta_chapter_6_ar.html @@ -0,0 +1,53 @@ + + + + دورة تعلم رست (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..a453dff57 --- /dev/null +++ b/beta_chapter_6_de.html @@ -0,0 +1,53 @@ + + + + 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..550e12510 --- /dev/null +++ b/beta_chapter_6_en.html @@ -0,0 +1,53 @@ + + + + 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..7b10c0ae5 --- /dev/null +++ b/beta_chapter_6_es.html @@ -0,0 +1,51 @@ + + + + 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..864eff1a6 --- /dev/null +++ b/beta_chapter_6_fa.html @@ -0,0 +1,53 @@ + + + + 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..df63258e9 --- /dev/null +++ b/beta_chapter_6_fr.html @@ -0,0 +1,55 @@ + + + + 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..93cd50b6d --- /dev/null +++ b/beta_chapter_6_hu.html @@ -0,0 +1,55 @@ + + + + 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..021dd87b0 --- /dev/null +++ b/beta_chapter_6_ie.html @@ -0,0 +1,53 @@ + + + + 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..23245608f --- /dev/null +++ b/beta_chapter_6_it.html @@ -0,0 +1,53 @@ + + + + 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..0350b1007 --- /dev/null +++ b/beta_chapter_6_ja.html @@ -0,0 +1,53 @@ + + + + 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..4459b93fb --- /dev/null +++ b/beta_chapter_6_ko.html @@ -0,0 +1,53 @@ + + + + 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..c15383250 --- /dev/null +++ b/beta_chapter_6_pl.html @@ -0,0 +1,53 @@ + + + + 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..cf8a341c3 --- /dev/null +++ b/beta_chapter_6_pt-br.html @@ -0,0 +1,52 @@ + + + + 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..2838641a2 --- /dev/null +++ b/beta_chapter_6_ro.html @@ -0,0 +1,53 @@ + + + + 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..4d6e64438 --- /dev/null +++ b/beta_chapter_6_ru.html @@ -0,0 +1,53 @@ + + + + Тур по 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..3c0aa2d89 --- /dev/null +++ b/beta_chapter_6_th.html @@ -0,0 +1,52 @@ + + + + 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..3df070d54 --- /dev/null +++ b/beta_chapter_6_tr.html @@ -0,0 +1,51 @@ + + + + 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..940f54b56 --- /dev/null +++ b/beta_chapter_6_ua.html @@ -0,0 +1,53 @@ + + + + Тур по 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..b99161869 --- /dev/null +++ b/beta_chapter_6_vi.html @@ -0,0 +1,52 @@ + + + + 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..b86fa4c95 --- /dev/null +++ b/beta_chapter_6_zh-cn.html @@ -0,0 +1,52 @@ + + + + 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..30b3c54e3 --- /dev/null +++ b/beta_chapter_6_zh-tw.html @@ -0,0 +1,52 @@ + + + + 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..4c64be6c9 --- /dev/null +++ b/beta_chapter_7_ar.html @@ -0,0 +1,51 @@ + + + + دورة تعلم رست (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..7c57a10c8 --- /dev/null +++ b/beta_chapter_7_en.html @@ -0,0 +1,54 @@ + + + + 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..7ad184d04 --- /dev/null +++ b/beta_chapter_7_es.html @@ -0,0 +1,51 @@ + + + + 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..f0760e5fc --- /dev/null +++ b/beta_chapter_7_fa.html @@ -0,0 +1,54 @@ + + + + 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..e48af8c55 --- /dev/null +++ b/beta_chapter_7_fr.html @@ -0,0 +1,56 @@ + + + + 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..7176337ba --- /dev/null +++ b/beta_chapter_7_hu.html @@ -0,0 +1,55 @@ + + + + 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..8369f08bf --- /dev/null +++ b/beta_chapter_7_ie.html @@ -0,0 +1,54 @@ + + + + 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_ja.html b/beta_chapter_7_ja.html new file mode 100644 index 000000000..52eea78f4 --- /dev/null +++ b/beta_chapter_7_ja.html @@ -0,0 +1,51 @@ + + + + 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..1f67d1ad5 --- /dev/null +++ b/beta_chapter_7_ko.html @@ -0,0 +1,54 @@ + + + + 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..f51b66899 --- /dev/null +++ b/beta_chapter_7_pl.html @@ -0,0 +1,54 @@ + + + + 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..79d025a8e --- /dev/null +++ b/beta_chapter_7_pt-br.html @@ -0,0 +1,51 @@ + + + + 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..fab676dcb --- /dev/null +++ b/beta_chapter_7_ro.html @@ -0,0 +1,53 @@ + + + + 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..39fa7689a --- /dev/null +++ b/beta_chapter_7_ru.html @@ -0,0 +1,51 @@ + + + + Тур по 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..72f12b1e0 --- /dev/null +++ b/beta_chapter_7_th.html @@ -0,0 +1,53 @@ + + + + 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..ac220046b --- /dev/null +++ b/beta_chapter_7_tr.html @@ -0,0 +1,53 @@ + + + + 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..8132378c3 --- /dev/null +++ b/beta_chapter_7_ua.html @@ -0,0 +1,54 @@ + + + + Тур по 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..d37c2f177 --- /dev/null +++ b/beta_chapter_7_vi.html @@ -0,0 +1,51 @@ + + + + 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..47bc55d87 --- /dev/null +++ b/beta_chapter_7_zh-cn.html @@ -0,0 +1,51 @@ + + + + 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..b75107c27 --- /dev/null +++ b/beta_chapter_7_zh-tw.html @@ -0,0 +1,52 @@ + + + + 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..bd2c4a0b9 --- /dev/null +++ b/beta_chapter_8_ar.html @@ -0,0 +1,53 @@ + + + + دورة تعلم رست (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..a1c9fb007 --- /dev/null +++ b/beta_chapter_8_en.html @@ -0,0 +1,56 @@ + + + + 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..44c579651 --- /dev/null +++ b/beta_chapter_8_es.html @@ -0,0 +1,52 @@ + + + + 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..89113a6d9 --- /dev/null +++ b/beta_chapter_8_fa.html @@ -0,0 +1,56 @@ + + + + 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..e4c772588 --- /dev/null +++ b/beta_chapter_8_fr.html @@ -0,0 +1,58 @@ + + + + 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..6533162a4 --- /dev/null +++ b/beta_chapter_8_hu.html @@ -0,0 +1,57 @@ + + + + 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..e85831d5c --- /dev/null +++ b/beta_chapter_8_ie.html @@ -0,0 +1,56 @@ + + + + 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..7062f2193 --- /dev/null +++ b/beta_chapter_8_ko.html @@ -0,0 +1,55 @@ + + + + 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..0476eccff --- /dev/null +++ b/beta_chapter_8_pl.html @@ -0,0 +1,56 @@ + + + + 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..a1a10de7a --- /dev/null +++ b/beta_chapter_8_pt-br.html @@ -0,0 +1,52 @@ + + + + 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..f90c2531f --- /dev/null +++ b/beta_chapter_8_ro.html @@ -0,0 +1,56 @@ + + + + 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..6ccfe90c6 --- /dev/null +++ b/beta_chapter_8_ru.html @@ -0,0 +1,52 @@ + + + + Тур по 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..4ff6dc389 --- /dev/null +++ b/beta_chapter_8_th.html @@ -0,0 +1,52 @@ + + + + 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..b5c81f0b3 --- /dev/null +++ b/beta_chapter_8_tr.html @@ -0,0 +1,52 @@ + + + + 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..a18818052 --- /dev/null +++ b/beta_chapter_8_ua.html @@ -0,0 +1,57 @@ + + + + Тур по 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..15bc4b483 --- /dev/null +++ b/beta_chapter_8_vi.html @@ -0,0 +1,52 @@ + + + + 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..c0d0089c9 --- /dev/null +++ b/beta_chapter_8_zh-cn.html @@ -0,0 +1,52 @@ + + + + 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..0fcb3d9c4 --- /dev/null +++ b/beta_chapter_9_ar.html @@ -0,0 +1,51 @@ + + + + دورة تعلم رست (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..0c0f661da --- /dev/null +++ b/beta_chapter_9_de.html @@ -0,0 +1,51 @@ + + + + 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..b7a75b7ed --- /dev/null +++ b/beta_chapter_9_en.html @@ -0,0 +1,51 @@ + + + + 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..4312430de --- /dev/null +++ b/beta_chapter_9_es.html @@ -0,0 +1,51 @@ + + + + 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..7fc290216 --- /dev/null +++ b/beta_chapter_9_fa.html @@ -0,0 +1,51 @@ + + + + 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..80cab0102 --- /dev/null +++ b/beta_chapter_9_fr.html @@ -0,0 +1,54 @@ + + + + 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..389bf6f46 --- /dev/null +++ b/beta_chapter_9_hu.html @@ -0,0 +1,52 @@ + + + + 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..cad719e4c --- /dev/null +++ b/beta_chapter_9_ie.html @@ -0,0 +1,51 @@ + + + + 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..d534b78a2 --- /dev/null +++ b/beta_chapter_9_ko.html @@ -0,0 +1,51 @@ + + + + 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..56ea53af1 --- /dev/null +++ b/beta_chapter_9_pl.html @@ -0,0 +1,51 @@ + + + + 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..37b2cd3fd --- /dev/null +++ b/beta_chapter_9_pt-br.html @@ -0,0 +1,51 @@ + + + + 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..4fff269b6 --- /dev/null +++ b/beta_chapter_9_ro.html @@ -0,0 +1,51 @@ + + + + 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..d56d68b6a --- /dev/null +++ b/beta_chapter_9_ru.html @@ -0,0 +1,51 @@ + + + + Тур по 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..783d7e742 --- /dev/null +++ b/beta_chapter_9_th.html @@ -0,0 +1,51 @@ + + + + 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..f89a304e6 --- /dev/null +++ b/beta_chapter_9_tr.html @@ -0,0 +1,51 @@ + + + + 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..d4e4ed464 --- /dev/null +++ b/beta_chapter_9_ua.html @@ -0,0 +1,51 @@ + + + + Тур по 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..7cd25b0e9 --- /dev/null +++ b/beta_chapter_9_vi.html @@ -0,0 +1,51 @@ + + + + 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..5bbe9d88e --- /dev/null +++ b/beta_chapter_9_zh-cn.html @@ -0,0 +1,51 @@ + + + + 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..475f95e2c --- /dev/null +++ b/beta_index.html @@ -0,0 +1,81 @@ + + + + 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_ar.html b/chapter_10_ar.html new file mode 100644 index 000000000..242f76d5b --- /dev/null +++ b/chapter_10_ar.html @@ -0,0 +1,54 @@ + + + + دورة تعلم رست (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..c8ace797d --- /dev/null +++ b/chapter_10_de.html @@ -0,0 +1,54 @@ + + + + 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..39c401916 --- /dev/null +++ b/chapter_10_en.html @@ -0,0 +1,55 @@ + + + + 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..2930a3e2d --- /dev/null +++ b/chapter_10_es.html @@ -0,0 +1,51 @@ + + + + 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..547d76624 --- /dev/null +++ b/chapter_10_fa.html @@ -0,0 +1,55 @@ + + + + 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..d3446115e --- /dev/null +++ b/chapter_10_fi.html @@ -0,0 +1,55 @@ + + + + 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..e55ecfad4 --- /dev/null +++ b/chapter_10_fr.html @@ -0,0 +1,58 @@ + + + + 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..11f9d7ba9 --- /dev/null +++ b/chapter_10_gr.html @@ -0,0 +1,54 @@ + + + + Ξενάγηση στη 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..48dcc5ccc --- /dev/null +++ b/chapter_10_hu.html @@ -0,0 +1,56 @@ + + + + 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..1d35c7a12 --- /dev/null +++ b/chapter_10_id.html @@ -0,0 +1,55 @@ + + + + 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..2803be694 --- /dev/null +++ b/chapter_10_ie.html @@ -0,0 +1,51 @@ + + + + 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..40e504213 --- /dev/null +++ b/chapter_10_it.html @@ -0,0 +1,55 @@ + + + + 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..8d6991204 --- /dev/null +++ b/chapter_10_ja.html @@ -0,0 +1,55 @@ + + + + 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..d2cd28dcf --- /dev/null +++ b/chapter_10_ko.html @@ -0,0 +1,55 @@ + + + + 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_pl.html b/chapter_10_pl.html new file mode 100644 index 000000000..4481fcaf1 --- /dev/null +++ b/chapter_10_pl.html @@ -0,0 +1,55 @@ + + + + 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..01a630ac8 --- /dev/null +++ b/chapter_10_pt-br.html @@ -0,0 +1,51 @@ + + + + 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..2004b8bb2 --- /dev/null +++ b/chapter_10_ro.html @@ -0,0 +1,55 @@ + + + + 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..dd9ba216e --- /dev/null +++ b/chapter_10_ru.html @@ -0,0 +1,55 @@ + + + + Тур по 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..698fd036f --- /dev/null +++ b/chapter_10_th.html @@ -0,0 +1,55 @@ + + + + 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..9346dd2cf --- /dev/null +++ b/chapter_10_tr.html @@ -0,0 +1,56 @@ + + + + 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..594fbd9d1 --- /dev/null +++ b/chapter_10_ua.html @@ -0,0 +1,55 @@ + + + + Тур по 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..e956e5c08 --- /dev/null +++ b/chapter_10_vi.html @@ -0,0 +1,54 @@ + + + + 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..b53d0cc6b --- /dev/null +++ b/chapter_10_zh-cn.html @@ -0,0 +1,54 @@ + + + + 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..cb988eaaa --- /dev/null +++ b/chapter_10_zh-tw.html @@ -0,0 +1,55 @@ + + + + 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_ar.html b/chapter_1_ar.html new file mode 100644 index 000000000..695706a03 --- /dev/null +++ b/chapter_1_ar.html @@ -0,0 +1,53 @@ + + + + دورة تعلم رست (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..a4c2538c5 --- /dev/null +++ b/chapter_1_de.html @@ -0,0 +1,53 @@ + + + + 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..ac1023d5b --- /dev/null +++ b/chapter_1_en.html @@ -0,0 +1,53 @@ + + + + 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..cf5521c85 --- /dev/null +++ b/chapter_1_es.html @@ -0,0 +1,52 @@ + + + + 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..7b844ae78 --- /dev/null +++ b/chapter_1_fa.html @@ -0,0 +1,54 @@ + + + + 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..232aee566 --- /dev/null +++ b/chapter_1_fi.html @@ -0,0 +1,53 @@ + + + + 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..c0d001aa6 --- /dev/null +++ b/chapter_1_fr.html @@ -0,0 +1,54 @@ + + + + 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..cbcfd3218 --- /dev/null +++ b/chapter_1_gr.html @@ -0,0 +1,52 @@ + + + + Ξενάγηση στη 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..1758610ac --- /dev/null +++ b/chapter_1_hu.html @@ -0,0 +1,54 @@ + + + + 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..4fcf2aee0 --- /dev/null +++ b/chapter_1_id.html @@ -0,0 +1,54 @@ + + + + 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..20c02fc95 --- /dev/null +++ b/chapter_1_ie.html @@ -0,0 +1,51 @@ + + + + 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..db1ca20e3 --- /dev/null +++ b/chapter_1_it.html @@ -0,0 +1,53 @@ + + + + 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..f45b50aee --- /dev/null +++ b/chapter_1_ja.html @@ -0,0 +1,52 @@ + + + + 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..b9ee6f57c --- /dev/null +++ b/chapter_1_ko.html @@ -0,0 +1,54 @@ + + + + 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_pl.html b/chapter_1_pl.html new file mode 100644 index 000000000..00bf27b98 --- /dev/null +++ b/chapter_1_pl.html @@ -0,0 +1,53 @@ + + + + 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..d9cbdd537 --- /dev/null +++ b/chapter_1_pt-br.html @@ -0,0 +1,52 @@ + + + + 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..bcad628c4 --- /dev/null +++ b/chapter_1_ro.html @@ -0,0 +1,54 @@ + + + + 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..97e310c30 --- /dev/null +++ b/chapter_1_ru.html @@ -0,0 +1,55 @@ + + + + Тур по 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..f888c35b8 --- /dev/null +++ b/chapter_1_th.html @@ -0,0 +1,53 @@ + + + + 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..b7480e25a --- /dev/null +++ b/chapter_1_tr.html @@ -0,0 +1,52 @@ + + + + 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..d566467c4 --- /dev/null +++ b/chapter_1_ua.html @@ -0,0 +1,52 @@ + + + + Тур по 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..9a0501f07 --- /dev/null +++ b/chapter_1_vi.html @@ -0,0 +1,53 @@ + + + + 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..5753c7a05 --- /dev/null +++ b/chapter_1_zh-cn.html @@ -0,0 +1,53 @@ + + + + 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..b91a11407 --- /dev/null +++ b/chapter_1_zh-tw.html @@ -0,0 +1,52 @@ + + + + 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_ar.html b/chapter_2_ar.html new file mode 100644 index 000000000..84c4973a1 --- /dev/null +++ b/chapter_2_ar.html @@ -0,0 +1,52 @@ + + + + دورة تعلم رست (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..45d4d1ce5 --- /dev/null +++ b/chapter_2_de.html @@ -0,0 +1,54 @@ + + + + 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..57190511e --- /dev/null +++ b/chapter_2_en.html @@ -0,0 +1,53 @@ + + + + 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..8edab0786 --- /dev/null +++ b/chapter_2_es.html @@ -0,0 +1,52 @@ + + + + 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..e034d417a --- /dev/null +++ b/chapter_2_fa.html @@ -0,0 +1,53 @@ + + + + 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..f189aa142 --- /dev/null +++ b/chapter_2_fi.html @@ -0,0 +1,53 @@ + + + + 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..8ef3a0dc1 --- /dev/null +++ b/chapter_2_fr.html @@ -0,0 +1,53 @@ + + + + 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..26a356e66 --- /dev/null +++ b/chapter_2_gr.html @@ -0,0 +1,52 @@ + + + + Ξενάγηση στη 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..84c15eb12 --- /dev/null +++ b/chapter_2_hu.html @@ -0,0 +1,52 @@ + + + + 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..2eeff295a --- /dev/null +++ b/chapter_2_id.html @@ -0,0 +1,52 @@ + + + + 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..46f4875e6 --- /dev/null +++ b/chapter_2_ie.html @@ -0,0 +1,51 @@ + + + + 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..0125618e6 --- /dev/null +++ b/chapter_2_it.html @@ -0,0 +1,52 @@ + + + + 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..3bad0e5f7 --- /dev/null +++ b/chapter_2_ja.html @@ -0,0 +1,52 @@ + + + + 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..13d3e8f74 --- /dev/null +++ b/chapter_2_ko.html @@ -0,0 +1,53 @@ + + + + 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_pl.html b/chapter_2_pl.html new file mode 100644 index 000000000..fab364c6a --- /dev/null +++ b/chapter_2_pl.html @@ -0,0 +1,53 @@ + + + + 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..40de59bb7 --- /dev/null +++ b/chapter_2_pt-br.html @@ -0,0 +1,52 @@ + + + + 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..2e34fae5c --- /dev/null +++ b/chapter_2_ro.html @@ -0,0 +1,53 @@ + + + + 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..0a6dcaf05 --- /dev/null +++ b/chapter_2_ru.html @@ -0,0 +1,53 @@ + + + + Тур по 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..0a8e9fac3 --- /dev/null +++ b/chapter_2_th.html @@ -0,0 +1,52 @@ + + + + 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..ece1f4da3 --- /dev/null +++ b/chapter_2_tr.html @@ -0,0 +1,51 @@ + + + + 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..7e7c28add --- /dev/null +++ b/chapter_2_ua.html @@ -0,0 +1,52 @@ + + + + Тур по 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..f058d5937 --- /dev/null +++ b/chapter_2_vi.html @@ -0,0 +1,53 @@ + + + + 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..7dbfe79d5 --- /dev/null +++ b/chapter_2_zh-cn.html @@ -0,0 +1,51 @@ + + + + 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..77664bffc --- /dev/null +++ b/chapter_2_zh-tw.html @@ -0,0 +1,52 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第二章 - 基本流程控制

+

在這個章節,我們會探討 Rust 裡的基本流程控制。 +如果你已經熟悉 C 相關語言,那你將會猶如處在自家廚房般,甚至偶爾會碰上一兩個驚喜呢!

+ +
+
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..b4345f134 --- /dev/null +++ b/chapter_3_ar.html @@ -0,0 +1,51 @@ + + + + دورة تعلم رست (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..460f09bda --- /dev/null +++ b/chapter_3_de.html @@ -0,0 +1,53 @@ + + + + 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..3436f9d69 --- /dev/null +++ b/chapter_3_en.html @@ -0,0 +1,53 @@ + + + + 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..6f45165bd --- /dev/null +++ b/chapter_3_es.html @@ -0,0 +1,53 @@ + + + + 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..7c9a7f5d3 --- /dev/null +++ b/chapter_3_fa.html @@ -0,0 +1,53 @@ + + + + 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..fad2de8f0 --- /dev/null +++ b/chapter_3_fi.html @@ -0,0 +1,53 @@ + + + + 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..21adcdd02 --- /dev/null +++ b/chapter_3_fr.html @@ -0,0 +1,54 @@ + + + + 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..1b586ac43 --- /dev/null +++ b/chapter_3_gr.html @@ -0,0 +1,51 @@ + + + + Ξενάγηση στη 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..48851e491 --- /dev/null +++ b/chapter_3_hu.html @@ -0,0 +1,53 @@ + + + + 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..08be9e7fd --- /dev/null +++ b/chapter_3_id.html @@ -0,0 +1,53 @@ + + + + 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..f931b483d --- /dev/null +++ b/chapter_3_ie.html @@ -0,0 +1,53 @@ + + + + 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..06840fef5 --- /dev/null +++ b/chapter_3_it.html @@ -0,0 +1,51 @@ + + + + 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..1dd846944 --- /dev/null +++ b/chapter_3_ja.html @@ -0,0 +1,52 @@ + + + + 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..ad29e9e27 --- /dev/null +++ b/chapter_3_ko.html @@ -0,0 +1,54 @@ + + + + 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_pl.html b/chapter_3_pl.html new file mode 100644 index 000000000..f0eb997e6 --- /dev/null +++ b/chapter_3_pl.html @@ -0,0 +1,53 @@ + + + + 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..0d1c280b1 --- /dev/null +++ b/chapter_3_pt-br.html @@ -0,0 +1,51 @@ + + + + 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..70dccb7fa --- /dev/null +++ b/chapter_3_ro.html @@ -0,0 +1,53 @@ + + + + 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..41bd66759 --- /dev/null +++ b/chapter_3_ru.html @@ -0,0 +1,52 @@ + + + + Тур по 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..7029f83aa --- /dev/null +++ b/chapter_3_th.html @@ -0,0 +1,55 @@ + + + + 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..05f52aa8c --- /dev/null +++ b/chapter_3_tr.html @@ -0,0 +1,52 @@ + + + + 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..20ef8ffc6 --- /dev/null +++ b/chapter_3_ua.html @@ -0,0 +1,52 @@ + + + + Тур по 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..3c3ebee89 --- /dev/null +++ b/chapter_3_vi.html @@ -0,0 +1,51 @@ + + + + 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..8fe9adbd0 --- /dev/null +++ b/chapter_3_zh-cn.html @@ -0,0 +1,52 @@ + + + + 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..c51225ed8 --- /dev/null +++ b/chapter_3_zh-tw.html @@ -0,0 +1,51 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第三章 - 基本資料結構 (data structures)

+

是時候讓我們探討基本型別了!在這個章節,我們將會看看 Rust 裡最原始的資料結構,特別注意它們在記憶體裡是如何呈現的。 我想你會享受到 Rust 替你隱藏起來的東西有多麼少。

+ +
+
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..44048a16e --- /dev/null +++ b/chapter_4_ar.html @@ -0,0 +1,51 @@ + + + + دورة تعلم رست (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..2970fc6e7 --- /dev/null +++ b/chapter_4_de.html @@ -0,0 +1,53 @@ + + + + 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..1b020cf25 --- /dev/null +++ b/chapter_4_en.html @@ -0,0 +1,54 @@ + + + + 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..70b539e83 --- /dev/null +++ b/chapter_4_es.html @@ -0,0 +1,53 @@ + + + + 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..395bd618a --- /dev/null +++ b/chapter_4_fa.html @@ -0,0 +1,54 @@ + + + + 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..00c695d2d --- /dev/null +++ b/chapter_4_fi.html @@ -0,0 +1,54 @@ + + + + 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..d1c5bc790 --- /dev/null +++ b/chapter_4_fr.html @@ -0,0 +1,54 @@ + + + + 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..e17a66970 --- /dev/null +++ b/chapter_4_gr.html @@ -0,0 +1,51 @@ + + + + Ξενάγηση στη 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..e99e099e1 --- /dev/null +++ b/chapter_4_hu.html @@ -0,0 +1,54 @@ + + + + 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..6ea9298ed --- /dev/null +++ b/chapter_4_id.html @@ -0,0 +1,54 @@ + + + + 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..bcf077285 --- /dev/null +++ b/chapter_4_ie.html @@ -0,0 +1,54 @@ + + + + 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..ecd5ae744 --- /dev/null +++ b/chapter_4_it.html @@ -0,0 +1,54 @@ + + + + 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..bd56e2a1e --- /dev/null +++ b/chapter_4_ja.html @@ -0,0 +1,53 @@ + + + + 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..a4016fcbb --- /dev/null +++ b/chapter_4_ko.html @@ -0,0 +1,53 @@ + + + + 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_pl.html b/chapter_4_pl.html new file mode 100644 index 000000000..9d9e65dae --- /dev/null +++ b/chapter_4_pl.html @@ -0,0 +1,52 @@ + + + + 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..0f9e11d15 --- /dev/null +++ b/chapter_4_pt-br.html @@ -0,0 +1,51 @@ + + + + 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..f9e010c85 --- /dev/null +++ b/chapter_4_ro.html @@ -0,0 +1,54 @@ + + + + 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..38e214957 --- /dev/null +++ b/chapter_4_ru.html @@ -0,0 +1,54 @@ + + + + Тур по 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..a082595cd --- /dev/null +++ b/chapter_4_th.html @@ -0,0 +1,51 @@ + + + + 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..b0556a9e6 --- /dev/null +++ b/chapter_4_tr.html @@ -0,0 +1,51 @@ + + + + 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..1549b03f5 --- /dev/null +++ b/chapter_4_ua.html @@ -0,0 +1,52 @@ + + + + Тур по 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..6fa1b2d34 --- /dev/null +++ b/chapter_4_vi.html @@ -0,0 +1,51 @@ + + + + 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..982983222 --- /dev/null +++ b/chapter_4_zh-cn.html @@ -0,0 +1,52 @@ + + + + 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..8ef1c1f52 --- /dev/null +++ b/chapter_4_zh-tw.html @@ -0,0 +1,51 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第四章 - 泛型 (generic types)

+

泛型在 Rust 裡是非常重要的。它們被用來表示空值 (即那些還沒有值的變量)、錯誤處理、集合及其他更多東西! 在此章節我們將會學習泛型的基礎,你很有可能將會一直使用到它。

+ +
+
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..5f761516b --- /dev/null +++ b/chapter_5_ar.html @@ -0,0 +1,51 @@ + + + + دورة تعلم رست (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..e4f6d2078 --- /dev/null +++ b/chapter_5_de.html @@ -0,0 +1,53 @@ + + + + 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..5bcfa2dea --- /dev/null +++ b/chapter_5_en.html @@ -0,0 +1,53 @@ + + + + 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..bef744c5a --- /dev/null +++ b/chapter_5_es.html @@ -0,0 +1,51 @@ + + + + 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..7ac99becd --- /dev/null +++ b/chapter_5_fa.html @@ -0,0 +1,53 @@ + + + + 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..905e8c2d2 --- /dev/null +++ b/chapter_5_fi.html @@ -0,0 +1,53 @@ + + + + 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..0405b4714 --- /dev/null +++ b/chapter_5_fr.html @@ -0,0 +1,55 @@ + + + + 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..35f285fba --- /dev/null +++ b/chapter_5_gr.html @@ -0,0 +1,51 @@ + + + + Ξενάγηση στη 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..a06fbc426 --- /dev/null +++ b/chapter_5_hu.html @@ -0,0 +1,54 @@ + + + + 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..3b1d80e02 --- /dev/null +++ b/chapter_5_id.html @@ -0,0 +1,53 @@ + + + + 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..375dbb5b7 --- /dev/null +++ b/chapter_5_ie.html @@ -0,0 +1,53 @@ + + + + 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..0619848da --- /dev/null +++ b/chapter_5_it.html @@ -0,0 +1,53 @@ + + + + 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..da6854de7 --- /dev/null +++ b/chapter_5_ja.html @@ -0,0 +1,54 @@ + + + + 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..d6463d7b8 --- /dev/null +++ b/chapter_5_ko.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

5장 - 소유권과 데이터 대여

+

Rust는 메모리 관리에 있어 다른 프로그래밍 언어에 비해 독특한 패러다임을 갖고 있습니다. +이제 컴파일러의 동작과 검증방식에 대해 차근차근 살펴볼 예정입니다. +중요한 것은, 앞으로 나올 규칙들은 여러분의 삶을 힘들게 하려고 존재하는게 아니라, 코드의 오류를 줄여주기 위한 것이란 점입니다!

+ +
+
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..1456d8981 --- /dev/null +++ b/chapter_5_pl.html @@ -0,0 +1,53 @@ + + + + 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..f1880e27a --- /dev/null +++ b/chapter_5_pt-br.html @@ -0,0 +1,51 @@ + + + + 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..9f2cc6e34 --- /dev/null +++ b/chapter_5_ro.html @@ -0,0 +1,53 @@ + + + + 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..06f290dc9 --- /dev/null +++ b/chapter_5_ru.html @@ -0,0 +1,51 @@ + + + + Тур по 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..05f0c3d20 --- /dev/null +++ b/chapter_5_th.html @@ -0,0 +1,53 @@ + + + + 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..6f593c7db --- /dev/null +++ b/chapter_5_tr.html @@ -0,0 +1,51 @@ + + + + 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..67f8a2bad --- /dev/null +++ b/chapter_5_ua.html @@ -0,0 +1,53 @@ + + + + Тур по 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..b2c9543e5 --- /dev/null +++ b/chapter_5_vi.html @@ -0,0 +1,51 @@ + + + + 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..0d589fa76 --- /dev/null +++ b/chapter_5_zh-cn.html @@ -0,0 +1,51 @@ + + + + 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..46be3dc80 --- /dev/null +++ b/chapter_5_zh-tw.html @@ -0,0 +1,51 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第五章 - 擁有權 (ownership) 與借資料 (borrowing data)

+

與其他語言相比,Rust 有一套獨特的方式管理記憶體。我們將會逐一檢視這些行為以及編譯器的驗證,以免一下壓垮你。 有一點要特別記得的是,這些規則的最終目標都是為了幫助你的程式碼有較少錯誤,而不是讓你的人生更痛苦。

+ +
+
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..6ec1e4b0f --- /dev/null +++ b/chapter_6_ar.html @@ -0,0 +1,53 @@ + + + + دورة تعلم رست (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..2e0ab431d --- /dev/null +++ b/chapter_6_de.html @@ -0,0 +1,53 @@ + + + + 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..473ac6778 --- /dev/null +++ b/chapter_6_en.html @@ -0,0 +1,53 @@ + + + + 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..823048712 --- /dev/null +++ b/chapter_6_es.html @@ -0,0 +1,51 @@ + + + + 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..7c485d89e --- /dev/null +++ b/chapter_6_fa.html @@ -0,0 +1,53 @@ + + + + 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..506e6a35f --- /dev/null +++ b/chapter_6_fi.html @@ -0,0 +1,53 @@ + + + + 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..a2c0c40de --- /dev/null +++ b/chapter_6_fr.html @@ -0,0 +1,55 @@ + + + + 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..75673481b --- /dev/null +++ b/chapter_6_gr.html @@ -0,0 +1,53 @@ + + + + Ξενάγηση στη 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..a4d72e329 --- /dev/null +++ b/chapter_6_hu.html @@ -0,0 +1,55 @@ + + + + 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..90857f8e0 --- /dev/null +++ b/chapter_6_id.html @@ -0,0 +1,53 @@ + + + + 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..e9a3c6e7c --- /dev/null +++ b/chapter_6_ie.html @@ -0,0 +1,53 @@ + + + + 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..fbaca8a86 --- /dev/null +++ b/chapter_6_it.html @@ -0,0 +1,53 @@ + + + + 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..eb9b1b2ec --- /dev/null +++ b/chapter_6_ja.html @@ -0,0 +1,53 @@ + + + + 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..67f5fcb17 --- /dev/null +++ b/chapter_6_ko.html @@ -0,0 +1,53 @@ + + + + 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_pl.html b/chapter_6_pl.html new file mode 100644 index 000000000..ed275c415 --- /dev/null +++ b/chapter_6_pl.html @@ -0,0 +1,53 @@ + + + + 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..c1dcda012 --- /dev/null +++ b/chapter_6_pt-br.html @@ -0,0 +1,52 @@ + + + + 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..d42b0263f --- /dev/null +++ b/chapter_6_ro.html @@ -0,0 +1,53 @@ + + + + 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..b1212fcce --- /dev/null +++ b/chapter_6_ru.html @@ -0,0 +1,53 @@ + + + + Тур по 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..92d6ed59f --- /dev/null +++ b/chapter_6_th.html @@ -0,0 +1,52 @@ + + + + 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..730bebd94 --- /dev/null +++ b/chapter_6_tr.html @@ -0,0 +1,51 @@ + + + + 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..54fbdd824 --- /dev/null +++ b/chapter_6_ua.html @@ -0,0 +1,53 @@ + + + + Тур по 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..15b64a05e --- /dev/null +++ b/chapter_6_vi.html @@ -0,0 +1,52 @@ + + + + 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..e25dfad8b --- /dev/null +++ b/chapter_6_zh-cn.html @@ -0,0 +1,52 @@ + + + + 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..5d4b54d76 --- /dev/null +++ b/chapter_6_zh-tw.html @@ -0,0 +1,52 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第六章 - 文字

+

現在我們稍微了解 Rust 的記憶體了,我們準備更詳細的討論文字。 +Rust 非常在意國際語言,及從位元組 (byte) 層面來看,你可能不是那麼熟悉的語言。 即是,Rust 有很多很棒的工具用來管理這些問題。

+ +
+
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..bfcacf40f --- /dev/null +++ b/chapter_7_ar.html @@ -0,0 +1,51 @@ + + + + دورة تعلم رست (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..f43c31d41 --- /dev/null +++ b/chapter_7_de.html @@ -0,0 +1,54 @@ + + + + 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..bebf0b6e8 --- /dev/null +++ b/chapter_7_en.html @@ -0,0 +1,54 @@ + + + + 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..1ddcd8402 --- /dev/null +++ b/chapter_7_es.html @@ -0,0 +1,51 @@ + + + + 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..5b75a7357 --- /dev/null +++ b/chapter_7_fa.html @@ -0,0 +1,54 @@ + + + + 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..2f6f862f8 --- /dev/null +++ b/chapter_7_fi.html @@ -0,0 +1,54 @@ + + + + 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..76f721735 --- /dev/null +++ b/chapter_7_fr.html @@ -0,0 +1,56 @@ + + + + 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..d87444828 --- /dev/null +++ b/chapter_7_gr.html @@ -0,0 +1,54 @@ + + + + Ξενάγηση στη 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..846e4fcf1 --- /dev/null +++ b/chapter_7_hu.html @@ -0,0 +1,55 @@ + + + + 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..c08adbc50 --- /dev/null +++ b/chapter_7_id.html @@ -0,0 +1,54 @@ + + + + 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..55b38744d --- /dev/null +++ b/chapter_7_ie.html @@ -0,0 +1,54 @@ + + + + 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..0e04a1a1a --- /dev/null +++ b/chapter_7_it.html @@ -0,0 +1,54 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Non tradotto] 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_ja.html b/chapter_7_ja.html new file mode 100644 index 000000000..a03de7177 --- /dev/null +++ b/chapter_7_ja.html @@ -0,0 +1,51 @@ + + + + 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..142c6e8d3 --- /dev/null +++ b/chapter_7_ko.html @@ -0,0 +1,54 @@ + + + + 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_pl.html b/chapter_7_pl.html new file mode 100644 index 000000000..70da5f0bf --- /dev/null +++ b/chapter_7_pl.html @@ -0,0 +1,54 @@ + + + + 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..7f0cef714 --- /dev/null +++ b/chapter_7_pt-br.html @@ -0,0 +1,51 @@ + + + + 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..8bb79bacb --- /dev/null +++ b/chapter_7_ro.html @@ -0,0 +1,53 @@ + + + + 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..fb2623f8b --- /dev/null +++ b/chapter_7_ru.html @@ -0,0 +1,51 @@ + + + + Тур по 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..85a758bb9 --- /dev/null +++ b/chapter_7_th.html @@ -0,0 +1,53 @@ + + + + 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..4f4786024 --- /dev/null +++ b/chapter_7_tr.html @@ -0,0 +1,53 @@ + + + + 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..423dac38f --- /dev/null +++ b/chapter_7_ua.html @@ -0,0 +1,54 @@ + + + + Тур по 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..cb1e9b29d --- /dev/null +++ b/chapter_7_vi.html @@ -0,0 +1,51 @@ + + + + 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..b1972845d --- /dev/null +++ b/chapter_7_zh-cn.html @@ -0,0 +1,51 @@ + + + + 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..153bada3d --- /dev/null +++ b/chapter_7_zh-tw.html @@ -0,0 +1,52 @@ + + + + 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_ar.html b/chapter_8_ar.html new file mode 100644 index 000000000..8abd3704e --- /dev/null +++ b/chapter_8_ar.html @@ -0,0 +1,53 @@ + + + + دورة تعلم رست (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..fc0b157bc --- /dev/null +++ b/chapter_8_de.html @@ -0,0 +1,56 @@ + + + + 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..1e570665d --- /dev/null +++ b/chapter_8_en.html @@ -0,0 +1,56 @@ + + + + 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..e8425d456 --- /dev/null +++ b/chapter_8_es.html @@ -0,0 +1,52 @@ + + + + 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..cb2fdc335 --- /dev/null +++ b/chapter_8_fa.html @@ -0,0 +1,56 @@ + + + + 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..f4df1de5d --- /dev/null +++ b/chapter_8_fi.html @@ -0,0 +1,56 @@ + + + + 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..1d5937ffe --- /dev/null +++ b/chapter_8_fr.html @@ -0,0 +1,58 @@ + + + + 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..3195066b8 --- /dev/null +++ b/chapter_8_gr.html @@ -0,0 +1,56 @@ + + + + Ξενάγηση στη 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..e041d28cc --- /dev/null +++ b/chapter_8_hu.html @@ -0,0 +1,57 @@ + + + + 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..30ac0051a --- /dev/null +++ b/chapter_8_id.html @@ -0,0 +1,56 @@ + + + + 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..944fe004a --- /dev/null +++ b/chapter_8_ie.html @@ -0,0 +1,56 @@ + + + + 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..0d3ae110c --- /dev/null +++ b/chapter_8_it.html @@ -0,0 +1,56 @@ + + + + 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..21df11884 --- /dev/null +++ b/chapter_8_ja.html @@ -0,0 +1,56 @@ + + + + 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..ea832fdc4 --- /dev/null +++ b/chapter_8_ko.html @@ -0,0 +1,55 @@ + + + + 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_pl.html b/chapter_8_pl.html new file mode 100644 index 000000000..d622d7022 --- /dev/null +++ b/chapter_8_pl.html @@ -0,0 +1,56 @@ + + + + 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..43f9dd520 --- /dev/null +++ b/chapter_8_pt-br.html @@ -0,0 +1,52 @@ + + + + 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..4a9ff52aa --- /dev/null +++ b/chapter_8_ro.html @@ -0,0 +1,56 @@ + + + + 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..39e684a54 --- /dev/null +++ b/chapter_8_ru.html @@ -0,0 +1,52 @@ + + + + Тур по 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..b1c721eba --- /dev/null +++ b/chapter_8_th.html @@ -0,0 +1,52 @@ + + + + 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..aa0f118c6 --- /dev/null +++ b/chapter_8_tr.html @@ -0,0 +1,52 @@ + + + + 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..c61fad698 --- /dev/null +++ b/chapter_8_ua.html @@ -0,0 +1,57 @@ + + + + Тур по 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..56f2aaa32 --- /dev/null +++ b/chapter_8_vi.html @@ -0,0 +1,52 @@ + + + + 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..85ed28463 --- /dev/null +++ b/chapter_8_zh-cn.html @@ -0,0 +1,52 @@ + + + + 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..1ae400de3 --- /dev/null +++ b/chapter_8_zh-tw.html @@ -0,0 +1,56 @@ + + + + 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_ar.html b/chapter_9_ar.html new file mode 100644 index 000000000..9766c7204 --- /dev/null +++ b/chapter_9_ar.html @@ -0,0 +1,51 @@ + + + + دورة تعلم رست (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..19dc5c2bb --- /dev/null +++ b/chapter_9_de.html @@ -0,0 +1,51 @@ + + + + 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..f840ffcba --- /dev/null +++ b/chapter_9_en.html @@ -0,0 +1,51 @@ + + + + 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..86458a009 --- /dev/null +++ b/chapter_9_es.html @@ -0,0 +1,51 @@ + + + + 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..5976e8daa --- /dev/null +++ b/chapter_9_fa.html @@ -0,0 +1,51 @@ + + + + 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..6c29c9195 --- /dev/null +++ b/chapter_9_fi.html @@ -0,0 +1,51 @@ + + + + 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..207c760e6 --- /dev/null +++ b/chapter_9_fr.html @@ -0,0 +1,54 @@ + + + + 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..87ae8653e --- /dev/null +++ b/chapter_9_gr.html @@ -0,0 +1,51 @@ + + + + Ξενάγηση στη 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..9937227c3 --- /dev/null +++ b/chapter_9_hu.html @@ -0,0 +1,52 @@ + + + + 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..7d2b7e610 --- /dev/null +++ b/chapter_9_id.html @@ -0,0 +1,51 @@ + + + + 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..627374dc7 --- /dev/null +++ b/chapter_9_ie.html @@ -0,0 +1,51 @@ + + + + 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..a1da94601 --- /dev/null +++ b/chapter_9_it.html @@ -0,0 +1,51 @@ + + + + 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..ef9a20a81 --- /dev/null +++ b/chapter_9_ja.html @@ -0,0 +1,51 @@ + + + + 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..79b65dd67 --- /dev/null +++ b/chapter_9_ko.html @@ -0,0 +1,51 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

9장 - 프로젝트 구성과 구조

+

지금까지의 모든 예제 코드는 단일 파일이었습니다. 어떻게 하면 우리의 코드를 더 잘 구성하고 다른 사람과 공유할 수 있을지 얘기해 봅시다!

+ +
+
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..53b980690 --- /dev/null +++ b/chapter_9_pl.html @@ -0,0 +1,51 @@ + + + + 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..eca04ba14 --- /dev/null +++ b/chapter_9_pt-br.html @@ -0,0 +1,51 @@ + + + + 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..9c6f5346a --- /dev/null +++ b/chapter_9_ro.html @@ -0,0 +1,51 @@ + + + + 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..43e89381c --- /dev/null +++ b/chapter_9_ru.html @@ -0,0 +1,51 @@ + + + + Тур по 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..84dfdb96c --- /dev/null +++ b/chapter_9_th.html @@ -0,0 +1,51 @@ + + + + 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..daa18775b --- /dev/null +++ b/chapter_9_tr.html @@ -0,0 +1,51 @@ + + + + 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..0348b2f03 --- /dev/null +++ b/chapter_9_ua.html @@ -0,0 +1,51 @@ + + + + Тур по 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..3bf79a9a5 --- /dev/null +++ b/chapter_9_vi.html @@ -0,0 +1,51 @@ + + + + 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..413e0145b --- /dev/null +++ b/chapter_9_zh-cn.html @@ -0,0 +1,51 @@ + + + + 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..d737de7a2 --- /dev/null +++ b/chapter_9_zh-tw.html @@ -0,0 +1,51 @@ + + + + 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/generate.js b/generate.js index a47b8795b..c7a153cf1 100644 --- a/generate.js +++ b/generate.js @@ -1,10 +1,11 @@ -const showdown = require('showdown'); -const fs = require('fs'); -const yaml = require('js-yaml'); +const showdown = require("showdown"); +const fs = require("fs"); +const yaml = require("js-yaml"); const lessonSource = process.argv[2]; const targetDir = process.argv[3]; -const generateBetaContent = process.argv.length >= 4 && process.argv[4] === 'beta'; +const generateBetaContent = + process.argv.length >= 4 && process.argv[4] === "beta"; /** * @param {number} num @@ -12,7 +13,7 @@ const generateBetaContent = process.argv.length >= 4 && process.argv[4] === 'bet */ function pad(num) { const s = `${num}`; - return s.padStart(2, '0'); + return s.padStart(2, "0"); } /** @@ -23,8 +24,8 @@ function pad(num) { * @returns {string} */ function getFileName(lang, i, isBeta, chapter) { - if (i === 0 && lang === 'en') { - return 'index.html'; + if (i === 0 && lang === "en") { + return "index.html"; } let fileName = `${pad(i)}_${lang}.html`; if (chapter !== undefined && chapter !== null) { @@ -37,9 +38,11 @@ function getFileName(lang, i, isBeta, chapter) { * @param {string} source * @returns {string[]} */ -const getDirectories = (source) => fs.readdirSync(source, { withFileTypes: true }) - .filter((dirent) => dirent.isDirectory()) - .map((dirent) => dirent.name); +const getDirectories = (source) => + fs + .readdirSync(source, { withFileTypes: true }) + .filter((dirent) => dirent.isDirectory()) + .map((dirent) => dirent.name); /** * @param {string} path @@ -52,14 +55,15 @@ const commonWords = {}; const chapters = []; languages.forEach((lang) => { -// const lang = languages[x]; + // const lang = languages[x]; const langDir = `${lessonSource}/${lang}`; commonWords[lang] = getYaml(`${langDir}/common_words.yaml`); - const languageFiles = fs.readdirSync(langDir, { withFileTypes: true }) - .filter((f) => f.isFile() && f.name.indexOf('chapter_') === 0) + const languageFiles = fs + .readdirSync(langDir, { withFileTypes: true }) + .filter((f) => f.isFile() && f.name.indexOf("chapter_") === 0) .map((f) => f.name); languageFiles.forEach((l) => { - const chap = parseInt(l.substring(8, l.indexOf('.')), 10); + const chap = parseInt(l.substring(8, l.indexOf(".")), 10); if (chapters[chap] === undefined) { chapters[chap] = {}; } @@ -108,12 +112,16 @@ function getWord(words, lang, w) { * @returns {string} */ const getHead = (words, lang) => { - let rtl_langs = ['ar']; - let lang_dir = (rtl_langs.includes(lang))?"rtl":"ltr"; - return ` + let rtl_langs = ["ar"]; + let lang_dir = rtl_langs.includes(lang) ? "rtl" : "ltr"; + return ` - ${getWord(words, lang, 'tor')} - Let's go on an adventure! + ${getWord( + words, + lang, + "tor" + )} - Let's go on an adventure! @@ -135,8 +143,6 @@ const getHead = (words, lang) => { - - + + + +
+ +
+

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..3754a3ef6 --- /dev/null +++ b/webassembly/00_en_c.html @@ -0,0 +1,65 @@ + + + + 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..46c47f584 --- /dev/null +++ b/webassembly/00_es.html @@ -0,0 +1,67 @@ + + + + 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..1f8cd86c1 --- /dev/null +++ b/webassembly/00_fr.html @@ -0,0 +1,68 @@ + + + + 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..ce8cba893 --- /dev/null +++ b/webassembly/00_fr_c.html @@ -0,0 +1,65 @@ + + + + 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..a4515491a --- /dev/null +++ b/webassembly/00_ie.html @@ -0,0 +1,67 @@ + + + + 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..530c60fcd --- /dev/null +++ b/webassembly/00_ja.html @@ -0,0 +1,66 @@ + + + + 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..57063e0cd --- /dev/null +++ b/webassembly/00_pt-br.html @@ -0,0 +1,63 @@ + + + + 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..1ffb1f356 --- /dev/null +++ b/webassembly/00_ro.html @@ -0,0 +1,67 @@ + + + + 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..0719c0472 --- /dev/null +++ b/webassembly/02_en.html @@ -0,0 +1,58 @@ + + + + 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..de4a17b8f --- /dev/null +++ b/webassembly/02_en_c.html @@ -0,0 +1,58 @@ + + + + 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..ed780256e --- /dev/null +++ b/webassembly/02_es.html @@ -0,0 +1,60 @@ + + + + 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..f398d2171 --- /dev/null +++ b/webassembly/02_fr.html @@ -0,0 +1,60 @@ + + + + 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..86a75485d --- /dev/null +++ b/webassembly/02_fr_c.html @@ -0,0 +1,60 @@ + + + + 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..7175bd7dc --- /dev/null +++ b/webassembly/02_ie.html @@ -0,0 +1,58 @@ + + + + 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..f6cf9ef49 --- /dev/null +++ b/webassembly/02_ja.html @@ -0,0 +1,58 @@ + + + + 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..b1005c4d7 --- /dev/null +++ b/webassembly/02_pt-br.html @@ -0,0 +1,57 @@ + + + + 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..08d769d06 --- /dev/null +++ b/webassembly/02_ro.html @@ -0,0 +1,58 @@ + + + + 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..341c6f9ae --- /dev/null +++ b/webassembly/03_en.html @@ -0,0 +1,54 @@ + + + + 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..282041132 --- /dev/null +++ b/webassembly/03_en_c.html @@ -0,0 +1,54 @@ + + + + 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..c4aecca5e --- /dev/null +++ b/webassembly/03_es.html @@ -0,0 +1,55 @@ + + + + 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..1b02e0679 --- /dev/null +++ b/webassembly/03_fr.html @@ -0,0 +1,55 @@ + + + + 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..3a8cb611d --- /dev/null +++ b/webassembly/03_fr_c.html @@ -0,0 +1,55 @@ + + + + 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..b669579c8 --- /dev/null +++ b/webassembly/03_ie.html @@ -0,0 +1,54 @@ + + + + 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..64d402ca7 --- /dev/null +++ b/webassembly/03_ja.html @@ -0,0 +1,54 @@ + + + + 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..9de1f4a5c --- /dev/null +++ b/webassembly/03_pt-br.html @@ -0,0 +1,53 @@ + + + + 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..df10d7afc --- /dev/null +++ b/webassembly/03_ro.html @@ -0,0 +1,54 @@ + + + + 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..e3207ed24 --- /dev/null +++ b/webassembly/04_en.html @@ -0,0 +1,55 @@ + + + + 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..8d4721ce5 --- /dev/null +++ b/webassembly/04_en_c.html @@ -0,0 +1,55 @@ + + + + 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..4dcc4ae37 --- /dev/null +++ b/webassembly/04_es.html @@ -0,0 +1,55 @@ + + + + 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..6715a7b66 --- /dev/null +++ b/webassembly/04_fr.html @@ -0,0 +1,57 @@ + + + + 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..c238395ce --- /dev/null +++ b/webassembly/04_fr_c.html @@ -0,0 +1,57 @@ + + + + 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..edac4d963 --- /dev/null +++ b/webassembly/04_ie.html @@ -0,0 +1,55 @@ + + + + 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..9f6a8627d --- /dev/null +++ b/webassembly/04_ja.html @@ -0,0 +1,55 @@ + + + + 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..54f1d5093 --- /dev/null +++ b/webassembly/04_pt-br.html @@ -0,0 +1,53 @@ + + + + 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..40737c833 --- /dev/null +++ b/webassembly/04_ro.html @@ -0,0 +1,55 @@ + + + + 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..5b5420c9e --- /dev/null +++ b/webassembly/05_en.html @@ -0,0 +1,54 @@ + + + + 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..f9fb72294 --- /dev/null +++ b/webassembly/05_en_c.html @@ -0,0 +1,54 @@ + + + + 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..886d8be46 --- /dev/null +++ b/webassembly/05_es.html @@ -0,0 +1,54 @@ + + + + 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..89712efcb --- /dev/null +++ b/webassembly/05_fr.html @@ -0,0 +1,56 @@ + + + + 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..fb07f5930 --- /dev/null +++ b/webassembly/05_fr_c.html @@ -0,0 +1,56 @@ + + + + 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..4179aa88b --- /dev/null +++ b/webassembly/05_ie.html @@ -0,0 +1,54 @@ + + + + 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..a556502d9 --- /dev/null +++ b/webassembly/05_ja.html @@ -0,0 +1,54 @@ + + + + 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..908050a84 --- /dev/null +++ b/webassembly/05_pt-br.html @@ -0,0 +1,53 @@ + + + + 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..7be5f0f38 --- /dev/null +++ b/webassembly/05_ro.html @@ -0,0 +1,54 @@ + + + + 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..4aa27c360 --- /dev/null +++ b/webassembly/06_en.html @@ -0,0 +1,56 @@ + + + + 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..b5b80ea66 --- /dev/null +++ b/webassembly/06_en_c.html @@ -0,0 +1,56 @@ + + + + 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..1e42ddf22 --- /dev/null +++ b/webassembly/06_es.html @@ -0,0 +1,56 @@ + + + + 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..0443b89f2 --- /dev/null +++ b/webassembly/06_fr.html @@ -0,0 +1,56 @@ + + + + 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..05ec94bf3 --- /dev/null +++ b/webassembly/06_fr_c.html @@ -0,0 +1,56 @@ + + + + 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..8c9533bf9 --- /dev/null +++ b/webassembly/06_ie.html @@ -0,0 +1,56 @@ + + + + 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..cabb0fba4 --- /dev/null +++ b/webassembly/06_ja.html @@ -0,0 +1,55 @@ + + + + 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..bfe2e4657 --- /dev/null +++ b/webassembly/06_pt-br.html @@ -0,0 +1,54 @@ + + + + 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..728e17111 --- /dev/null +++ b/webassembly/06_ro.html @@ -0,0 +1,56 @@ + + + + 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..2d655296b --- /dev/null +++ b/webassembly/07_en.html @@ -0,0 +1,52 @@ + + + + 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..c58ee9a1a --- /dev/null +++ b/webassembly/07_en_c.html @@ -0,0 +1,52 @@ + + + + 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..dd3bde992 --- /dev/null +++ b/webassembly/07_es.html @@ -0,0 +1,52 @@ + + + + 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..6235511fe --- /dev/null +++ b/webassembly/07_fr.html @@ -0,0 +1,54 @@ + + + + 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..e97a1ce26 --- /dev/null +++ b/webassembly/07_fr_c.html @@ -0,0 +1,54 @@ + + + + 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..9a85f1923 --- /dev/null +++ b/webassembly/07_ie.html @@ -0,0 +1,52 @@ + + + + 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..52b33368f --- /dev/null +++ b/webassembly/07_ja.html @@ -0,0 +1,52 @@ + + + + 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..2d830ca3f --- /dev/null +++ b/webassembly/07_pt-br.html @@ -0,0 +1,51 @@ + + + + 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..d6f2ca3f1 --- /dev/null +++ b/webassembly/07_ro.html @@ -0,0 +1,52 @@ + + + + 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..929263868 --- /dev/null +++ b/webassembly/09_en.html @@ -0,0 +1,56 @@ + + + + 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..586fbfde5 --- /dev/null +++ b/webassembly/09_en_c.html @@ -0,0 +1,54 @@ + + + + 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..87291776e --- /dev/null +++ b/webassembly/09_es.html @@ -0,0 +1,56 @@ + + + + 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..6d2fa0d69 --- /dev/null +++ b/webassembly/09_fr.html @@ -0,0 +1,56 @@ + + + + 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..6a4aa7eec --- /dev/null +++ b/webassembly/09_fr_c.html @@ -0,0 +1,54 @@ + + + + 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..70c955c6e --- /dev/null +++ b/webassembly/09_ie.html @@ -0,0 +1,56 @@ + + + + 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..9be0158cf --- /dev/null +++ b/webassembly/09_ja.html @@ -0,0 +1,55 @@ + + + + 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..b85c78815 --- /dev/null +++ b/webassembly/09_pt-br.html @@ -0,0 +1,55 @@ + + + + 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..9d5691c16 --- /dev/null +++ b/webassembly/09_ro.html @@ -0,0 +1,56 @@ + + + + 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..576f1f708 --- /dev/null +++ b/webassembly/10_en.html @@ -0,0 +1,57 @@ + + + + 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..31045d6a4 --- /dev/null +++ b/webassembly/10_en_c.html @@ -0,0 +1,57 @@ + + + + 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..4a9009c17 --- /dev/null +++ b/webassembly/10_es.html @@ -0,0 +1,57 @@ + + + + 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..39b0f996b --- /dev/null +++ b/webassembly/10_fr.html @@ -0,0 +1,57 @@ + + + + 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..821db4671 --- /dev/null +++ b/webassembly/10_fr_c.html @@ -0,0 +1,57 @@ + + + + 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..2ad27f275 --- /dev/null +++ b/webassembly/10_ie.html @@ -0,0 +1,57 @@ + + + + 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..6613d9a3a --- /dev/null +++ b/webassembly/10_ja.html @@ -0,0 +1,57 @@ + + + + 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..9f8b91493 --- /dev/null +++ b/webassembly/10_pt-br.html @@ -0,0 +1,57 @@ + + + + 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..72f2918da --- /dev/null +++ b/webassembly/10_ro.html @@ -0,0 +1,57 @@ + + + + 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..4b1579dc2 --- /dev/null +++ b/webassembly/11_en.html @@ -0,0 +1,55 @@ + + + + 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..78c0a0202 --- /dev/null +++ b/webassembly/11_en_c.html @@ -0,0 +1,55 @@ + + + + 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..8110e527d --- /dev/null +++ b/webassembly/11_es.html @@ -0,0 +1,55 @@ + + + + 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..2199dd785 --- /dev/null +++ b/webassembly/11_fr.html @@ -0,0 +1,56 @@ + + + + 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..add070c6b --- /dev/null +++ b/webassembly/11_fr_c.html @@ -0,0 +1,56 @@ + + + + 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..74b9bbdea --- /dev/null +++ b/webassembly/11_ie.html @@ -0,0 +1,55 @@ + + + + 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..2d051c126 --- /dev/null +++ b/webassembly/11_ja.html @@ -0,0 +1,54 @@ + + + + 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..97f322b08 --- /dev/null +++ b/webassembly/11_pt-br.html @@ -0,0 +1,54 @@ + + + + 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..9131d4c8a --- /dev/null +++ b/webassembly/11_ro.html @@ -0,0 +1,55 @@ + + + + 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..9a1489122 --- /dev/null +++ b/webassembly/12_en.html @@ -0,0 +1,66 @@ + + + + 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..f9c4ad5bc --- /dev/null +++ b/webassembly/12_en_c.html @@ -0,0 +1,66 @@ + + + + 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..7514563e7 --- /dev/null +++ b/webassembly/12_es.html @@ -0,0 +1,66 @@ + + + + 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..3aec7db90 --- /dev/null +++ b/webassembly/12_fr.html @@ -0,0 +1,67 @@ + + + + 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..f1d059f89 --- /dev/null +++ b/webassembly/12_fr_c.html @@ -0,0 +1,67 @@ + + + + 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..ceda1ae69 --- /dev/null +++ b/webassembly/12_ie.html @@ -0,0 +1,66 @@ + + + + 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..bb45459d6 --- /dev/null +++ b/webassembly/12_ja.html @@ -0,0 +1,66 @@ + + + + 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..dd6bd065b --- /dev/null +++ b/webassembly/12_pt-br.html @@ -0,0 +1,53 @@ + + + + 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..27f209760 --- /dev/null +++ b/webassembly/12_ro.html @@ -0,0 +1,68 @@ + + + + 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..c0c35a37b --- /dev/null +++ b/webassembly/13_en.html @@ -0,0 +1,68 @@ + + + + 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..fcb069eb7 --- /dev/null +++ b/webassembly/13_en_c.html @@ -0,0 +1,68 @@ + + + + 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..155fd6caf --- /dev/null +++ b/webassembly/13_es.html @@ -0,0 +1,68 @@ + + + + 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..8ab537d8a --- /dev/null +++ b/webassembly/13_fr.html @@ -0,0 +1,71 @@ + + + + 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..d386dc8f3 --- /dev/null +++ b/webassembly/13_fr_c.html @@ -0,0 +1,71 @@ + + + + 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..b5f6cfa6c --- /dev/null +++ b/webassembly/13_ie.html @@ -0,0 +1,68 @@ + + + + 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..5f0c23b29 --- /dev/null +++ b/webassembly/13_ja.html @@ -0,0 +1,66 @@ + + + + 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..476f8d190 --- /dev/null +++ b/webassembly/13_pt-br.html @@ -0,0 +1,53 @@ + + + + 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..300232425 --- /dev/null +++ b/webassembly/13_ro.html @@ -0,0 +1,68 @@ + + + + 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..258d01cc0 --- /dev/null +++ b/webassembly/14_en.html @@ -0,0 +1,69 @@ + + + + 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..34f7a9d82 --- /dev/null +++ b/webassembly/14_en_c.html @@ -0,0 +1,69 @@ + + + + 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..defe4553d --- /dev/null +++ b/webassembly/14_es.html @@ -0,0 +1,69 @@ + + + + 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..f31ea399b --- /dev/null +++ b/webassembly/14_fr.html @@ -0,0 +1,71 @@ + + + + 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..556b60847 --- /dev/null +++ b/webassembly/14_fr_c.html @@ -0,0 +1,71 @@ + + + + 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..6dabfd13a --- /dev/null +++ b/webassembly/14_ie.html @@ -0,0 +1,69 @@ + + + + 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..95cc46cb8 --- /dev/null +++ b/webassembly/14_ja.html @@ -0,0 +1,69 @@ + + + + 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..249e555d4 --- /dev/null +++ b/webassembly/14_pt-br.html @@ -0,0 +1,68 @@ + + + + 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..cc644e588 --- /dev/null +++ b/webassembly/14_ro.html @@ -0,0 +1,69 @@ + + + + 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..887a091ff --- /dev/null +++ b/webassembly/15_en.html @@ -0,0 +1,78 @@ + + + + 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..4242bc220 --- /dev/null +++ b/webassembly/15_en_c.html @@ -0,0 +1,78 @@ + + + + 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..73ae16575 --- /dev/null +++ b/webassembly/15_es.html @@ -0,0 +1,78 @@ + + + + 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..6526fdba4 --- /dev/null +++ b/webassembly/15_fr.html @@ -0,0 +1,81 @@ + + + + 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..322afae1d --- /dev/null +++ b/webassembly/15_fr_c.html @@ -0,0 +1,81 @@ + + + + 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..80bdbe6a5 --- /dev/null +++ b/webassembly/15_ie.html @@ -0,0 +1,78 @@ + + + + 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..8065ee3fb --- /dev/null +++ b/webassembly/15_ja.html @@ -0,0 +1,78 @@ + + + + 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..adf6a9f92 --- /dev/null +++ b/webassembly/15_pt-br.html @@ -0,0 +1,65 @@ + + + + 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..ee2b950a9 --- /dev/null +++ b/webassembly/15_ro.html @@ -0,0 +1,78 @@ + + + + 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..f2c53abfc --- /dev/null +++ b/webassembly/16_en.html @@ -0,0 +1,56 @@ + + + + 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..c588bac89 --- /dev/null +++ b/webassembly/16_en_c.html @@ -0,0 +1,56 @@ + + + + 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..0d00af31c --- /dev/null +++ b/webassembly/16_es.html @@ -0,0 +1,56 @@ + + + + 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..6120aeba1 --- /dev/null +++ b/webassembly/16_fr.html @@ -0,0 +1,59 @@ + + + + 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..d69f45f0e --- /dev/null +++ b/webassembly/16_fr_c.html @@ -0,0 +1,59 @@ + + + + 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..f085f6030 --- /dev/null +++ b/webassembly/16_ie.html @@ -0,0 +1,56 @@ + + + + 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..43cbd7e5d --- /dev/null +++ b/webassembly/16_ja.html @@ -0,0 +1,54 @@ + + + + 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..af2dec74a --- /dev/null +++ b/webassembly/16_pt-br.html @@ -0,0 +1,54 @@ + + + + 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..5e4334d8f --- /dev/null +++ b/webassembly/16_ro.html @@ -0,0 +1,55 @@ + + + + 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..b958f3ddd --- /dev/null +++ b/webassembly/17_en.html @@ -0,0 +1,55 @@ + + + + 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..094bb95b6 --- /dev/null +++ b/webassembly/17_en_c.html @@ -0,0 +1,55 @@ + + + + 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..4ebe7e618 --- /dev/null +++ b/webassembly/17_es.html @@ -0,0 +1,55 @@ + + + + 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..cc34fc501 --- /dev/null +++ b/webassembly/17_fr.html @@ -0,0 +1,61 @@ + + + + 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..4f5770bf1 --- /dev/null +++ b/webassembly/17_fr_c.html @@ -0,0 +1,59 @@ + + + + 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..5d2eb1ea1 --- /dev/null +++ b/webassembly/17_ie.html @@ -0,0 +1,55 @@ + + + + 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..3c2d8e5d7 --- /dev/null +++ b/webassembly/17_ja.html @@ -0,0 +1,54 @@ + + + + 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..d258c4f9b --- /dev/null +++ b/webassembly/17_pt-br.html @@ -0,0 +1,53 @@ + + + + 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..642525ec7 --- /dev/null +++ b/webassembly/17_ro.html @@ -0,0 +1,55 @@ + + + + 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..1c79b0262 --- /dev/null +++ b/webassembly/19_en.html @@ -0,0 +1,61 @@ + + + + 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..ab5d07a01 --- /dev/null +++ b/webassembly/19_en_c.html @@ -0,0 +1,61 @@ + + + + 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..b60872639 --- /dev/null +++ b/webassembly/19_es.html @@ -0,0 +1,61 @@ + + + + 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..12c1b6ee1 --- /dev/null +++ b/webassembly/19_fr.html @@ -0,0 +1,66 @@ + + + + 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..090cc13fb --- /dev/null +++ b/webassembly/19_fr_c.html @@ -0,0 +1,61 @@ + + + + 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..c4fe2ad7d --- /dev/null +++ b/webassembly/19_ie.html @@ -0,0 +1,61 @@ + + + + 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..62a83607e --- /dev/null +++ b/webassembly/19_ja.html @@ -0,0 +1,59 @@ + + + + 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..57344cd62 --- /dev/null +++ b/webassembly/19_pt-br.html @@ -0,0 +1,56 @@ + + + + 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..d9295bf5d --- /dev/null +++ b/webassembly/19_ro.html @@ -0,0 +1,59 @@ + + + + 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..d66b58018 --- /dev/null +++ b/webassembly/20_en.html @@ -0,0 +1,56 @@ + + + + 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..0a5d7b7cd --- /dev/null +++ b/webassembly/20_en_c.html @@ -0,0 +1,56 @@ + + + + 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..2252e3b1f --- /dev/null +++ b/webassembly/20_es.html @@ -0,0 +1,56 @@ + + + + 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..07e93d7f7 --- /dev/null +++ b/webassembly/20_fr.html @@ -0,0 +1,61 @@ + + + + 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..1419fb19e --- /dev/null +++ b/webassembly/20_fr_c.html @@ -0,0 +1,56 @@ + + + + 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..bfc9ad67c --- /dev/null +++ b/webassembly/20_ie.html @@ -0,0 +1,56 @@ + + + + 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..b7bbf342b --- /dev/null +++ b/webassembly/20_ja.html @@ -0,0 +1,56 @@ + + + + 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..c51a8f7fe --- /dev/null +++ b/webassembly/20_pt-br.html @@ -0,0 +1,56 @@ + + + + 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..1ec8dc923 --- /dev/null +++ b/webassembly/20_ro.html @@ -0,0 +1,56 @@ + + + + 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..7e6ff8270 --- /dev/null +++ b/webassembly/21_en.html @@ -0,0 +1,62 @@ + + + + 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..8a2c1337a --- /dev/null +++ b/webassembly/21_en_c.html @@ -0,0 +1,62 @@ + + + + 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..416f50e27 --- /dev/null +++ b/webassembly/21_es.html @@ -0,0 +1,62 @@ + + + + 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..863309694 --- /dev/null +++ b/webassembly/21_fr.html @@ -0,0 +1,67 @@ + + + + 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..a101151ae --- /dev/null +++ b/webassembly/21_fr_c.html @@ -0,0 +1,62 @@ + + + + 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..1decdd310 --- /dev/null +++ b/webassembly/21_ie.html @@ -0,0 +1,62 @@ + + + + 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..639c4c318 --- /dev/null +++ b/webassembly/21_ja.html @@ -0,0 +1,61 @@ + + + + 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..7c97728e4 --- /dev/null +++ b/webassembly/21_pt-br.html @@ -0,0 +1,59 @@ + + + + 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..b96b5444c --- /dev/null +++ b/webassembly/21_ro.html @@ -0,0 +1,62 @@ + + + + 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..b603d8a22 --- /dev/null +++ b/webassembly/22_en.html @@ -0,0 +1,68 @@ + + + + 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..2921bce71 --- /dev/null +++ b/webassembly/22_en_c.html @@ -0,0 +1,68 @@ + + + + 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..fe3d36426 --- /dev/null +++ b/webassembly/22_es.html @@ -0,0 +1,68 @@ + + + + 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..1fc40448b --- /dev/null +++ b/webassembly/22_fr.html @@ -0,0 +1,74 @@ + + + + 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..5f37b0a60 --- /dev/null +++ b/webassembly/22_fr_c.html @@ -0,0 +1,68 @@ + + + + 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..dfc057237 --- /dev/null +++ b/webassembly/22_ie.html @@ -0,0 +1,68 @@ + + + + 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..9ae25b39e --- /dev/null +++ b/webassembly/22_ja.html @@ -0,0 +1,71 @@ + + + + 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..05976de23 --- /dev/null +++ b/webassembly/22_pt-br.html @@ -0,0 +1,63 @@ + + + + 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..3ea655115 --- /dev/null +++ b/webassembly/22_ro.html @@ -0,0 +1,68 @@ + + + + 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..71d87ebd3 --- /dev/null +++ b/webassembly/23_en.html @@ -0,0 +1,66 @@ + + + + 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..bb2433df2 --- /dev/null +++ b/webassembly/23_en_c.html @@ -0,0 +1,66 @@ + + + + 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..237c3b342 --- /dev/null +++ b/webassembly/23_es.html @@ -0,0 +1,66 @@ + + + + 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..2d0b4cd53 --- /dev/null +++ b/webassembly/23_fr.html @@ -0,0 +1,69 @@ + + + + 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..98a9e2880 --- /dev/null +++ b/webassembly/23_fr_c.html @@ -0,0 +1,66 @@ + + + + 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..f87701107 --- /dev/null +++ b/webassembly/23_ie.html @@ -0,0 +1,66 @@ + + + + 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..6c3d565b3 --- /dev/null +++ b/webassembly/23_ja.html @@ -0,0 +1,69 @@ + + + + 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..68e2e4629 --- /dev/null +++ b/webassembly/23_pt-br.html @@ -0,0 +1,63 @@ + + + + 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..a363839f3 --- /dev/null +++ b/webassembly/23_ro.html @@ -0,0 +1,66 @@ + + + + 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..cbd75f6b8 --- /dev/null +++ b/webassembly/24_en.html @@ -0,0 +1,68 @@ + + + + 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..834be34de --- /dev/null +++ b/webassembly/24_en_c.html @@ -0,0 +1,68 @@ + + + + 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..d2c4db4c0 --- /dev/null +++ b/webassembly/24_es.html @@ -0,0 +1,68 @@ + + + + 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..99d62ed4b --- /dev/null +++ b/webassembly/24_fr.html @@ -0,0 +1,71 @@ + + + + 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..7c8624884 --- /dev/null +++ b/webassembly/24_fr_c.html @@ -0,0 +1,68 @@ + + + + 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..735a7731a --- /dev/null +++ b/webassembly/24_ie.html @@ -0,0 +1,68 @@ + + + + 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..fbe4686d5 --- /dev/null +++ b/webassembly/24_ja.html @@ -0,0 +1,69 @@ + + + + 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..6c424a7e0 --- /dev/null +++ b/webassembly/24_pt-br.html @@ -0,0 +1,64 @@ + + + + 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..41aa6516d --- /dev/null +++ b/webassembly/24_ro.html @@ -0,0 +1,68 @@ + + + + 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..f2e360510 --- /dev/null +++ b/webassembly/25_en.html @@ -0,0 +1,78 @@ + + + + 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..7b188034b --- /dev/null +++ b/webassembly/25_en_c.html @@ -0,0 +1,78 @@ + + + + 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..7dd4918c9 --- /dev/null +++ b/webassembly/25_es.html @@ -0,0 +1,78 @@ + + + + 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..24db1d514 --- /dev/null +++ b/webassembly/25_fr.html @@ -0,0 +1,83 @@ + + + + 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..793ef6e4c --- /dev/null +++ b/webassembly/25_fr_c.html @@ -0,0 +1,78 @@ + + + + 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..5a4ae6ded --- /dev/null +++ b/webassembly/25_ie.html @@ -0,0 +1,78 @@ + + + + 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..95254aa09 --- /dev/null +++ b/webassembly/25_ja.html @@ -0,0 +1,77 @@ + + + + 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..fd177f042 --- /dev/null +++ b/webassembly/25_pt-br.html @@ -0,0 +1,72 @@ + + + + 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..a0b4480c8 --- /dev/null +++ b/webassembly/25_ro.html @@ -0,0 +1,84 @@ + + + + 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..99f1a75d2 --- /dev/null +++ b/webassembly/26_en.html @@ -0,0 +1,78 @@ + + + + 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..ee1aebb28 --- /dev/null +++ b/webassembly/26_en_c.html @@ -0,0 +1,78 @@ + + + + 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..74d986dc6 --- /dev/null +++ b/webassembly/26_es.html @@ -0,0 +1,78 @@ + + + + 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..ca47df44d --- /dev/null +++ b/webassembly/26_fr.html @@ -0,0 +1,79 @@ + + + + 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..c25578738 --- /dev/null +++ b/webassembly/26_fr_c.html @@ -0,0 +1,78 @@ + + + + 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..f527ab1c6 --- /dev/null +++ b/webassembly/26_ie.html @@ -0,0 +1,78 @@ + + + + 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..a9d73a82f --- /dev/null +++ b/webassembly/26_ja.html @@ -0,0 +1,80 @@ + + + + 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..7cf63433d --- /dev/null +++ b/webassembly/26_pt-br.html @@ -0,0 +1,75 @@ + + + + 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..6c9770f94 --- /dev/null +++ b/webassembly/26_ro.html @@ -0,0 +1,78 @@ + + + + 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..d8ff30a43 --- /dev/null +++ b/webassembly/27_en.html @@ -0,0 +1,53 @@ + + + + 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..5efd99533 --- /dev/null +++ b/webassembly/27_en_c.html @@ -0,0 +1,53 @@ + + + + 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..1730aeaea --- /dev/null +++ b/webassembly/27_es.html @@ -0,0 +1,53 @@ + + + + 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..72f69ebe9 --- /dev/null +++ b/webassembly/27_fr.html @@ -0,0 +1,56 @@ + + + + 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..f7ee34f84 --- /dev/null +++ b/webassembly/27_fr_c.html @@ -0,0 +1,53 @@ + + + + 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..3c994fa32 --- /dev/null +++ b/webassembly/27_ie.html @@ -0,0 +1,53 @@ + + + + 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..3c55eee21 --- /dev/null +++ b/webassembly/27_ja.html @@ -0,0 +1,53 @@ + + + + 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..771e855f9 --- /dev/null +++ b/webassembly/27_pt-br.html @@ -0,0 +1,51 @@ + + + + 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..c722722d9 --- /dev/null +++ b/webassembly/27_ro.html @@ -0,0 +1,53 @@ + + + + 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..aa8617b8d --- /dev/null +++ b/webassembly/TOC_en.html @@ -0,0 +1,75 @@ + + + + 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..7d41860a7 --- /dev/null +++ b/webassembly/TOC_en_c.html @@ -0,0 +1,75 @@ + + + + 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..1400af029 --- /dev/null +++ b/webassembly/TOC_es.html @@ -0,0 +1,75 @@ + + + + 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..1260cfa39 --- /dev/null +++ b/webassembly/TOC_fr.html @@ -0,0 +1,75 @@ + + + + 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..6629cfa62 --- /dev/null +++ b/webassembly/TOC_fr_c.html @@ -0,0 +1,75 @@ + + + + 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..a65bbbac0 --- /dev/null +++ b/webassembly/TOC_ie.html @@ -0,0 +1,75 @@ + + + + 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..e4b4dd16b --- /dev/null +++ b/webassembly/TOC_ja.html @@ -0,0 +1,75 @@ + + + + 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..c626399eb --- /dev/null +++ b/webassembly/TOC_pt-br.html @@ -0,0 +1,75 @@ + + + + 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..d3470bf1d --- /dev/null +++ b/webassembly/TOC_ro.html @@ -0,0 +1,75 @@ + + + + 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..7e779728a --- /dev/null +++ b/webassembly/beta_00_en_c.html @@ -0,0 +1,65 @@ + + + + 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..4acda2639 --- /dev/null +++ b/webassembly/beta_00_es.html @@ -0,0 +1,67 @@ + + + + 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..d8b0bbd0e --- /dev/null +++ b/webassembly/beta_00_fr.html @@ -0,0 +1,68 @@ + + + + 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..912d1ead0 --- /dev/null +++ b/webassembly/beta_00_fr_c.html @@ -0,0 +1,65 @@ + + + + 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..84ae0b3f5 --- /dev/null +++ b/webassembly/beta_00_ie.html @@ -0,0 +1,67 @@ + + + + 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..391fd5a8c --- /dev/null +++ b/webassembly/beta_00_ja.html @@ -0,0 +1,66 @@ + + + + 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..9462b0dd0 --- /dev/null +++ b/webassembly/beta_00_pt-br.html @@ -0,0 +1,63 @@ + + + + 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..4027504b2 --- /dev/null +++ b/webassembly/beta_00_ro.html @@ -0,0 +1,67 @@ + + + + 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..2579901b0 --- /dev/null +++ b/webassembly/beta_02_en.html @@ -0,0 +1,58 @@ + + + + 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..88821a652 --- /dev/null +++ b/webassembly/beta_02_en_c.html @@ -0,0 +1,58 @@ + + + + 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..0c62630da --- /dev/null +++ b/webassembly/beta_02_es.html @@ -0,0 +1,60 @@ + + + + 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..58183412c --- /dev/null +++ b/webassembly/beta_02_fr.html @@ -0,0 +1,60 @@ + + + + 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..b204ec426 --- /dev/null +++ b/webassembly/beta_02_fr_c.html @@ -0,0 +1,60 @@ + + + + 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..924a079bf --- /dev/null +++ b/webassembly/beta_02_ie.html @@ -0,0 +1,58 @@ + + + + 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..6e4314963 --- /dev/null +++ b/webassembly/beta_02_ja.html @@ -0,0 +1,58 @@ + + + + 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..6bf43542c --- /dev/null +++ b/webassembly/beta_02_pt-br.html @@ -0,0 +1,57 @@ + + + + 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..17ae885ee --- /dev/null +++ b/webassembly/beta_02_ro.html @@ -0,0 +1,58 @@ + + + + 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..767ae4069 --- /dev/null +++ b/webassembly/beta_03_en.html @@ -0,0 +1,54 @@ + + + + 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..475961108 --- /dev/null +++ b/webassembly/beta_03_en_c.html @@ -0,0 +1,54 @@ + + + + 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..81fe1528b --- /dev/null +++ b/webassembly/beta_03_es.html @@ -0,0 +1,55 @@ + + + + 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..5b0b318b4 --- /dev/null +++ b/webassembly/beta_03_fr.html @@ -0,0 +1,55 @@ + + + + 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..0d15d5089 --- /dev/null +++ b/webassembly/beta_03_fr_c.html @@ -0,0 +1,55 @@ + + + + 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..b517f3790 --- /dev/null +++ b/webassembly/beta_03_ie.html @@ -0,0 +1,54 @@ + + + + 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..d87a00011 --- /dev/null +++ b/webassembly/beta_03_ja.html @@ -0,0 +1,54 @@ + + + + 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..fed8c136a --- /dev/null +++ b/webassembly/beta_03_pt-br.html @@ -0,0 +1,53 @@ + + + + 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..18ad7ca23 --- /dev/null +++ b/webassembly/beta_03_ro.html @@ -0,0 +1,54 @@ + + + + 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..6514f1481 --- /dev/null +++ b/webassembly/beta_04_en.html @@ -0,0 +1,55 @@ + + + + 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..c39189b28 --- /dev/null +++ b/webassembly/beta_04_en_c.html @@ -0,0 +1,55 @@ + + + + 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..6c0204707 --- /dev/null +++ b/webassembly/beta_04_fr.html @@ -0,0 +1,57 @@ + + + + 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..6a122f8c5 --- /dev/null +++ b/webassembly/beta_04_fr_c.html @@ -0,0 +1,57 @@ + + + + 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..205240a1a --- /dev/null +++ b/webassembly/beta_04_ie.html @@ -0,0 +1,55 @@ + + + + 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..0a6d5817d --- /dev/null +++ b/webassembly/beta_04_ja.html @@ -0,0 +1,55 @@ + + + + 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..0592123cd --- /dev/null +++ b/webassembly/beta_04_pt-br.html @@ -0,0 +1,53 @@ + + + + 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..21ce5261e --- /dev/null +++ b/webassembly/beta_04_ro.html @@ -0,0 +1,55 @@ + + + + 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..f2b18e788 --- /dev/null +++ b/webassembly/beta_05_en.html @@ -0,0 +1,54 @@ + + + + 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..f4cf19dfd --- /dev/null +++ b/webassembly/beta_05_en_c.html @@ -0,0 +1,54 @@ + + + + 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..9fe03f823 --- /dev/null +++ b/webassembly/beta_05_fr.html @@ -0,0 +1,56 @@ + + + + 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..4d7857c3d --- /dev/null +++ b/webassembly/beta_05_fr_c.html @@ -0,0 +1,56 @@ + + + + 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..a612e3770 --- /dev/null +++ b/webassembly/beta_05_ie.html @@ -0,0 +1,54 @@ + + + + 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..d61decbb1 --- /dev/null +++ b/webassembly/beta_05_ja.html @@ -0,0 +1,54 @@ + + + + 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..8b869ef8d --- /dev/null +++ b/webassembly/beta_05_pt-br.html @@ -0,0 +1,53 @@ + + + + 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..9c3458a04 --- /dev/null +++ b/webassembly/beta_05_ro.html @@ -0,0 +1,54 @@ + + + + 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..93935ed4d --- /dev/null +++ b/webassembly/beta_06_en.html @@ -0,0 +1,56 @@ + + + + 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..e6bd9c1bb --- /dev/null +++ b/webassembly/beta_06_en_c.html @@ -0,0 +1,56 @@ + + + + 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..54d902a75 --- /dev/null +++ b/webassembly/beta_06_fr.html @@ -0,0 +1,56 @@ + + + + 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..8af913338 --- /dev/null +++ b/webassembly/beta_06_fr_c.html @@ -0,0 +1,56 @@ + + + + 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..143d8151e --- /dev/null +++ b/webassembly/beta_06_ie.html @@ -0,0 +1,56 @@ + + + + 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..239576c3b --- /dev/null +++ b/webassembly/beta_06_ja.html @@ -0,0 +1,55 @@ + + + + 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..ea31209cd --- /dev/null +++ b/webassembly/beta_06_pt-br.html @@ -0,0 +1,54 @@ + + + + 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..ac85369de --- /dev/null +++ b/webassembly/beta_06_ro.html @@ -0,0 +1,56 @@ + + + + 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..8b3871414 --- /dev/null +++ b/webassembly/beta_07_en.html @@ -0,0 +1,52 @@ + + + + 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..5e6b1afbc --- /dev/null +++ b/webassembly/beta_07_en_c.html @@ -0,0 +1,52 @@ + + + + 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..724e50b39 --- /dev/null +++ b/webassembly/beta_07_fr.html @@ -0,0 +1,54 @@ + + + + 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..8de04ea52 --- /dev/null +++ b/webassembly/beta_07_fr_c.html @@ -0,0 +1,54 @@ + + + + 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..4780a9586 --- /dev/null +++ b/webassembly/beta_07_ja.html @@ -0,0 +1,52 @@ + + + + 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..69d0102bb --- /dev/null +++ b/webassembly/beta_07_pt-br.html @@ -0,0 +1,51 @@ + + + + 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..c2c1d6090 --- /dev/null +++ b/webassembly/beta_07_ro.html @@ -0,0 +1,52 @@ + + + + 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..716d271ec --- /dev/null +++ b/webassembly/beta_09_en.html @@ -0,0 +1,56 @@ + + + + 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..7dc61b23c --- /dev/null +++ b/webassembly/beta_09_en_c.html @@ -0,0 +1,54 @@ + + + + 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..18da4faa2 --- /dev/null +++ b/webassembly/beta_09_fr.html @@ -0,0 +1,56 @@ + + + + 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..b02b5ff0f --- /dev/null +++ b/webassembly/beta_09_fr_c.html @@ -0,0 +1,54 @@ + + + + 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..24e662cef --- /dev/null +++ b/webassembly/beta_09_ja.html @@ -0,0 +1,55 @@ + + + + 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..a3751f3db --- /dev/null +++ b/webassembly/beta_09_pt-br.html @@ -0,0 +1,55 @@ + + + + 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..86a3b1456 --- /dev/null +++ b/webassembly/beta_09_ro.html @@ -0,0 +1,56 @@ + + + + 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..f311ebd34 --- /dev/null +++ b/webassembly/beta_10_en.html @@ -0,0 +1,57 @@ + + + + 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..6a40bf2c6 --- /dev/null +++ b/webassembly/beta_10_en_c.html @@ -0,0 +1,57 @@ + + + + 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..79d3c10d5 --- /dev/null +++ b/webassembly/beta_10_fr.html @@ -0,0 +1,57 @@ + + + + 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..0177314d4 --- /dev/null +++ b/webassembly/beta_10_fr_c.html @@ -0,0 +1,57 @@ + + + + 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..b893ea3e5 --- /dev/null +++ b/webassembly/beta_10_ja.html @@ -0,0 +1,57 @@ + + + + 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..b88957aa7 --- /dev/null +++ b/webassembly/beta_10_pt-br.html @@ -0,0 +1,57 @@ + + + + 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..478de1773 --- /dev/null +++ b/webassembly/beta_10_ro.html @@ -0,0 +1,57 @@ + + + + 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..491b48be2 --- /dev/null +++ b/webassembly/beta_11_en.html @@ -0,0 +1,55 @@ + + + + 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..7cdbd1821 --- /dev/null +++ b/webassembly/beta_11_en_c.html @@ -0,0 +1,55 @@ + + + + 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..c7d16d77b --- /dev/null +++ b/webassembly/beta_11_fr.html @@ -0,0 +1,56 @@ + + + + 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..62c522b6d --- /dev/null +++ b/webassembly/beta_11_fr_c.html @@ -0,0 +1,56 @@ + + + + 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..f56717858 --- /dev/null +++ b/webassembly/beta_11_ja.html @@ -0,0 +1,54 @@ + + + + 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..e652bc6d0 --- /dev/null +++ b/webassembly/beta_11_pt-br.html @@ -0,0 +1,54 @@ + + + + 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..d3041d2bf --- /dev/null +++ b/webassembly/beta_11_ro.html @@ -0,0 +1,55 @@ + + + + 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..5d4975a76 --- /dev/null +++ b/webassembly/beta_12_en.html @@ -0,0 +1,66 @@ + + + + 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..cc95dd20e --- /dev/null +++ b/webassembly/beta_12_en_c.html @@ -0,0 +1,66 @@ + + + + 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..3d622219f --- /dev/null +++ b/webassembly/beta_12_fr.html @@ -0,0 +1,67 @@ + + + + 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..f47f64529 --- /dev/null +++ b/webassembly/beta_12_fr_c.html @@ -0,0 +1,67 @@ + + + + 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..a11a448d4 --- /dev/null +++ b/webassembly/beta_12_ja.html @@ -0,0 +1,66 @@ + + + + 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..dd295f06b --- /dev/null +++ b/webassembly/beta_12_pt-br.html @@ -0,0 +1,53 @@ + + + + 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..a844fc45f --- /dev/null +++ b/webassembly/beta_12_ro.html @@ -0,0 +1,68 @@ + + + + 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..cf2f78807 --- /dev/null +++ b/webassembly/beta_13_en.html @@ -0,0 +1,68 @@ + + + + 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..129f53bce --- /dev/null +++ b/webassembly/beta_13_en_c.html @@ -0,0 +1,68 @@ + + + + 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..7a8bf8b52 --- /dev/null +++ b/webassembly/beta_13_fr.html @@ -0,0 +1,71 @@ + + + + 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..8646f827b --- /dev/null +++ b/webassembly/beta_13_fr_c.html @@ -0,0 +1,71 @@ + + + + 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..82f4b1f95 --- /dev/null +++ b/webassembly/beta_13_ja.html @@ -0,0 +1,66 @@ + + + + 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..0f4c7ec91 --- /dev/null +++ b/webassembly/beta_13_pt-br.html @@ -0,0 +1,53 @@ + + + + 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..b8884eb76 --- /dev/null +++ b/webassembly/beta_13_ro.html @@ -0,0 +1,68 @@ + + + + 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..2d9123e37 --- /dev/null +++ b/webassembly/beta_14_en.html @@ -0,0 +1,69 @@ + + + + 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..2d78d92d8 --- /dev/null +++ b/webassembly/beta_14_en_c.html @@ -0,0 +1,69 @@ + + + + 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..172811b7d --- /dev/null +++ b/webassembly/beta_14_fr.html @@ -0,0 +1,71 @@ + + + + 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..927287583 --- /dev/null +++ b/webassembly/beta_14_fr_c.html @@ -0,0 +1,71 @@ + + + + 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..ed203ebb4 --- /dev/null +++ b/webassembly/beta_14_ja.html @@ -0,0 +1,69 @@ + + + + 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..84a18433a --- /dev/null +++ b/webassembly/beta_14_pt-br.html @@ -0,0 +1,68 @@ + + + + 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..124ed3a0b --- /dev/null +++ b/webassembly/beta_14_ro.html @@ -0,0 +1,69 @@ + + + + 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..a3338c3ef --- /dev/null +++ b/webassembly/beta_15_en.html @@ -0,0 +1,78 @@ + + + + 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..ef1268c66 --- /dev/null +++ b/webassembly/beta_15_en_c.html @@ -0,0 +1,78 @@ + + + + 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..891352e19 --- /dev/null +++ b/webassembly/beta_15_fr.html @@ -0,0 +1,81 @@ + + + + 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..7233b0771 --- /dev/null +++ b/webassembly/beta_15_fr_c.html @@ -0,0 +1,81 @@ + + + + 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..35ac7f0ca --- /dev/null +++ b/webassembly/beta_15_ja.html @@ -0,0 +1,78 @@ + + + + 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..997511c1d --- /dev/null +++ b/webassembly/beta_15_pt-br.html @@ -0,0 +1,65 @@ + + + + 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..7cf0bcd0b --- /dev/null +++ b/webassembly/beta_15_ro.html @@ -0,0 +1,78 @@ + + + + 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..30dcaae73 --- /dev/null +++ b/webassembly/beta_16_en.html @@ -0,0 +1,56 @@ + + + + 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..71b795a77 --- /dev/null +++ b/webassembly/beta_16_en_c.html @@ -0,0 +1,56 @@ + + + + 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..0bd4cf38a --- /dev/null +++ b/webassembly/beta_16_fr.html @@ -0,0 +1,59 @@ + + + + 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..15a2199e0 --- /dev/null +++ b/webassembly/beta_16_fr_c.html @@ -0,0 +1,59 @@ + + + + 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..fe6897282 --- /dev/null +++ b/webassembly/beta_16_ja.html @@ -0,0 +1,54 @@ + + + + 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..d46648770 --- /dev/null +++ b/webassembly/beta_16_pt-br.html @@ -0,0 +1,54 @@ + + + + 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..cec99ed3c --- /dev/null +++ b/webassembly/beta_16_ro.html @@ -0,0 +1,55 @@ + + + + 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..e3ac193cd --- /dev/null +++ b/webassembly/beta_17_en.html @@ -0,0 +1,55 @@ + + + + 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..d16c71a3a --- /dev/null +++ b/webassembly/beta_17_en_c.html @@ -0,0 +1,55 @@ + + + + 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..102de517f --- /dev/null +++ b/webassembly/beta_17_fr.html @@ -0,0 +1,61 @@ + + + + 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..0ba50a599 --- /dev/null +++ b/webassembly/beta_17_fr_c.html @@ -0,0 +1,59 @@ + + + + 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..ef7b6d66b --- /dev/null +++ b/webassembly/beta_17_ja.html @@ -0,0 +1,54 @@ + + + + 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..2dfbcf778 --- /dev/null +++ b/webassembly/beta_17_pt-br.html @@ -0,0 +1,53 @@ + + + + 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..b8e544c42 --- /dev/null +++ b/webassembly/beta_17_ro.html @@ -0,0 +1,55 @@ + + + + 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..29defc12f --- /dev/null +++ b/webassembly/beta_19_en.html @@ -0,0 +1,61 @@ + + + + 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..0f5a2cc77 --- /dev/null +++ b/webassembly/beta_19_fr.html @@ -0,0 +1,66 @@ + + + + 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..7b6613d2a --- /dev/null +++ b/webassembly/beta_19_ja.html @@ -0,0 +1,59 @@ + + + + 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..d4aecd1b1 --- /dev/null +++ b/webassembly/beta_19_pt-br.html @@ -0,0 +1,56 @@ + + + + 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..f37a98f46 --- /dev/null +++ b/webassembly/beta_19_ro.html @@ -0,0 +1,59 @@ + + + + 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..21d8fa4b9 --- /dev/null +++ b/webassembly/beta_20_en.html @@ -0,0 +1,56 @@ + + + + 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..99bcf5649 --- /dev/null +++ b/webassembly/beta_20_fr.html @@ -0,0 +1,61 @@ + + + + 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..b39732812 --- /dev/null +++ b/webassembly/beta_20_ja.html @@ -0,0 +1,56 @@ + + + + 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..a87e00e45 --- /dev/null +++ b/webassembly/beta_20_pt-br.html @@ -0,0 +1,56 @@ + + + + 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..6f4b85673 --- /dev/null +++ b/webassembly/beta_20_ro.html @@ -0,0 +1,56 @@ + + + + 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..a28a68c6c --- /dev/null +++ b/webassembly/beta_21_en.html @@ -0,0 +1,62 @@ + + + + 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..3723ec1cd --- /dev/null +++ b/webassembly/beta_21_fr.html @@ -0,0 +1,67 @@ + + + + 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..281a5a2c0 --- /dev/null +++ b/webassembly/beta_21_ja.html @@ -0,0 +1,61 @@ + + + + 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..ef804c16e --- /dev/null +++ b/webassembly/beta_21_pt-br.html @@ -0,0 +1,59 @@ + + + + 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..c4a357beb --- /dev/null +++ b/webassembly/beta_21_ro.html @@ -0,0 +1,62 @@ + + + + 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..549297a83 --- /dev/null +++ b/webassembly/beta_22_en.html @@ -0,0 +1,68 @@ + + + + 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..91e31cab7 --- /dev/null +++ b/webassembly/beta_22_fr.html @@ -0,0 +1,74 @@ + + + + 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..402ff167d --- /dev/null +++ b/webassembly/beta_22_ja.html @@ -0,0 +1,71 @@ + + + + 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..be1bf14c9 --- /dev/null +++ b/webassembly/beta_22_pt-br.html @@ -0,0 +1,63 @@ + + + + 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..6f4006ec6 --- /dev/null +++ b/webassembly/beta_22_ro.html @@ -0,0 +1,68 @@ + + + + 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..b6e35c51b --- /dev/null +++ b/webassembly/beta_23_en.html @@ -0,0 +1,66 @@ + + + + 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..4e0b08853 --- /dev/null +++ b/webassembly/beta_23_fr.html @@ -0,0 +1,69 @@ + + + + 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..102c0d39a --- /dev/null +++ b/webassembly/beta_23_ja.html @@ -0,0 +1,69 @@ + + + + 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..f02051c19 --- /dev/null +++ b/webassembly/beta_23_pt-br.html @@ -0,0 +1,63 @@ + + + + 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..288a35f3c --- /dev/null +++ b/webassembly/beta_23_ro.html @@ -0,0 +1,66 @@ + + + + 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..d62880e52 --- /dev/null +++ b/webassembly/beta_24_en.html @@ -0,0 +1,68 @@ + + + + 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..af4e72c7c --- /dev/null +++ b/webassembly/beta_24_fr.html @@ -0,0 +1,71 @@ + + + + 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..3ea970cae --- /dev/null +++ b/webassembly/beta_24_ja.html @@ -0,0 +1,69 @@ + + + + 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..9c4c77979 --- /dev/null +++ b/webassembly/beta_24_pt-br.html @@ -0,0 +1,64 @@ + + + + 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..db8b63abb --- /dev/null +++ b/webassembly/beta_24_ro.html @@ -0,0 +1,68 @@ + + + + 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..b269bc0cf --- /dev/null +++ b/webassembly/beta_25_en.html @@ -0,0 +1,78 @@ + + + + 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..11377a24d --- /dev/null +++ b/webassembly/beta_25_fr.html @@ -0,0 +1,83 @@ + + + + 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..2de9eae78 --- /dev/null +++ b/webassembly/beta_25_ja.html @@ -0,0 +1,77 @@ + + + + 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..9becd2d56 --- /dev/null +++ b/webassembly/beta_25_pt-br.html @@ -0,0 +1,72 @@ + + + + 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..1eed1d61b --- /dev/null +++ b/webassembly/beta_25_ro.html @@ -0,0 +1,84 @@ + + + + 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..4e1772289 --- /dev/null +++ b/webassembly/beta_26_en.html @@ -0,0 +1,78 @@ + + + + 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..7323252b7 --- /dev/null +++ b/webassembly/beta_26_fr.html @@ -0,0 +1,79 @@ + + + + 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..b51ec93b1 --- /dev/null +++ b/webassembly/beta_26_ja.html @@ -0,0 +1,80 @@ + + + + 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..000aaaa1f --- /dev/null +++ b/webassembly/beta_26_pt-br.html @@ -0,0 +1,75 @@ + + + + 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..5ca5c05c5 --- /dev/null +++ b/webassembly/beta_26_ro.html @@ -0,0 +1,78 @@ + + + + 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..6c2e597d8 --- /dev/null +++ b/webassembly/beta_27_en.html @@ -0,0 +1,53 @@ + + + + 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..e4d5e9f57 --- /dev/null +++ b/webassembly/beta_27_fr.html @@ -0,0 +1,56 @@ + + + + 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..c67ad741d --- /dev/null +++ b/webassembly/beta_27_ja.html @@ -0,0 +1,53 @@ + + + + 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..1e964e39b --- /dev/null +++ b/webassembly/beta_27_pt-br.html @@ -0,0 +1,51 @@ + + + + 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..d2adfe9bc --- /dev/null +++ b/webassembly/beta_27_ro.html @@ -0,0 +1,53 @@ + + + + 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..416457035 --- /dev/null +++ b/webassembly/beta_chapter_1_en.html @@ -0,0 +1,59 @@ + + + + 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..6a2b19a25 --- /dev/null +++ b/webassembly/beta_chapter_1_en_c.html @@ -0,0 +1,59 @@ + + + + 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..58b5286a8 --- /dev/null +++ b/webassembly/beta_chapter_1_es.html @@ -0,0 +1,63 @@ + + + + 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..592b41149 --- /dev/null +++ b/webassembly/beta_chapter_1_fr.html @@ -0,0 +1,66 @@ + + + + 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..d15e6b833 --- /dev/null +++ b/webassembly/beta_chapter_1_fr_c.html @@ -0,0 +1,66 @@ + + + + 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..cf7a13936 --- /dev/null +++ b/webassembly/beta_chapter_1_ie.html @@ -0,0 +1,59 @@ + + + + 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..267e8a5de --- /dev/null +++ b/webassembly/beta_chapter_1_ja.html @@ -0,0 +1,59 @@ + + + + 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..b08e74eaf --- /dev/null +++ b/webassembly/beta_chapter_1_pt-br.html @@ -0,0 +1,58 @@ + + + + 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..0c3f86d98 --- /dev/null +++ b/webassembly/beta_chapter_1_ro.html @@ -0,0 +1,58 @@ + + + + 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..1f20be6ba --- /dev/null +++ b/webassembly/beta_chapter_2_en.html @@ -0,0 +1,53 @@ + + + + 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..74bb71583 --- /dev/null +++ b/webassembly/beta_chapter_2_en_c.html @@ -0,0 +1,53 @@ + + + + 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..4898ad003 --- /dev/null +++ b/webassembly/beta_chapter_2_fr.html @@ -0,0 +1,53 @@ + + + + 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..c7ae112ab --- /dev/null +++ b/webassembly/beta_chapter_2_fr_c.html @@ -0,0 +1,53 @@ + + + + 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..c6b38cca9 --- /dev/null +++ b/webassembly/beta_chapter_2_ja.html @@ -0,0 +1,53 @@ + + + + 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..b4387dbb8 --- /dev/null +++ b/webassembly/beta_chapter_2_pt-br.html @@ -0,0 +1,53 @@ + + + + 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..57ac4b86d --- /dev/null +++ b/webassembly/beta_chapter_2_ro.html @@ -0,0 +1,53 @@ + + + + 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..040a4aac4 --- /dev/null +++ b/webassembly/beta_chapter_3_en.html @@ -0,0 +1,51 @@ + + + + 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..aadc97ceb --- /dev/null +++ b/webassembly/beta_chapter_3_fr.html @@ -0,0 +1,52 @@ + + + + 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..98261b627 --- /dev/null +++ b/webassembly/beta_chapter_3_ja.html @@ -0,0 +1,51 @@ + + + + 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..30cfb39b5 --- /dev/null +++ b/webassembly/beta_chapter_3_pt-br.html @@ -0,0 +1,51 @@ + + + + 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..dc0e8a134 --- /dev/null +++ b/webassembly/beta_chapter_3_ro.html @@ -0,0 +1,51 @@ + + + + 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..fbbd6cbc0 --- /dev/null +++ b/webassembly/beta_index.html @@ -0,0 +1,67 @@ + + + + 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..4c11ede93 --- /dev/null +++ b/webassembly/chapter_1_en.html @@ -0,0 +1,59 @@ + + + + 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..b4e72d7db --- /dev/null +++ b/webassembly/chapter_1_en_c.html @@ -0,0 +1,59 @@ + + + + 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..a3086dbce --- /dev/null +++ b/webassembly/chapter_1_es.html @@ -0,0 +1,63 @@ + + + + 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..f9f0bb0d8 --- /dev/null +++ b/webassembly/chapter_1_fr.html @@ -0,0 +1,66 @@ + + + + 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..1f32225b3 --- /dev/null +++ b/webassembly/chapter_1_fr_c.html @@ -0,0 +1,66 @@ + + + + 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..e8c12b517 --- /dev/null +++ b/webassembly/chapter_1_ie.html @@ -0,0 +1,59 @@ + + + + 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..da0f77abe --- /dev/null +++ b/webassembly/chapter_1_ja.html @@ -0,0 +1,59 @@ + + + + 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..abeece9f4 --- /dev/null +++ b/webassembly/chapter_1_pt-br.html @@ -0,0 +1,58 @@ + + + + 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..55957a393 --- /dev/null +++ b/webassembly/chapter_1_ro.html @@ -0,0 +1,58 @@ + + + + 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..39b8624f3 --- /dev/null +++ b/webassembly/chapter_2_en.html @@ -0,0 +1,53 @@ + + + + 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..cb48ac0da --- /dev/null +++ b/webassembly/chapter_2_en_c.html @@ -0,0 +1,53 @@ + + + + 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..4b3ae01d0 --- /dev/null +++ b/webassembly/chapter_2_es.html @@ -0,0 +1,53 @@ + + + + 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..f2c366afe --- /dev/null +++ b/webassembly/chapter_2_fr.html @@ -0,0 +1,53 @@ + + + + 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..267244be7 --- /dev/null +++ b/webassembly/chapter_2_fr_c.html @@ -0,0 +1,53 @@ + + + + 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..e6f5452cf --- /dev/null +++ b/webassembly/chapter_2_ie.html @@ -0,0 +1,53 @@ + + + + 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..73708a2f3 --- /dev/null +++ b/webassembly/chapter_2_ja.html @@ -0,0 +1,53 @@ + + + + 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..b0db4d8d9 --- /dev/null +++ b/webassembly/chapter_2_pt-br.html @@ -0,0 +1,53 @@ + + + + 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..83f91b61b --- /dev/null +++ b/webassembly/chapter_2_ro.html @@ -0,0 +1,53 @@ + + + + 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..509d54a31 --- /dev/null +++ b/webassembly/chapter_3_en.html @@ -0,0 +1,51 @@ + + + + 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..75b6fca1b --- /dev/null +++ b/webassembly/chapter_3_en_c.html @@ -0,0 +1,51 @@ + + + + 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..8189ac913 --- /dev/null +++ b/webassembly/chapter_3_es.html @@ -0,0 +1,51 @@ + + + + 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..5fb78bdb0 --- /dev/null +++ b/webassembly/chapter_3_fr.html @@ -0,0 +1,52 @@ + + + + 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..1a006e5df --- /dev/null +++ b/webassembly/chapter_3_fr_c.html @@ -0,0 +1,51 @@ + + + + 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..66101f061 --- /dev/null +++ b/webassembly/chapter_3_ie.html @@ -0,0 +1,51 @@ + + + + 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..810df2280 --- /dev/null +++ b/webassembly/chapter_3_ja.html @@ -0,0 +1,51 @@ + + + + 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..ac664b44b --- /dev/null +++ b/webassembly/chapter_3_pt-br.html @@ -0,0 +1,51 @@ + + + + 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..0f7590b70 --- /dev/null +++ b/webassembly/chapter_3_ro.html @@ -0,0 +1,51 @@ + + + + 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..0b3bbfd8b --- /dev/null +++ b/webassembly/index.html @@ -0,0 +1,67 @@ + + + + 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