diff --git a/00_de.html b/00_de.html new file mode 100644 index 000000000..a39d6e1ce --- /dev/null +++ b/00_de.html @@ -0,0 +1,84 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour durch Rust + + Inhaltsverzeichnis +
+
+

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..b81b874fe --- /dev/null +++ b/00_es.html @@ -0,0 +1,84 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..fb44ec275 --- /dev/null +++ b/00_fa.html @@ -0,0 +1,78 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

سلام,

+

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

+

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

+ +

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

+

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

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

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..554a132eb --- /dev/null +++ b/00_fr.html @@ -0,0 +1,84 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..492bd2fd2 --- /dev/null +++ b/00_gr.html @@ -0,0 +1,78 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

Γεια,

+

Καλώς ήρθατε στην Ξενάγηση στη 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..ee8b657c4 --- /dev/null +++ b/00_hu.html @@ -0,0 +1,84 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..b7864e8c3 --- /dev/null +++ b/00_id.html @@ -0,0 +1,79 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

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..6def386dd --- /dev/null +++ b/00_ie.html @@ -0,0 +1,55 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..44321ae99 --- /dev/null +++ b/00_it.html @@ -0,0 +1,82 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

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..aa3d75265 --- /dev/null +++ b/00_ja.html @@ -0,0 +1,83 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

こんにちは、

+

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..347707b3c --- /dev/null +++ b/00_ko.html @@ -0,0 +1,79 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

안녕하세요,

+

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..14322fc9e --- /dev/null +++ b/00_pl.html @@ -0,0 +1,77 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..0b69a9388 --- /dev/null +++ b/00_pt-br.html @@ -0,0 +1,79 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..6cc88ce1a --- /dev/null +++ b/00_ro.html @@ -0,0 +1,88 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..2cab9e9e9 --- /dev/null +++ b/00_ru.html @@ -0,0 +1,82 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Привет,

+

Добро пожаловать в Тур по 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..400689778 --- /dev/null +++ b/00_th.html @@ -0,0 +1,78 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

สวัสดี,

+

ยินดีต้อนรับสู่ 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..8550c8acb --- /dev/null +++ b/00_tr.html @@ -0,0 +1,77 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..4da27ae76 --- /dev/null +++ b/00_ua.html @@ -0,0 +1,78 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Привіт,

+

Ласкаво просимо до 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..e3dd11286 --- /dev/null +++ b/00_vi.html @@ -0,0 +1,82 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..3ecf1eea2 --- /dev/null +++ b/00_zh-cn.html @@ -0,0 +1,79 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

你好,

+

欢迎来到 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..c029dfa52 --- /dev/null +++ b/00_zh-tw.html @@ -0,0 +1,79 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

您好,

+

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

+

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

+

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

+ +

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

+

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

+

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

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

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..9e5d135e2 --- /dev/null +++ b/02_en.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..8d8811324 --- /dev/null +++ b/02_es.html @@ -0,0 +1,56 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..ea43b6462 --- /dev/null +++ b/02_fa.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..729e7e653 --- /dev/null +++ b/02_fi.html @@ -0,0 +1,56 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

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..80c632e91 --- /dev/null +++ b/02_fr.html @@ -0,0 +1,56 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..f699e1c23 --- /dev/null +++ b/02_gr.html @@ -0,0 +1,56 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

Η Παιδική Χαρά της 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..753258b9c --- /dev/null +++ b/02_hu.html @@ -0,0 +1,58 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..aac5e28d3 --- /dev/null +++ b/02_id.html @@ -0,0 +1,56 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

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..88db73f84 --- /dev/null +++ b/02_ie.html @@ -0,0 +1,55 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..110d18470 --- /dev/null +++ b/02_it.html @@ -0,0 +1,56 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

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..ef97ca0d4 --- /dev/null +++ b/02_ja.html @@ -0,0 +1,56 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

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..c1ee35226 --- /dev/null +++ b/02_ko.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

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..bfaf61dca --- /dev/null +++ b/02_pl.html @@ -0,0 +1,56 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..2614d0682 --- /dev/null +++ b/02_pt-br.html @@ -0,0 +1,56 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..9526d0046 --- /dev/null +++ b/02_ro.html @@ -0,0 +1,56 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..2a1782f0b --- /dev/null +++ b/02_ru.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

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..1d03ad8b3 --- /dev/null +++ b/02_th.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..31bd1ae34 --- /dev/null +++ b/02_tr.html @@ -0,0 +1,56 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..e48fb1a29 --- /dev/null +++ b/02_ua.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

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..de4eb431a --- /dev/null +++ b/02_vi.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..1075d77c4 --- /dev/null +++ b/02_zh-cn.html @@ -0,0 +1,56 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

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..f8d33a516 --- /dev/null +++ b/02_zh-tw.html @@ -0,0 +1,56 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

The Rust Playground (Rust 語言遊樂場)

+

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

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

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..1e4c49abf --- /dev/null +++ b/03_en.html @@ -0,0 +1,60 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..8603a38c5 --- /dev/null +++ b/03_es.html @@ -0,0 +1,60 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..190e374a4 --- /dev/null +++ b/03_fa.html @@ -0,0 +1,60 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..6acc2ec35 --- /dev/null +++ b/03_fi.html @@ -0,0 +1,58 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

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..636a9bd9c --- /dev/null +++ b/03_fr.html @@ -0,0 +1,61 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..4b7c5ffde --- /dev/null +++ b/03_gr.html @@ -0,0 +1,58 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

Μεταβλητές

+

Οι μεταβλητές δηλώνονται με τη λέξη-κλειδί 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..4c76461d3 --- /dev/null +++ b/03_hu.html @@ -0,0 +1,60 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..5c0eece69 --- /dev/null +++ b/03_id.html @@ -0,0 +1,58 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

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..cd0e45206 --- /dev/null +++ b/03_ie.html @@ -0,0 +1,55 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..3f8bdbb8a --- /dev/null +++ b/03_it.html @@ -0,0 +1,60 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

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..789f8121d --- /dev/null +++ b/03_ja.html @@ -0,0 +1,59 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

変数

+

変数は 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..89f740d1a --- /dev/null +++ b/03_ko.html @@ -0,0 +1,60 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

변수

+

변수는 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..7d4964533 --- /dev/null +++ b/03_pl.html @@ -0,0 +1,59 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..0ffed07a7 --- /dev/null +++ b/03_pt-br.html @@ -0,0 +1,59 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..915afd962 --- /dev/null +++ b/03_ro.html @@ -0,0 +1,60 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..f47fa1e88 --- /dev/null +++ b/03_ru.html @@ -0,0 +1,58 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Переменные (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..97d1ca98c --- /dev/null +++ b/03_th.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

ตัวแปร

+

การประกาศตัวแปร ใช้คียเวิร์ด 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..9d6c1d795 --- /dev/null +++ b/03_tr.html @@ -0,0 +1,58 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..1ecf3c427 --- /dev/null +++ b/03_ua.html @@ -0,0 +1,58 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Змінні

+

Змінні оголошуються за допомогою ключового слова 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..1f8fd2434 --- /dev/null +++ b/03_vi.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..e0ca30d1f --- /dev/null +++ b/03_zh-cn.html @@ -0,0 +1,58 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

变量

+

变量使用 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..176ca4375 --- /dev/null +++ b/03_zh-tw.html @@ -0,0 +1,58 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

變量 (Variables)

+

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

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

Variablenwerte ändern

+

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

+ +

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..658d88865 --- /dev/null +++ b/04_en.html @@ -0,0 +1,62 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

Changing Variables

+

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

+ +

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..3305cafa7 --- /dev/null +++ b/04_es.html @@ -0,0 +1,62 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

Modificar Variables

+

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

+ +

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..c4a413275 --- /dev/null +++ b/04_fa.html @@ -0,0 +1,62 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

Changing Variables

+

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

+ +

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..c268e6898 --- /dev/null +++ b/04_fi.html @@ -0,0 +1,61 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

Muuttumattomat muuttujat

+

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

+ +

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..108f98155 --- /dev/null +++ b/04_fr.html @@ -0,0 +1,62 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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:

+ +

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..4b26a3b29 --- /dev/null +++ b/04_gr.html @@ -0,0 +1,61 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

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

+

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

+ +

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

+

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

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

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:

+ +

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..437213521 --- /dev/null +++ b/04_id.html @@ -0,0 +1,61 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

Merubah Variabel

+

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

+ +

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..9f8cf81ac --- /dev/null +++ b/04_ie.html @@ -0,0 +1,55 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

Changear valores

+

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

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..4227088a0 --- /dev/null +++ b/04_it.html @@ -0,0 +1,62 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

Modificare le Variabili

+

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

+ +

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..445355729 --- /dev/null +++ b/04_ja.html @@ -0,0 +1,61 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

変数の変更

+

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..6635decf8 --- /dev/null +++ b/04_ko.html @@ -0,0 +1,61 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

변수의 값 변경하기

+

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

+ +

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

+

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

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/04_pl.html b/04_pl.html new file mode 100644 index 000000000..91b9e2c91 --- /dev/null +++ b/04_pl.html @@ -0,0 +1,61 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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 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..8c2aeeac3 --- /dev/null +++ b/04_pt-br.html @@ -0,0 +1,61 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

Modificando valores

+

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

+ +

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..f887833ee --- /dev/null +++ b/04_ro.html @@ -0,0 +1,62 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

Modificarea variabilelor

+

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

+ +

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..6aeb80283 --- /dev/null +++ b/04_ru.html @@ -0,0 +1,61 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

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

+

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

+ +

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

+

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

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

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

+

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

+ +

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

+

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

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

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:

+ +

İ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..2d7821c6c --- /dev/null +++ b/04_ua.html @@ -0,0 +1,61 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

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

+

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

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/04_vi.html b/04_vi.html new file mode 100644 index 000000000..3d8892f65 --- /dev/null +++ b/04_vi.html @@ -0,0 +1,61 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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:

+ +

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..ea25e652d --- /dev/null +++ b/04_zh-cn.html @@ -0,0 +1,61 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

修改变量

+

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..947f8d04c --- /dev/null +++ b/04_zh-tw.html @@ -0,0 +1,61 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

改變變數的值

+

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

+ +

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

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

Basistypen

+

Rust besitzt eine vielzahl an bekannten Datentypen

+ +

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..d6ab5abd2 --- /dev/null +++ b/05_en.html @@ -0,0 +1,71 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

Basic Types

+

Rust has a variety of familiar types:

+ +

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..232331bf0 --- /dev/null +++ b/05_es.html @@ -0,0 +1,68 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

Tipos Básicos

+

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

+ +

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..7414c3d73 --- /dev/null +++ b/05_fa.html @@ -0,0 +1,71 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

Basic Types

+

Rust has a variety of familiar types:

+ +

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..e23151638 --- /dev/null +++ b/05_fi.html @@ -0,0 +1,69 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

Perustietotyypit

+

Rustissa on paljon tuttuja tietotyyppejä:

+ +

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..df99aba61 --- /dev/null +++ b/05_fr.html @@ -0,0 +1,73 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

Types primitifs

+

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

+ +

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..739322576 --- /dev/null +++ b/05_gr.html @@ -0,0 +1,68 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

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

+

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

+ +

Ο χειρισμός του κειμένου μπορεί να 'ναι πιο πολύπλοκος απ' όσο έχετε ίσως συνηθίσει σε άλλες γλώσσες· καθώς η 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..4f1e780dd --- /dev/null +++ b/05_hu.html @@ -0,0 +1,80 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

Alapvető típusok

+

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

+ +

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..21af05b60 --- /dev/null +++ b/05_id.html @@ -0,0 +1,71 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

Tipe Data Dasar

+

Rust mempunyai berbagai jenis tipe data:

+ +

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..a2836321c --- /dev/null +++ b/05_ie.html @@ -0,0 +1,55 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

Basic tipes

+

Rust possede un varietá de tipes familiari

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..2688f369f --- /dev/null +++ b/05_it.html @@ -0,0 +1,70 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

Tipi di dato basilari

+

Rust ha molti tipi familiari:

+ +

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..bb49f4e9d --- /dev/null +++ b/05_ja.html @@ -0,0 +1,69 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

基本的な型

+

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

+ +

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..8c7163004 --- /dev/null +++ b/05_ko.html @@ -0,0 +1,70 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

기본 자료형

+

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

+ +

텍스트는 다른 익숙한 언어에서보다 복잡한데, 이는 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..6a5d82ed9 --- /dev/null +++ b/05_pl.html @@ -0,0 +1,68 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

Podstawowe Typy

+

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

+ +

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..f54a6f51f --- /dev/null +++ b/05_pt-br.html @@ -0,0 +1,68 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

Tipos básicos

+

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

+ +

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..c14c6ea1d --- /dev/null +++ b/05_ro.html @@ -0,0 +1,71 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

Tipuri de date de bază

+

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

+ +

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..9f24cfa9d --- /dev/null +++ b/05_ru.html @@ -0,0 +1,68 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

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

+

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

+ +

Справедливое предупреждение: на других языках текст может быть сложнее, чем вы привыкли. 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..70f88ba58 --- /dev/null +++ b/05_th.html @@ -0,0 +1,69 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

Types พื้นฐาน

+

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

+ +

เรื่องประเภทข้อมูลแบบข้อความ อาจจะมีความซับซ้อนมากกว่าที่คุณเคยรู้ในภาษาอื่น; เนื่องจากว่า 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..9777c0d25 --- /dev/null +++ b/05_tr.html @@ -0,0 +1,68 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

Temel Türler

+

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

+ +

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..33ab67175 --- /dev/null +++ b/05_ua.html @@ -0,0 +1,68 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Базові типи

+

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

+ +

Текст може бути більш складний, ніж ви звикли його бачити в інших мовах. Оскільки 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..50aa6c9c9 --- /dev/null +++ b/05_vi.html @@ -0,0 +1,70 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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

+

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

+ +

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..7be03d216 --- /dev/null +++ b/05_zh-cn.html @@ -0,0 +1,69 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

基本类型

+

Rust 有多种常见的类型:

+ +

文本可能比你在其他语言中学到的更复杂,因为 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..8b745e461 --- /dev/null +++ b/05_zh-tw.html @@ -0,0 +1,70 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

基本類型 (Primitive types)

+

Rust 具有多種常見的類型:

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

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..68f6b1f11 --- /dev/null +++ b/06_en.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..c23d56cf8 --- /dev/null +++ b/06_es.html @@ -0,0 +1,56 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..9ee539cb5 --- /dev/null +++ b/06_fa.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..d46f2647b --- /dev/null +++ b/06_fi.html @@ -0,0 +1,56 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

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..14cb287a1 --- /dev/null +++ b/06_fr.html @@ -0,0 +1,57 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..320a20846 --- /dev/null +++ b/06_gr.html @@ -0,0 +1,56 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

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

+

Η 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..7d4cc63d1 --- /dev/null +++ b/06_hu.html @@ -0,0 +1,57 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..6e25d590e --- /dev/null +++ b/06_id.html @@ -0,0 +1,58 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

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..4863851df --- /dev/null +++ b/06_ie.html @@ -0,0 +1,55 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..6f17d42cc --- /dev/null +++ b/06_it.html @@ -0,0 +1,57 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

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..9ab7b67f3 --- /dev/null +++ b/06_ja.html @@ -0,0 +1,56 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

基本型の変換

+

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..e38c7145f --- /dev/null +++ b/06_ko.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

기본 자료형 변환

+

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..88225bb3f --- /dev/null +++ b/06_pl.html @@ -0,0 +1,56 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..0ddf4be5a --- /dev/null +++ b/06_pt-br.html @@ -0,0 +1,56 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..f4b039130 --- /dev/null +++ b/06_ro.html @@ -0,0 +1,58 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..13f2050c1 --- /dev/null +++ b/06_ru.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Преобразование базовых типов (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..be53df37b --- /dev/null +++ b/06_th.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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

+

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..470d0cc8a --- /dev/null +++ b/06_tr.html @@ -0,0 +1,56 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..4efedf87a --- /dev/null +++ b/06_ua.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Перетворення базових типів (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..dc33853be --- /dev/null +++ b/06_vi.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..1e627db0d --- /dev/null +++ b/06_zh-cn.html @@ -0,0 +1,56 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

基本类型转换

+

当涉及到数字类型时,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..363222887 --- /dev/null +++ b/06_zh-tw.html @@ -0,0 +1,56 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

基本的數據類型轉換

+

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

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

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..039722447 --- /dev/null +++ b/07_en.html @@ -0,0 +1,60 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..f2d25363a --- /dev/null +++ b/07_es.html @@ -0,0 +1,57 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..65feaf18b --- /dev/null +++ b/07_fa.html @@ -0,0 +1,60 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..261b61bb7 --- /dev/null +++ b/07_fi.html @@ -0,0 +1,57 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

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..a4e3c9995 --- /dev/null +++ b/07_fr.html @@ -0,0 +1,60 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..d15ff2945 --- /dev/null +++ b/07_gr.html @@ -0,0 +1,57 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

Σταθερές

+

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

+

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

+

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

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

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..04448189a --- /dev/null +++ b/07_id.html @@ -0,0 +1,62 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

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..8a426aef3 --- /dev/null +++ b/07_ie.html @@ -0,0 +1,55 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..dbc45ba8d --- /dev/null +++ b/07_it.html @@ -0,0 +1,58 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

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..f2582a2bd --- /dev/null +++ b/07_ja.html @@ -0,0 +1,58 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

定数

+

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

+

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

+

定数名には大文字のスネークケース 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..7a4c7bd84 --- /dev/null +++ b/07_ko.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

상수

+

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

+

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

+

상수의 이름은 언제나 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..6d701d896 --- /dev/null +++ b/07_pl.html @@ -0,0 +1,57 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..62a616b53 --- /dev/null +++ b/07_pt-br.html @@ -0,0 +1,57 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..f5bcceb4b --- /dev/null +++ b/07_ro.html @@ -0,0 +1,59 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..c446c967a --- /dev/null +++ b/07_ru.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Константы (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..59daa265d --- /dev/null +++ b/07_th.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

ค่าคงที่

+

ค่าคงที่ช่วยให้เรากำหนดค่ากลางที่ใช้ร่วมกันบ่อยๆ ได้อย่างมีประสิทธิภาพ แทนที่จะคัดลอกค่าไปใช้แบบที่ตัวแปรทำ ค่าคงที่จะใช้วิธีแทนที่ค่าไปในข้อความเลยตรงๆ ตั้งแต่ตอน 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..26aaafc7d --- /dev/null +++ b/07_tr.html @@ -0,0 +1,56 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..74c7ee65f --- /dev/null +++ b/07_ua.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Константи

+

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

+

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

+

Константи мають бути іменовані в 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..258f88e54 --- /dev/null +++ b/07_vi.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..6d61b1d24 --- /dev/null +++ b/07_zh-cn.html @@ -0,0 +1,57 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

常量

+

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

+

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

+

常量名总是遵循 全大写蛇形命名法(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..8105e4938 --- /dev/null +++ b/07_zh-tw.html @@ -0,0 +1,58 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

常數 (Constant)

+

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

+

常數通常是以 SCREAMING_SNAKE_CASE 命名的。

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

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..e4e46180b --- /dev/null +++ b/08_en.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..667a5b8fd --- /dev/null +++ b/08_es.html @@ -0,0 +1,57 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..4cbb1b3d2 --- /dev/null +++ b/08_fa.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..70a3266c1 --- /dev/null +++ b/08_fi.html @@ -0,0 +1,58 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

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..ffec23fba --- /dev/null +++ b/08_fr.html @@ -0,0 +1,60 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..03536e07a --- /dev/null +++ b/08_gr.html @@ -0,0 +1,57 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

Πίνακες

+

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

+

Ο τύπος δεδομένων ενός πίνακα είναι [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..bc9cf1314 --- /dev/null +++ b/08_hu.html @@ -0,0 +1,60 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..a891865fd --- /dev/null +++ b/08_id.html @@ -0,0 +1,57 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

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..073fbae4d --- /dev/null +++ b/08_ie.html @@ -0,0 +1,58 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..60a50a169 --- /dev/null +++ b/08_it.html @@ -0,0 +1,58 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

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..63934948f --- /dev/null +++ b/08_ja.html @@ -0,0 +1,57 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

配列

+

配列は、データ要素がすべて同じ型の固定長コレクションです。

+

配列のデータ型は [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..e98135b95 --- /dev/null +++ b/08_ko.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

배열

+

배열(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..2008f8028 --- /dev/null +++ b/08_pl.html @@ -0,0 +1,57 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..77cbc3a8c --- /dev/null +++ b/08_pt-br.html @@ -0,0 +1,57 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..a502bf094 --- /dev/null +++ b/08_ro.html @@ -0,0 +1,58 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..4ab56d220 --- /dev/null +++ b/08_ru.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Массивы (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..3b4f22606 --- /dev/null +++ b/08_th.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..d56c0f536 --- /dev/null +++ b/08_tr.html @@ -0,0 +1,57 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..0d920c318 --- /dev/null +++ b/08_ua.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Масиви

+

Масив - це колекція фіксованої довжини, де усі елементи представляють один і той же тип даних.

+

Тип даних масив позначається як [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..0bb25fd82 --- /dev/null +++ b/08_vi.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..62e0cbb66 --- /dev/null +++ b/08_zh-cn.html @@ -0,0 +1,57 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

数组

+

数组是所有相同类型数据元素的固定长度集合。

+

一个数组的数据类型是 [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..7a804dfd2 --- /dev/null +++ b/08_zh-tw.html @@ -0,0 +1,57 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

陣列 (Array)

+

陣列(Array) 是一個固定長度的數據集。裡面只會放著同一種類型的值。 +陣列 類型是以 [T;N] 來宣告。T 是數據元件的類型,而 N 是在編譯時已經知道的陣列長度。

+

陣列 中的數據元件可以透過[x] 來提取。 x 是一個由零開始計的 usize 類索引。

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

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..def7e6b06 --- /dev/null +++ b/09_en.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..c0d9a6df3 --- /dev/null +++ b/09_es.html @@ -0,0 +1,57 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..8a3f817a2 --- /dev/null +++ b/09_fa.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..87c222ff6 --- /dev/null +++ b/09_fi.html @@ -0,0 +1,59 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

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..abce04be7 --- /dev/null +++ b/09_fr.html @@ -0,0 +1,58 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..c81cde4b5 --- /dev/null +++ b/09_gr.html @@ -0,0 +1,57 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

Συναρτήσεις

+

Μία συνάρτηση μπορεί να έχει μηδέν ή περισσότερες παραμέτρους.

+

Σ' αυτό το παράδειγμα, η συνάρτηση 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..ae74d796d --- /dev/null +++ b/09_hu.html @@ -0,0 +1,57 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..ccabb46a1 --- /dev/null +++ b/09_id.html @@ -0,0 +1,57 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

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..9735f45dc --- /dev/null +++ b/09_ie.html @@ -0,0 +1,55 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..625be3c0a --- /dev/null +++ b/09_it.html @@ -0,0 +1,59 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

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..660676397 --- /dev/null +++ b/09_ja.html @@ -0,0 +1,57 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

関数

+

関数には 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..3e0a46a63 --- /dev/null +++ b/09_ko.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

함수

+

함수는 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..431d24e22 --- /dev/null +++ b/09_pl.html @@ -0,0 +1,57 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..67a0b3077 --- /dev/null +++ b/09_pt-br.html @@ -0,0 +1,57 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..7588c2f16 --- /dev/null +++ b/09_ro.html @@ -0,0 +1,59 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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.

+

Hint: 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..227d11d35 --- /dev/null +++ b/09_ru.html @@ -0,0 +1,58 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Функции (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..ca1efd7b8 --- /dev/null +++ b/09_th.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..076744996 --- /dev/null +++ b/09_tr.html @@ -0,0 +1,57 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

İş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..c4fb36b80 --- /dev/null +++ b/09_ua.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Функції

+

Функції можуть не мають жодного, мати один або більше аргументів.

+

В цьому прикладі функція 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..4db9d9fc3 --- /dev/null +++ b/09_vi.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..c09ffd6a2 --- /dev/null +++ b/09_zh-cn.html @@ -0,0 +1,57 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

函数

+

函数可以有 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..b87893c25 --- /dev/null +++ b/09_zh-tw.html @@ -0,0 +1,57 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

函數 (Functions)

+

函數(Functions)的參數數量可以從沒有到多個都可以 +在這個例子中, add 有兩個 i32 類型的參數 (有符號的 32-bit 整數) +函數的名字通常是使用 snake_case 來命名。

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

[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..7b208d83a --- /dev/null +++ b/100_en.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..3af792599 --- /dev/null +++ b/100_es.html @@ -0,0 +1,56 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..233147816 --- /dev/null +++ b/100_fa.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..a7bc88376 --- /dev/null +++ b/100_fi.html @@ -0,0 +1,58 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

[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..1e51bb10e --- /dev/null +++ b/100_fr.html @@ -0,0 +1,59 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..bd23a949f --- /dev/null +++ b/100_gr.html @@ -0,0 +1,58 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

[Αμετάφραστο] 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..2f4b3f73f --- /dev/null +++ b/100_hu.html @@ -0,0 +1,58 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..3632d9f0f --- /dev/null +++ b/100_id.html @@ -0,0 +1,58 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[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..f729721e3 --- /dev/null +++ b/100_ie.html @@ -0,0 +1,57 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..2236ee9e8 --- /dev/null +++ b/100_it.html @@ -0,0 +1,58 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

[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..206af2887 --- /dev/null +++ b/100_ja.html @@ -0,0 +1,58 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

[未翻訳] 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..e0fd0fca1 --- /dev/null +++ b/100_ko.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

참조 카운팅

+

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..ec6e30110 --- /dev/null +++ b/100_pl.html @@ -0,0 +1,58 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..fbc2919ee --- /dev/null +++ b/100_pt-br.html @@ -0,0 +1,56 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..68c0df00f --- /dev/null +++ b/100_ro.html @@ -0,0 +1,58 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

[Nu e tradus] 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_ru.html b/100_ru.html new file mode 100644 index 000000000..72d7295d6 --- /dev/null +++ b/100_ru.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Подсчет ссылок (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..177079441 --- /dev/null +++ b/100_th.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..aa612eee7 --- /dev/null +++ b/100_tr.html @@ -0,0 +1,56 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..92683e855 --- /dev/null +++ b/100_ua.html @@ -0,0 +1,58 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Лічильник посилань

+

Rc - це розумний покажчик, який переміщує дані зі стеку в купу. Він дозволяє нам +клонувати інші розумні вказівники Rc, які мають можливість незмінно запозичувати дані, +які було поміщено на купу не змінюючи їх.

+

Тільки коли останній розумний покажчик буде скинуто, дані будуть викинуті з купи.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/100_vi.html b/100_vi.html new file mode 100644 index 000000000..44b4dc934 --- /dev/null +++ b/100_vi.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

Đế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..50e29f9b2 --- /dev/null +++ b/100_zh-cn.html @@ -0,0 +1,56 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

引用计数

+

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..486af33fa --- /dev/null +++ b/100_zh-tw.html @@ -0,0 +1,58 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

[沒有翻譯] 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_de.html b/101_de.html new file mode 100644 index 000000000..b8cafc3fc --- /dev/null +++ b/101_de.html @@ -0,0 +1,60 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour durch Rust + + Inhaltsverzeichnis +
+
+

[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..5f37afa24 --- /dev/null +++ b/101_en.html @@ -0,0 +1,60 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..c55a0647f --- /dev/null +++ b/101_es.html @@ -0,0 +1,57 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..79bbc6f71 --- /dev/null +++ b/101_fa.html @@ -0,0 +1,60 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..4076f96eb --- /dev/null +++ b/101_fi.html @@ -0,0 +1,60 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

[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..313d3ce57 --- /dev/null +++ b/101_fr.html @@ -0,0 +1,61 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..c36eca2f2 --- /dev/null +++ b/101_gr.html @@ -0,0 +1,60 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

[Αμετάφραστο] 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..098a36bc4 --- /dev/null +++ b/101_hu.html @@ -0,0 +1,61 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..cbcad5cf6 --- /dev/null +++ b/101_id.html @@ -0,0 +1,60 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[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..bf3662029 --- /dev/null +++ b/101_ie.html @@ -0,0 +1,60 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..1012948f3 --- /dev/null +++ b/101_it.html @@ -0,0 +1,60 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

[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..8e6bdc8a1 --- /dev/null +++ b/101_ja.html @@ -0,0 +1,60 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

[未翻訳] 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..c7570ed68 --- /dev/null +++ b/101_ko.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

접근 공유하기

+

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..9ce901f43 --- /dev/null +++ b/101_pl.html @@ -0,0 +1,60 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..094cd07a8 --- /dev/null +++ b/101_pt-br.html @@ -0,0 +1,57 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..846133448 --- /dev/null +++ b/101_ro.html @@ -0,0 +1,60 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

[Nu e tradus] 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_ru.html b/101_ru.html new file mode 100644 index 000000000..8af61d732 --- /dev/null +++ b/101_ru.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Разделяемый доступ (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..3f22fcd9d --- /dev/null +++ b/101_th.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..7b92806b7 --- /dev/null +++ b/101_tr.html @@ -0,0 +1,57 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..4c50708d5 --- /dev/null +++ b/101_ua.html @@ -0,0 +1,60 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Спільний доступ

+

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..065ff7b57 --- /dev/null +++ b/101_vi.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..da53492ba --- /dev/null +++ b/101_zh-cn.html @@ -0,0 +1,57 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

共享访问

+

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..7c97267f4 --- /dev/null +++ b/101_zh-tw.html @@ -0,0 +1,60 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

[沒有翻譯] 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_de.html b/102_de.html new file mode 100644 index 000000000..0eb7df4d5 --- /dev/null +++ b/102_de.html @@ -0,0 +1,62 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour durch Rust + + Inhaltsverzeichnis +
+
+

[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..0ff52e4a1 --- /dev/null +++ b/102_en.html @@ -0,0 +1,62 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..69afe76f6 --- /dev/null +++ b/102_es.html @@ -0,0 +1,57 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..228598a3b --- /dev/null +++ b/102_fa.html @@ -0,0 +1,62 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..85c59726a --- /dev/null +++ b/102_fi.html @@ -0,0 +1,62 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

[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..532aa2e24 --- /dev/null +++ b/102_fr.html @@ -0,0 +1,67 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..1dcd28f2d --- /dev/null +++ b/102_gr.html @@ -0,0 +1,62 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

[Αμετάφραστο] 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..92cbb022f --- /dev/null +++ b/102_hu.html @@ -0,0 +1,65 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..4c7215442 --- /dev/null +++ b/102_id.html @@ -0,0 +1,62 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[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..e3c9e0e20 --- /dev/null +++ b/102_ie.html @@ -0,0 +1,61 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..bc1d36409 --- /dev/null +++ b/102_it.html @@ -0,0 +1,62 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

[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..08454e875 --- /dev/null +++ b/102_ja.html @@ -0,0 +1,62 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

[未翻訳] 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..e34c46caf --- /dev/null +++ b/102_ko.html @@ -0,0 +1,62 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

쓰레드 간에 공유하기

+

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..1bc342665 --- /dev/null +++ b/102_pl.html @@ -0,0 +1,62 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..55e14813d --- /dev/null +++ b/102_pt-br.html @@ -0,0 +1,57 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..9b3d5e4b3 --- /dev/null +++ b/102_ro.html @@ -0,0 +1,62 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

[Nu e tradus] 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_ru.html b/102_ru.html new file mode 100644 index 000000000..bfba542af --- /dev/null +++ b/102_ru.html @@ -0,0 +1,58 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Разделение данных между потоками (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..b11a42570 --- /dev/null +++ b/102_th.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..d257197c6 --- /dev/null +++ b/102_tr.html @@ -0,0 +1,57 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

İş 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..477152a12 --- /dev/null +++ b/102_ua.html @@ -0,0 +1,62 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Спільне доступ до даних у різних потоках

+

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..5f5c668ae --- /dev/null +++ b/102_vi.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..62b9debd7 --- /dev/null +++ b/102_zh-cn.html @@ -0,0 +1,57 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

线程间共享

+

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..23af689ba --- /dev/null +++ b/102_zh-tw.html @@ -0,0 +1,62 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

[沒有翻譯] 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_de.html b/103_de.html new file mode 100644 index 000000000..4b6fefde7 --- /dev/null +++ b/103_de.html @@ -0,0 +1,64 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour durch Rust + + Inhaltsverzeichnis +
+
+

[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:

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

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:

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

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:

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

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:

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

[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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/103_fr.html b/103_fr.html new file mode 100644 index 000000000..450cd654a --- /dev/null +++ b/103_fr.html @@ -0,0 +1,76 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/103_gr.html b/103_gr.html new file mode 100644 index 000000000..0757af371 --- /dev/null +++ b/103_gr.html @@ -0,0 +1,64 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

[Αμετάφραστο] 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:

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

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:

+ +

Hogyan érinti ez a memóriát:

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

[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:

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

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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/103_it.html b/103_it.html new file mode 100644 index 000000000..29933143f --- /dev/null +++ b/103_it.html @@ -0,0 +1,64 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

[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:

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

[未翻訳] 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:

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

스마트 포인터 조합하기

+

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 쓰레드 독점 방식으로 잠글 수 있게 해줍니다.

+

메모리 상세:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/103_pl.html b/103_pl.html new file mode 100644 index 000000000..024ff7ba9 --- /dev/null +++ b/103_pl.html @@ -0,0 +1,64 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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:

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

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:

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

[Nu e tradus] 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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/103_ru.html b/103_ru.html new file mode 100644 index 000000000..d059a0ea3 --- /dev/null +++ b/103_ru.html @@ -0,0 +1,64 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Комбинирование умных указателей (Combining Smart Pointers)

+

Умные указатели могут показаться довольно ограниченными по функционалности, но главное то, что они могут создавать очень мощные комбинации для использования в коде.

+

Rc<Vec<Foo>> - позволяет клонирование нескольких умных указателей, которые могут заимствовать из кучи один и тот же вектор неизменяемых структур данных.

+

Rc<RefCell<Foo>> - дает возможность нескольким умных указателям заимствовать одну и туже структуру Foo как неизменяемую или изменяемую.

+

Arc<Mutex<Foo>> - дает возможность нескольким умным указателям временно блокировать в процессорном потоке изменяемые или неизменяемые заимствования.

+

Детали для запоминания:

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

Combining Smart Pointers

+

Smart pointers ดูเหมือนจะมีข้อจำกัด แต่มันสามารถเอามารวมกันเพื่อให้ทำงานให้มีความหลากหลายเพิ่มขึ้นได้

+

Rc<Vec<Foo>> - อนุญาตให้ทำการโคลน smart pointer หลายตัว ที่สามารถยืมเวกเตอร์เดียวกันของโครงสร้างข้อมูลที่ไม่เปลี่ยนรูปบน heap ได้

+

Rc<RefCell<Foo>> - อนุญาตให้ smart pointer หลายตัวสามารถยืมโครงสร้าง Foo ตัวเดียวกัน โดยยืมได้ทั้งแบบ เปลี่ยนแปลงได้/เปลี่ยนแปลงไม่ได้

+

Arc<Mutex<Foo>> - อนุญาตให้ smart pointer หลายตัวสามารถล็อกการยืม โดยยืมได้ทั้งแบบ เปลี่ยนแปลงได้/เปลี่ยนแปลงไม่ได้ ชั่วคราว​ ในลักษณะเฉพาะของเธรด CPU

+

รายละเอียดหน่วยความจำ:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/103_tr.html b/103_tr.html new file mode 100644 index 000000000..8c79b441e --- /dev/null +++ b/103_tr.html @@ -0,0 +1,62 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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ı:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/103_ua.html b/103_ua.html new file mode 100644 index 000000000..f99028578 --- /dev/null +++ b/103_ua.html @@ -0,0 +1,62 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Поєднання розумних покажчиків

+

Розумні покажчики можуть здатися обмеженими, але вони можуть створювати дуже потужні комбінації.

+

Rc<Vec<Foo>> - Дозволяє клонування декількох смарт-покажчиків, які можуть позичати один і той самий вектор незмінних структур даних на купі.

+

Rc<RefCell<Foo>> - Дозволити декільком смарт-покажчикам запозичувати взаємно/незмінно одну й ту саму структуру Foo.

+

Arc<Mutex<Foo>> - Дозволяє декільком смарт-покажчикам блокувати тимчасові змінювані/незмінні запозичення виключно для потоку процесора.

+

Деталі роботи за памяттю:

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

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ớ:

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

组合智能指针

+

智能指针看起来可能会存在一些限制,但是我们可以做一些非常有用的结合。

+

Rc<Vec<Foo>> - 允许克隆多个可以借用堆上不可变数据结构的相同向量的智能指针。

+

Rc<RefCell<Foo>> - 允许多个智能指针可变/不可变地借用相同的结构Foo

+

Arc<Mutex<Foo>> - 允许多个智能指针以 CPU 线程独占方式锁定临时可变/不可变借用的能力。

+

内存细节:

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

[沒有翻譯] 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:

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

[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..0064bf820 --- /dev/null +++ b/104_en.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..8973a84a7 --- /dev/null +++ b/104_es.html @@ -0,0 +1,53 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..112023306 --- /dev/null +++ b/104_fa.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..2daf0e44c --- /dev/null +++ b/104_fi.html @@ -0,0 +1,57 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

[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..b01502f92 --- /dev/null +++ b/104_fr.html @@ -0,0 +1,57 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..8e06d1e94 --- /dev/null +++ b/104_gr.html @@ -0,0 +1,57 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

[Αμετάφραστο] 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..5c0b9c904 --- /dev/null +++ b/104_hu.html @@ -0,0 +1,57 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..711470060 --- /dev/null +++ b/104_id.html @@ -0,0 +1,57 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[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..a3e425768 --- /dev/null +++ b/104_ie.html @@ -0,0 +1,56 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..f2b7881bd --- /dev/null +++ b/104_it.html @@ -0,0 +1,57 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

[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..9eb5df70f --- /dev/null +++ b/104_ja.html @@ -0,0 +1,57 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

[未翻訳] 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..a9a588312 --- /dev/null +++ b/104_ko.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

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..9225ac50c --- /dev/null +++ b/104_pl.html @@ -0,0 +1,57 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..3bd431cac --- /dev/null +++ b/104_pt-br.html @@ -0,0 +1,53 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..e34e91d52 --- /dev/null +++ b/104_ro.html @@ -0,0 +1,57 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

[Nu e tradus] 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_ru.html b/104_ru.html new file mode 100644 index 000000000..ff0a80814 --- /dev/null +++ b/104_ru.html @@ -0,0 +1,55 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Глава 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..a9a3e3978 --- /dev/null +++ b/104_th.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

บทที่ 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..5bc6d2eaa --- /dev/null +++ b/104_tr.html @@ -0,0 +1,54 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..f26b8ae50 --- /dev/null +++ b/104_ua.html @@ -0,0 +1,54 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Розділ 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..35bdac619 --- /dev/null +++ b/104_vi.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..a3c1b736e --- /dev/null +++ b/104_zh-cn.html @@ -0,0 +1,53 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

第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..961c8222a --- /dev/null +++ b/104_zh-tw.html @@ -0,0 +1,57 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

[沒有翻譯] 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_de.html b/106_de.html new file mode 100644 index 000000000..7209953d8 --- /dev/null +++ b/106_de.html @@ -0,0 +1,56 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour durch Rust + + Inhaltsverzeichnis +
+
+

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..456eec503 --- /dev/null +++ b/106_en.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..162c8ea8a --- /dev/null +++ b/106_es.html @@ -0,0 +1,57 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..3d2ce85cd --- /dev/null +++ b/106_fa.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..f5b4305c5 --- /dev/null +++ b/106_fi.html @@ -0,0 +1,57 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

[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..651561abb --- /dev/null +++ b/106_fr.html @@ -0,0 +1,58 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..cd3f21b6b --- /dev/null +++ b/106_gr.html @@ -0,0 +1,57 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

[Αμετάφραστο] 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..a7a7deb2f --- /dev/null +++ b/106_hu.html @@ -0,0 +1,59 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..26e5a0cc6 --- /dev/null +++ b/106_id.html @@ -0,0 +1,57 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[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..d409e2edb --- /dev/null +++ b/106_ie.html @@ -0,0 +1,56 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..2e45db6e8 --- /dev/null +++ b/106_it.html @@ -0,0 +1,57 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

[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..5cb0fc099 --- /dev/null +++ b/106_ja.html @@ -0,0 +1,57 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

[未翻訳] 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..12a34616c --- /dev/null +++ b/106_ko.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

모듈

+

모든 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..d7e6f47ff --- /dev/null +++ b/106_pl.html @@ -0,0 +1,57 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..5c539b664 --- /dev/null +++ b/106_pt-br.html @@ -0,0 +1,57 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..e255a670a --- /dev/null +++ b/106_ro.html @@ -0,0 +1,57 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..e9bc08bbf --- /dev/null +++ b/106_ru.html @@ -0,0 +1,58 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Модули (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..9920b17a6 --- /dev/null +++ b/106_th.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..1164188e8 --- /dev/null +++ b/106_tr.html @@ -0,0 +1,58 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..66cdc4572 --- /dev/null +++ b/106_ua.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Модулі

+

Будь яка програма чи бібліотека на 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..055c9401d --- /dev/null +++ b/106_vi.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..8e93069f9 --- /dev/null +++ b/106_zh-cn.html @@ -0,0 +1,57 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

模块

+

每个 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..2452563cc --- /dev/null +++ b/106_zh-tw.html @@ -0,0 +1,57 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

[沒有翻譯] 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_de.html b/107_de.html new file mode 100644 index 000000000..b84ed9bbf --- /dev/null +++ b/107_de.html @@ -0,0 +1,53 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour durch Rust + + Inhaltsverzeichnis +
+
+

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..ed850bce2 --- /dev/null +++ b/107_en.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..044356aa5 --- /dev/null +++ b/107_es.html @@ -0,0 +1,53 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..b85ece365 --- /dev/null +++ b/107_fa.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..3f319da85 --- /dev/null +++ b/107_fi.html @@ -0,0 +1,53 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

[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..adcd006cf --- /dev/null +++ b/107_fr.html @@ -0,0 +1,53 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..88555de5b --- /dev/null +++ b/107_gr.html @@ -0,0 +1,53 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

[Αμετάφραστο] 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..19490c1a5 --- /dev/null +++ b/107_hu.html @@ -0,0 +1,53 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..663fc016d --- /dev/null +++ b/107_id.html @@ -0,0 +1,53 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[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..daba424f8 --- /dev/null +++ b/107_ie.html @@ -0,0 +1,53 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..870cd38d0 --- /dev/null +++ b/107_it.html @@ -0,0 +1,53 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

[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..c56f21242 --- /dev/null +++ b/107_ja.html @@ -0,0 +1,53 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

[未翻訳] 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..88f64c82f --- /dev/null +++ b/107_ko.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

프로그램 작성하기

+

프로그램은 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..7226344c8 --- /dev/null +++ b/107_pl.html @@ -0,0 +1,53 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..94d3c7e68 --- /dev/null +++ b/107_pt-br.html @@ -0,0 +1,53 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..4040e1e8b --- /dev/null +++ b/107_ro.html @@ -0,0 +1,53 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..bf78b034f --- /dev/null +++ b/107_ru.html @@ -0,0 +1,53 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Написание программы (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..aafec3757 --- /dev/null +++ b/107_th.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..4fde74507 --- /dev/null +++ b/107_tr.html @@ -0,0 +1,53 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..c619d13f4 --- /dev/null +++ b/107_ua.html @@ -0,0 +1,53 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Написання програм

+

Ваша програма є головним модулем у файлі під назвою 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..06fa281a7 --- /dev/null +++ b/107_vi.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..e2dca19fc --- /dev/null +++ b/107_zh-cn.html @@ -0,0 +1,53 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

编写程序

+

应用程序的根模块需要在一个叫 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..67914629e --- /dev/null +++ b/107_zh-tw.html @@ -0,0 +1,53 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

[沒有翻譯] 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_de.html b/108_de.html new file mode 100644 index 000000000..e3ce12c6e --- /dev/null +++ b/108_de.html @@ -0,0 +1,53 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour durch Rust + + Inhaltsverzeichnis +
+
+

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..648deade7 --- /dev/null +++ b/108_en.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..bec2c6aff --- /dev/null +++ b/108_es.html @@ -0,0 +1,53 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..23544e1de --- /dev/null +++ b/108_fa.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..f70b9de3c --- /dev/null +++ b/108_fi.html @@ -0,0 +1,53 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

[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..66b25f773 --- /dev/null +++ b/108_fr.html @@ -0,0 +1,53 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..3b3ee7ee6 --- /dev/null +++ b/108_gr.html @@ -0,0 +1,53 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

[Αμετάφραστο] 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..b7e89bf1a --- /dev/null +++ b/108_hu.html @@ -0,0 +1,53 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..0559ed5bd --- /dev/null +++ b/108_id.html @@ -0,0 +1,53 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[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..1b43c23d8 --- /dev/null +++ b/108_ie.html @@ -0,0 +1,53 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..d89297251 --- /dev/null +++ b/108_it.html @@ -0,0 +1,53 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

[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..405f7de6b --- /dev/null +++ b/108_ja.html @@ -0,0 +1,53 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

[未翻訳] 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..a5da9c1dd --- /dev/null +++ b/108_ko.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

라이브러리 작성하기

+

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..93ff7ff03 --- /dev/null +++ b/108_pl.html @@ -0,0 +1,53 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..79891c505 --- /dev/null +++ b/108_pt-br.html @@ -0,0 +1,53 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..eadf9e4bc --- /dev/null +++ b/108_ro.html @@ -0,0 +1,53 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..a4461d48f --- /dev/null +++ b/108_ru.html @@ -0,0 +1,53 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Написание библиотеки (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..018af9a70 --- /dev/null +++ b/108_th.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..e65ac41d9 --- /dev/null +++ b/108_tr.html @@ -0,0 +1,53 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..e4832ea2b --- /dev/null +++ b/108_ua.html @@ -0,0 +1,53 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Написання бібліотеки

+

Ваша бібліотека є головним модулем у файлі під назвою 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..e8e024da0 --- /dev/null +++ b/108_vi.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..e8013cc64 --- /dev/null +++ b/108_zh-cn.html @@ -0,0 +1,53 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

编写库

+

库的根模块需要在一个叫 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..b4ee2769a --- /dev/null +++ b/108_zh-tw.html @@ -0,0 +1,53 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

[沒有翻譯] 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_de.html b/109_de.html new file mode 100644 index 000000000..567490d2f --- /dev/null +++ b/109_de.html @@ -0,0 +1,59 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour durch Rust + + Inhaltsverzeichnis +
+
+

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..f5993ca85 --- /dev/null +++ b/109_en.html @@ -0,0 +1,61 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..4dc5ae395 --- /dev/null +++ b/109_es.html @@ -0,0 +1,58 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..f8a51eda6 --- /dev/null +++ b/109_fa.html @@ -0,0 +1,61 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..2fb770bbf --- /dev/null +++ b/109_fi.html @@ -0,0 +1,61 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

[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..d4ac192af --- /dev/null +++ b/109_fr.html @@ -0,0 +1,66 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..5193042ad --- /dev/null +++ b/109_gr.html @@ -0,0 +1,61 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

[Αμετάφραστο] 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..ba7668185 --- /dev/null +++ b/109_hu.html @@ -0,0 +1,65 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..8fc6f0d69 --- /dev/null +++ b/109_id.html @@ -0,0 +1,61 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[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..14ebb09ea --- /dev/null +++ b/109_ie.html @@ -0,0 +1,58 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..dafc0d7f5 --- /dev/null +++ b/109_it.html @@ -0,0 +1,61 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

[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..2b22a4327 --- /dev/null +++ b/109_ja.html @@ -0,0 +1,61 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

[未翻訳] 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..a2c47b65f --- /dev/null +++ b/109_ko.html @@ -0,0 +1,61 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

다른 모듈과 크레이트 참조하기

+

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..25f145090 --- /dev/null +++ b/109_pl.html @@ -0,0 +1,61 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..70f642ead --- /dev/null +++ b/109_pt-br.html @@ -0,0 +1,58 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..62a5d813f --- /dev/null +++ b/109_ro.html @@ -0,0 +1,60 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

Referințierea de către alte module și cutii

+

Elementele din module pot fi refererenț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..3dae61cbb --- /dev/null +++ b/109_ru.html @@ -0,0 +1,58 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Подключение других модулей и крейтов (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..1d2d8ea3c --- /dev/null +++ b/109_th.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..85e943b84 --- /dev/null +++ b/109_tr.html @@ -0,0 +1,58 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..3a3288090 --- /dev/null +++ b/109_ua.html @@ -0,0 +1,61 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Зсилання на 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..2db221989 --- /dev/null +++ b/109_vi.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..fdf17b1cc --- /dev/null +++ b/109_zh-cn.html @@ -0,0 +1,59 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

引用其他模块和 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..ebb16e98b --- /dev/null +++ b/109_zh-tw.html @@ -0,0 +1,61 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

[沒有翻譯] 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_de.html b/10_de.html new file mode 100644 index 000000000..8bf3e03d4 --- /dev/null +++ b/10_de.html @@ -0,0 +1,58 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour durch Rust + + Inhaltsverzeichnis +
+
+

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..2c2118bbe --- /dev/null +++ b/10_en.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..c0515e147 --- /dev/null +++ b/10_es.html @@ -0,0 +1,57 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..fd8e31e4d --- /dev/null +++ b/10_fa.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..7a10cf600 --- /dev/null +++ b/10_fi.html @@ -0,0 +1,57 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

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..bf1a4e55d --- /dev/null +++ b/10_fr.html @@ -0,0 +1,58 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..f8ad1a6d5 --- /dev/null +++ b/10_gr.html @@ -0,0 +1,57 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

Πολλαπλές τιμές επιστροφής

+

Οι συναρτήσεις μπορούν να επιστρέψουν πάνω από μία τιμή με τη χρήση μίας πολλαπλότητας τιμών.

+

Στο κάθε στοιχείο μίας πολλαπλότητας μπορεί να αναφερθεί κανείς με τον αύξοντα αριθμό του.

+

Η Rust υποστηρίζει διαφόρους τύπος αποδόμησης που θα δούμε σε πολλές μορφές, επιτρέποντάς μας να εξάγουμε υπο-τμήματα δομών δεδομένων με εργονομικούς τρόπους. Στα υπ' όψιν!

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

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..cf1dedad8 --- /dev/null +++ b/10_id.html @@ -0,0 +1,59 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

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..9ce77c533 --- /dev/null +++ b/10_ie.html @@ -0,0 +1,55 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..0d5479ef0 --- /dev/null +++ b/10_it.html @@ -0,0 +1,58 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

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..3dc5fd494 --- /dev/null +++ b/10_ja.html @@ -0,0 +1,57 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

複数の戻り値

+

関数は、値をタプルで返すことによって、複数の値を返せます。

+

タプルの要素はインデックス番号で参照できます。

+

Rust はデータ構造の一部を抽出する機能を提供します。これについては後ほど他の方法も見ていきます。

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

여러개의 리턴 값

+

함수는 튜플(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..1592a818e --- /dev/null +++ b/10_pl.html @@ -0,0 +1,57 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..8c3b1605e --- /dev/null +++ b/10_pt-br.html @@ -0,0 +1,57 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..38f16e7d1 --- /dev/null +++ b/10_ro.html @@ -0,0 +1,59 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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, permințâ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..c615c5b61 --- /dev/null +++ b/10_ru.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Возврат нескольких значений (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..c27e30e8c --- /dev/null +++ b/10_th.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

การคืนค่าหลายค่า

+

ฟังก์ชันสามารถคืนค่าได้หลายค่าด้วยการคืนออกมาเป็น 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..3f64d298b --- /dev/null +++ b/10_tr.html @@ -0,0 +1,57 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

Ç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..f80563e6a --- /dev/null +++ b/10_ua.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Повернення декількох значень (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..6e468eb94 --- /dev/null +++ b/10_vi.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..724203818 --- /dev/null +++ b/10_zh-cn.html @@ -0,0 +1,57 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

多个返回值

+

函数可以通过元组来返回多个值。

+

元组元素可以通过他们的索引来获取。

+

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..129317c70 --- /dev/null +++ b/10_zh-tw.html @@ -0,0 +1,57 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

多個回傳值

+

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

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

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..fd63ffb9f --- /dev/null +++ b/110_en.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..16c761e46 --- /dev/null +++ b/110_es.html @@ -0,0 +1,56 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..9e5da1340 --- /dev/null +++ b/110_fa.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..c550d8bc0 --- /dev/null +++ b/110_fi.html @@ -0,0 +1,56 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

[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..9a7fafb78 --- /dev/null +++ b/110_fr.html @@ -0,0 +1,55 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..3790d9f91 --- /dev/null +++ b/110_gr.html @@ -0,0 +1,56 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

[Αμετάφραστο] 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..4ce36a2e6 --- /dev/null +++ b/110_hu.html @@ -0,0 +1,57 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..249ca43c1 --- /dev/null +++ b/110_id.html @@ -0,0 +1,56 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[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..4ab5a8999 --- /dev/null +++ b/110_ie.html @@ -0,0 +1,60 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/110_it.html b/110_it.html new file mode 100644 index 000000000..8775427bd --- /dev/null +++ b/110_it.html @@ -0,0 +1,56 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

[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..c608e2c21 --- /dev/null +++ b/110_ja.html @@ -0,0 +1,56 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

[未翻訳] 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..f830a4bef --- /dev/null +++ b/110_ko.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

여러 개의 항목을 참조하기

+

복수의 항목을 하나의 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..d03f3d26d --- /dev/null +++ b/110_pl.html @@ -0,0 +1,56 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..80ce25a01 --- /dev/null +++ b/110_pt-br.html @@ -0,0 +1,56 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..6116136a1 --- /dev/null +++ b/110_ro.html @@ -0,0 +1,56 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..a69c581ff --- /dev/null +++ b/110_ru.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Подключение нескольких элементов (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..5c7032e1b --- /dev/null +++ b/110_th.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..fd90859d8 --- /dev/null +++ b/110_tr.html @@ -0,0 +1,56 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

Ç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..eefe90552 --- /dev/null +++ b/110_ua.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Посилання на декілька елементів

+

Ви можете посилатися на декілька елементів одного і того самого модуля:

+
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..bd3700dc7 --- /dev/null +++ b/110_vi.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..66641329d --- /dev/null +++ b/110_zh-cn.html @@ -0,0 +1,56 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

引用多个项目

+

在同一个模块路径中可以引用多个项目,比如:

+
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..0c9ee134d --- /dev/null +++ b/110_zh-tw.html @@ -0,0 +1,56 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

[沒有翻譯] 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_de.html b/111_de.html new file mode 100644 index 000000000..3b68a7c10 --- /dev/null +++ b/111_de.html @@ -0,0 +1,59 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour durch Rust + + Inhaltsverzeichnis +
+
+

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,

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/111_en.html b/111_en.html new file mode 100644 index 000000000..d11f27181 --- /dev/null +++ b/111_en.html @@ -0,0 +1,61 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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:

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

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:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/111_fa.html b/111_fa.html new file mode 100644 index 000000000..a2e70f9df --- /dev/null +++ b/111_fa.html @@ -0,0 +1,61 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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:

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

[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:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/111_fr.html b/111_fr.html new file mode 100644 index 000000000..3a5500778 --- /dev/null +++ b/111_fr.html @@ -0,0 +1,62 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/111_gr.html b/111_gr.html new file mode 100644 index 000000000..1e8faf005 --- /dev/null +++ b/111_gr.html @@ -0,0 +1,61 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

[Αμετάφραστο] 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:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/111_hu.html b/111_hu.html new file mode 100644 index 000000000..8ff927406 --- /dev/null +++ b/111_hu.html @@ -0,0 +1,60 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/111_id.html b/111_id.html new file mode 100644 index 000000000..964db536b --- /dev/null +++ b/111_id.html @@ -0,0 +1,61 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[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:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/111_ie.html b/111_ie.html new file mode 100644 index 000000000..a7323a6e0 --- /dev/null +++ b/111_ie.html @@ -0,0 +1,57 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..e7a5dec6d --- /dev/null +++ b/111_it.html @@ -0,0 +1,61 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

[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:

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

[未翻訳] 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:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/111_ko.html b/111_ko.html new file mode 100644 index 000000000..017dbbc1e --- /dev/null +++ b/111_ko.html @@ -0,0 +1,60 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

모듈 작성하기

+

코드를 생각할 때 보통은 디렉토리로 구성된 파일구조를 떠올립니다. +Rust는 여러분의 파일 구조에 가깝게 module을 만들 수 있게 해줍니다.

+

Rust에서 module을 선언하는 데에는 두 가지 방법이 있습니다. +예를 들어 foo module은 다음과 같이 나타낼 수 있습니다:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/111_pl.html b/111_pl.html new file mode 100644 index 000000000..ca7f7982b --- /dev/null +++ b/111_pl.html @@ -0,0 +1,61 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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:

+ + +
+
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..7f956fb84 --- /dev/null +++ b/111_pt-br.html @@ -0,0 +1,58 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/111_ro.html b/111_ro.html new file mode 100644 index 000000000..4644cde01 --- /dev/null +++ b/111_ro.html @@ -0,0 +1,61 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/111_ru.html b/111_ru.html new file mode 100644 index 000000000..0ce08d69a --- /dev/null +++ b/111_ru.html @@ -0,0 +1,60 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Создание модулей (Creating Modules)

+

Когда мы думаем о коде, мы обычно представляем себе иерархию файлов, огранизованную +в директориях. Rust позволяет создавать модули, близко похожие на файловую структуру.

+

В Rust есть два способа для объявления модуля. Например, модуль foo может быть +представлен как:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/111_th.html b/111_th.html new file mode 100644 index 000000000..1e56baa13 --- /dev/null +++ b/111_th.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

Creating Modules

+

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

+

Rust มีสองวิธีในการประกาศโมดูล ตัวอย่างเช่นโมดูล foo สามารถทำได้โดย:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/111_tr.html b/111_tr.html new file mode 100644 index 000000000..fd01841a5 --- /dev/null +++ b/111_tr.html @@ -0,0 +1,59 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/111_ua.html b/111_ua.html new file mode 100644 index 000000000..5564481fc --- /dev/null +++ b/111_ua.html @@ -0,0 +1,61 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Створення модулів

+

Коли ми думаємо про код, то зазвичай уявляємо собі ієрархію файлів, організованих +у каталогах. Rust дозволяє створювати модулі, тісно пов'язані з вашою файловою +структурою вашого файлу.

+

У Rust є два способи оголошення модуля. Наприклад, модуль +foo може бути представлений як:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/111_vi.html b/111_vi.html new file mode 100644 index 000000000..67355ca41 --- /dev/null +++ b/111_vi.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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:

+ + +
+
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..09f51c195 --- /dev/null +++ b/111_zh-cn.html @@ -0,0 +1,58 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

创建模块

+

当我们想到项目时,我们通常会想象一个以目录组织的文件层次结构。Rust 允许您创建与您的文件结构密切相关的模块。

+

在 Rust 中,有两种方式来声明一个模块。例如,模块 foo 可以表示为:

+ + +
+
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..117ae9971 --- /dev/null +++ b/111_zh-tw.html @@ -0,0 +1,61 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

[沒有翻譯] 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:

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

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..2f574f54f --- /dev/null +++ b/112_en.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..b8a0003f5 --- /dev/null +++ b/112_es.html @@ -0,0 +1,56 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..c834b8e59 --- /dev/null +++ b/112_fa.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..cfdaac44c --- /dev/null +++ b/112_fi.html @@ -0,0 +1,58 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

[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..74aebe264 --- /dev/null +++ b/112_fr.html @@ -0,0 +1,59 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..754bb6250 --- /dev/null +++ b/112_gr.html @@ -0,0 +1,58 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

[Αμετάφραστο] 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..2947f1f7e --- /dev/null +++ b/112_hu.html @@ -0,0 +1,58 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..0fa0fdcc5 --- /dev/null +++ b/112_id.html @@ -0,0 +1,58 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[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..d5b28c889 --- /dev/null +++ b/112_ie.html @@ -0,0 +1,64 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..846a9e543 --- /dev/null +++ b/112_it.html @@ -0,0 +1,58 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

[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..62fe3ab44 --- /dev/null +++ b/112_ja.html @@ -0,0 +1,58 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

[未翻訳] 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..fa96299f1 --- /dev/null +++ b/112_ko.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

모듈 계층구조

+

한 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..5c357db38 --- /dev/null +++ b/112_pl.html @@ -0,0 +1,58 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..2c02ecbef --- /dev/null +++ b/112_pt-br.html @@ -0,0 +1,56 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..8bee17f48 --- /dev/null +++ b/112_ro.html @@ -0,0 +1,58 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..c3260482d --- /dev/null +++ b/112_ru.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Иерархия модуля (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..e56302280 --- /dev/null +++ b/112_th.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..4a84c9d79 --- /dev/null +++ b/112_tr.html @@ -0,0 +1,56 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..c72f912a6 --- /dev/null +++ b/112_ua.html @@ -0,0 +1,58 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Ієрархія модулів

+

Один модуль може залежати від іншого. Для того, щоб встановити зв'язок +між модулем та його підмодулем, ви повинні написати у батьківському модулі

+
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..62097f4f5 --- /dev/null +++ b/112_vi.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..64b8585fd --- /dev/null +++ b/112_zh-cn.html @@ -0,0 +1,56 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

模块层次结构

+

模块可以互相依赖。要建立一个模块和其子模块之间的关系,你需要在父模块中这样写:

+
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..6680a1dc3 --- /dev/null +++ b/112_zh-tw.html @@ -0,0 +1,58 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

[沒有翻譯] 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_de.html b/113_de.html new file mode 100644 index 000000000..112c7350f --- /dev/null +++ b/113_de.html @@ -0,0 +1,65 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour durch Rust + + Inhaltsverzeichnis +
+
+

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..f6f509849 --- /dev/null +++ b/113_en.html @@ -0,0 +1,65 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..84f105b7c --- /dev/null +++ b/113_es.html @@ -0,0 +1,65 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..5ede59bad --- /dev/null +++ b/113_fa.html @@ -0,0 +1,65 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..04ae479f3 --- /dev/null +++ b/113_fi.html @@ -0,0 +1,65 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

[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..c70a4c6a1 --- /dev/null +++ b/113_fr.html @@ -0,0 +1,67 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..13de6a7b0 --- /dev/null +++ b/113_gr.html @@ -0,0 +1,65 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

[Αμετάφραστο] 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..292ac0adb --- /dev/null +++ b/113_hu.html @@ -0,0 +1,65 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..fb5e754b4 --- /dev/null +++ b/113_id.html @@ -0,0 +1,65 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[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..58b6b3e95 --- /dev/null +++ b/113_ie.html @@ -0,0 +1,58 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

Referenties Intern a Modules

+

Rust possede mult clave-paroles queles tu posse usar in tui use-path por rapidmen trovar li modul desirat:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/113_it.html b/113_it.html new file mode 100644 index 000000000..2015c8470 --- /dev/null +++ b/113_it.html @@ -0,0 +1,65 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

[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..e0cb4fce9 --- /dev/null +++ b/113_ja.html @@ -0,0 +1,65 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

[未翻訳] 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..6df1db2b9 --- /dev/null +++ b/113_ko.html @@ -0,0 +1,65 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

인라인 모듈

+

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..37c38415f --- /dev/null +++ b/113_pl.html @@ -0,0 +1,65 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..2ac08ce1d --- /dev/null +++ b/113_pt-br.html @@ -0,0 +1,65 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..c8069549d --- /dev/null +++ b/113_ro.html @@ -0,0 +1,65 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

Modul *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!

+
// Aceast 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::*;
+
+    ... tests go here ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/113_ru.html b/113_ru.html new file mode 100644 index 000000000..49938685b --- /dev/null +++ b/113_ru.html @@ -0,0 +1,65 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Встроенный модуль (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..3220dae32 --- /dev/null +++ b/113_th.html @@ -0,0 +1,65 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..dce1fe1bb --- /dev/null +++ b/113_tr.html @@ -0,0 +1,65 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..b53f9f3a9 --- /dev/null +++ b/113_ua.html @@ -0,0 +1,65 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Вбудований модуль

+

Підмодуль може бути безпосередньо вбудований у код модуля.

+

Одне з найпоширеніших застосувань вбудованих модулів - створення модульних тестів. Ми створюємо вбудований модуль, який існує лише тоді, коли для тестування використовується 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..127414580 --- /dev/null +++ b/113_vi.html @@ -0,0 +1,67 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..d5b82a1ef --- /dev/null +++ b/113_zh-cn.html @@ -0,0 +1,63 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

内联模块

+

一个子模块可以直接内联在一个模块的代码中。

+

内联模块最常见的用途是创建单元测试。 下面我们创建一个只有在使用 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..1d33fa0ee --- /dev/null +++ b/113_zh-tw.html @@ -0,0 +1,65 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

[沒有翻譯] 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_de.html b/114_de.html new file mode 100644 index 000000000..052a1521c --- /dev/null +++ b/114_de.html @@ -0,0 +1,58 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour durch Rust + + Inhaltsverzeichnis +
+
+

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:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/114_en.html b/114_en.html new file mode 100644 index 000000000..928d3b11a --- /dev/null +++ b/114_en.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

Internal Module Referencing

+

Rust has several keywords you can use in your use path to quickly get ahold of the module you want:

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

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:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/114_fa.html b/114_fa.html new file mode 100644 index 000000000..639b6442b --- /dev/null +++ b/114_fa.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

Internal Module Referencing

+

Rust has several keywords you can use in your use path to quickly get ahold of the module you want:

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

[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:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/114_fr.html b/114_fr.html new file mode 100644 index 000000000..8eafae7cb --- /dev/null +++ b/114_fr.html @@ -0,0 +1,59 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/114_gr.html b/114_gr.html new file mode 100644 index 000000000..d131fe386 --- /dev/null +++ b/114_gr.html @@ -0,0 +1,58 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

[Αμετάφραστο] Internal Module Referencing

+

Rust has several keywords you can use in your use path to quickly get ahold of the module you want:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/114_hu.html b/114_hu.html new file mode 100644 index 000000000..1555cfab7 --- /dev/null +++ b/114_hu.html @@ -0,0 +1,59 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/114_id.html b/114_id.html new file mode 100644 index 000000000..538f8de62 --- /dev/null +++ b/114_id.html @@ -0,0 +1,58 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[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:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/114_ie.html b/114_ie.html new file mode 100644 index 000000000..7cc32c403 --- /dev/null +++ b/114_ie.html @@ -0,0 +1,55 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..35a048a43 --- /dev/null +++ b/114_it.html @@ -0,0 +1,58 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

[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:

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

[未翻訳] Internal Module Referencing

+

Rust has several keywords you can use in your use path to quickly get ahold of the module you want:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/114_ko.html b/114_ko.html new file mode 100644 index 000000000..5ee0eb6a9 --- /dev/null +++ b/114_ko.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

내부 모듈 참조하기

+

Rust에서는 use 경로에 사용할 수 있는 몇 가지 키워드를 통해 원하는 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..cc8b24535 --- /dev/null +++ b/114_pl.html @@ -0,0 +1,58 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

Internal Module Referencing

+

Rust has several keywords you can use in your use path to quickly get ahold of the module you want:

+ + +
+
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..30e5c8d53 --- /dev/null +++ b/114_pt-br.html @@ -0,0 +1,58 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/114_ro.html b/114_ro.html new file mode 100644 index 000000000..2da21441a --- /dev/null +++ b/114_ro.html @@ -0,0 +1,58 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/114_ru.html b/114_ru.html new file mode 100644 index 000000000..e4020eae0 --- /dev/null +++ b/114_ru.html @@ -0,0 +1,58 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Ссылка на встроенный модуль (Internal Module Referencing)

+

Rust имеет несколько ключевых слов, которые вы можете использовать в своем пути use (использовать), чтобы быстро получить доступ к нужному модулю:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/114_th.html b/114_th.html new file mode 100644 index 000000000..5eec1bbc4 --- /dev/null +++ b/114_th.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

Internal Module Referencing

+

Rust มีหลายคีย์เวิร์ดให้คุณใช้ใน พาธ use ของคุณ เพื่อรับโมดูลที่คุณต้องการแบบเร่งด่วน:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/114_tr.html b/114_tr.html new file mode 100644 index 000000000..7b9c84375 --- /dev/null +++ b/114_tr.html @@ -0,0 +1,58 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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.

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/114_ua.html b/114_ua.html new file mode 100644 index 000000000..8ce9d2a31 --- /dev/null +++ b/114_ua.html @@ -0,0 +1,58 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Внутрішнє посилання на модулі

+

У Rust є кілька ключових слів, які ви можете використовувати у шляху use, щоб швидко отримати доступ до потрібного вам модуля:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/114_vi.html b/114_vi.html new file mode 100644 index 000000000..4ca0218f1 --- /dev/null +++ b/114_vi.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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:

+ + +
+
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..29afb0afb --- /dev/null +++ b/114_zh-cn.html @@ -0,0 +1,58 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

模块内部引用

+

你可以在你的 use 路径中使用如下 Rust 关键字来获得你想要的模块:

+ + +
+
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..0b8db472c --- /dev/null +++ b/114_zh-tw.html @@ -0,0 +1,58 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

[沒有翻譯] Internal Module Referencing

+

Rust has several keywords you can use in your use path to quickly get ahold of the module you want:

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

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..a43b33c44 --- /dev/null +++ b/115_en.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..d26923e7e --- /dev/null +++ b/115_es.html @@ -0,0 +1,54 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..65fa1b90f --- /dev/null +++ b/115_fa.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..692156c7e --- /dev/null +++ b/115_fi.html @@ -0,0 +1,56 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

[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..45c1202b3 --- /dev/null +++ b/115_fr.html @@ -0,0 +1,59 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..459e39c35 --- /dev/null +++ b/115_gr.html @@ -0,0 +1,56 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

[Αμετάφραστο] 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..bfe4e7ea4 --- /dev/null +++ b/115_hu.html @@ -0,0 +1,58 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..dfd84dc9f --- /dev/null +++ b/115_id.html @@ -0,0 +1,56 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[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..337e2e32d --- /dev/null +++ b/115_ie.html @@ -0,0 +1,55 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..fd5f06a53 --- /dev/null +++ b/115_it.html @@ -0,0 +1,56 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

[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..8b4f73ca4 --- /dev/null +++ b/115_ja.html @@ -0,0 +1,56 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

[未翻訳] 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..467d7a2b3 --- /dev/null +++ b/115_ko.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

내보내기

+

기본적으로 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..f2bcb6a2e --- /dev/null +++ b/115_pl.html @@ -0,0 +1,56 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..9769a7871 --- /dev/null +++ b/115_pt-br.html @@ -0,0 +1,53 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..b94d74e54 --- /dev/null +++ b/115_ro.html @@ -0,0 +1,56 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..0e7080b30 --- /dev/null +++ b/115_ru.html @@ -0,0 +1,54 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Экспорт (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..b14cf7181 --- /dev/null +++ b/115_th.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..e3eb7af7a --- /dev/null +++ b/115_tr.html @@ -0,0 +1,54 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..76202f370 --- /dev/null +++ b/115_ua.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Експорт

+

За замовчуванням члени модуля недоступні ззовні модуля (навіть з його дочірніх модулів!). Ми робимо члени +модуля доступними за допомогою ключового слова 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..6ab670c7f --- /dev/null +++ b/115_vi.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..6156e7563 --- /dev/null +++ b/115_zh-cn.html @@ -0,0 +1,54 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

导出

+

默认情况下,模块的成员不能从模块外部访问(甚至它的子模块也不行!)。 我们可以使用 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..80353b46d --- /dev/null +++ b/115_zh-tw.html @@ -0,0 +1,56 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

[沒有翻譯] 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_de.html b/116_de.html new file mode 100644 index 000000000..ca7d5689e --- /dev/null +++ b/116_de.html @@ -0,0 +1,56 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour durch Rust + + Inhaltsverzeichnis +
+
+

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..92d81fc2d --- /dev/null +++ b/116_en.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..4a14ef717 --- /dev/null +++ b/116_es.html @@ -0,0 +1,55 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..380c12707 --- /dev/null +++ b/116_fa.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..6bc3577aa --- /dev/null +++ b/116_fi.html @@ -0,0 +1,55 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

[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..77b3ffd75 --- /dev/null +++ b/116_fr.html @@ -0,0 +1,56 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..7b08d5b8e --- /dev/null +++ b/116_gr.html @@ -0,0 +1,55 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

[Αμετάφραστο] 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..0b974598f --- /dev/null +++ b/116_hu.html @@ -0,0 +1,56 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..e17bc0695 --- /dev/null +++ b/116_id.html @@ -0,0 +1,55 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[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..b996d2023 --- /dev/null +++ b/116_ie.html @@ -0,0 +1,55 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

[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..f48f7a97d --- /dev/null +++ b/116_it.html @@ -0,0 +1,55 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

[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..9de95f582 --- /dev/null +++ b/116_ja.html @@ -0,0 +1,55 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

[未翻訳] 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..6d3752970 --- /dev/null +++ b/116_ko.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

구조체 가시성

+

함수와 마찬가지로, 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..084dd692e --- /dev/null +++ b/116_pl.html @@ -0,0 +1,55 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..3870f052e --- /dev/null +++ b/116_pt-br.html @@ -0,0 +1,55 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..99edce5eb --- /dev/null +++ b/116_ro.html @@ -0,0 +1,55 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..a73fe1561 --- /dev/null +++ b/116_ru.html @@ -0,0 +1,55 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Область видимости структур (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..35d6483c6 --- /dev/null +++ b/116_th.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..85ef9a4ec --- /dev/null +++ b/116_tr.html @@ -0,0 +1,55 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..9c06864cb --- /dev/null +++ b/116_ua.html @@ -0,0 +1,55 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Видимість структури

+

Так само як і функції, структури можуть оголошувати те, що вони хочуть виходити за межі модуля за допомогою pub.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/116_vi.html b/116_vi.html new file mode 100644 index 000000000..d2e0d3eb0 --- /dev/null +++ b/116_vi.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..9cf176fae --- /dev/null +++ b/116_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/116_zh-tw.html b/116_zh-tw.html new file mode 100644 index 000000000..a5e4fa932 --- /dev/null +++ b/116_zh-tw.html @@ -0,0 +1,55 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

[沒有翻譯] 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_de.html b/117_de.html new file mode 100644 index 000000000..250664b11 --- /dev/null +++ b/117_de.html @@ -0,0 +1,56 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour durch Rust + + Inhaltsverzeichnis +
+
+

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..3bc7680bd --- /dev/null +++ b/117_en.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..b6b84e129 --- /dev/null +++ b/117_es.html @@ -0,0 +1,57 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..c3791a7a1 --- /dev/null +++ b/117_fa.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..3740caa5d --- /dev/null +++ b/117_fi.html @@ -0,0 +1,59 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

[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..809121e0d --- /dev/null +++ b/117_fr.html @@ -0,0 +1,59 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..8d4f6cb76 --- /dev/null +++ b/117_gr.html @@ -0,0 +1,59 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

[Αμετάφραστο] 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..4f39424c6 --- /dev/null +++ b/117_hu.html @@ -0,0 +1,57 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..cf8354fc1 --- /dev/null +++ b/117_id.html @@ -0,0 +1,59 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[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..50f149ba4 --- /dev/null +++ b/117_ie.html @@ -0,0 +1,59 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

[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..2f7aab147 --- /dev/null +++ b/117_it.html @@ -0,0 +1,59 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

[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..933f60009 --- /dev/null +++ b/117_ja.html @@ -0,0 +1,59 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

[未翻訳] 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..3a72a5936 --- /dev/null +++ b/117_ko.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

전주곡 (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..86b341099 --- /dev/null +++ b/117_pl.html @@ -0,0 +1,59 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..ddd26d054 --- /dev/null +++ b/117_pt-br.html @@ -0,0 +1,54 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..ee46469ce --- /dev/null +++ b/117_ro.html @@ -0,0 +1,59 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..d475ebcc5 --- /dev/null +++ b/117_ru.html @@ -0,0 +1,58 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Автоимпорт (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..1803fc88b --- /dev/null +++ b/117_th.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..8b8fc2284 --- /dev/null +++ b/117_tr.html @@ -0,0 +1,56 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

Ö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..6249f766a --- /dev/null +++ b/117_ua.html @@ -0,0 +1,59 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Прелюдія

+

Вам може бути цікаво, як ми маємо доступ до 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..201bc9fba --- /dev/null +++ b/117_vi.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..ea0ca79f2 --- /dev/null +++ b/117_zh-cn.html @@ -0,0 +1,56 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

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..c913c0e1f --- /dev/null +++ b/117_zh-tw.html @@ -0,0 +1,59 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

[沒有翻譯] 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_de.html b/118_de.html new file mode 100644 index 000000000..c4f5eeb5c --- /dev/null +++ b/118_de.html @@ -0,0 +1,55 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour durch Rust + + Inhaltsverzeichnis +
+
+

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..80340d8fc --- /dev/null +++ b/118_en.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..0eed0413c --- /dev/null +++ b/118_es.html @@ -0,0 +1,54 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..845a08378 --- /dev/null +++ b/118_fa.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..8011e0196 --- /dev/null +++ b/118_fi.html @@ -0,0 +1,57 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

[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..5e9867c82 --- /dev/null +++ b/118_fr.html @@ -0,0 +1,58 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..1188b9132 --- /dev/null +++ b/118_gr.html @@ -0,0 +1,57 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

[Αμετάφραστο] 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..4144f1712 --- /dev/null +++ b/118_hu.html @@ -0,0 +1,58 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..ac911a34e --- /dev/null +++ b/118_id.html @@ -0,0 +1,57 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[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..5bdd13b1c --- /dev/null +++ b/118_ie.html @@ -0,0 +1,57 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

[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..0fb04deab --- /dev/null +++ b/118_it.html @@ -0,0 +1,57 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

[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..cf091c4ba --- /dev/null +++ b/118_ja.html @@ -0,0 +1,57 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

[未翻訳] 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..649d79873 --- /dev/null +++ b/118_ko.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

여러분만의 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..7c53553c9 --- /dev/null +++ b/118_pl.html @@ -0,0 +1,57 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..ad0a2a816 --- /dev/null +++ b/118_pt-br.html @@ -0,0 +1,55 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..7373fbd58 --- /dev/null +++ b/118_ro.html @@ -0,0 +1,57 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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 rustacean 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..fe08d35e3 --- /dev/null +++ b/118_ru.html @@ -0,0 +1,55 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Ваш собственный автоимпорт (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..36cc94f0e --- /dev/null +++ b/118_th.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..dac7dba3f --- /dev/null +++ b/118_tr.html @@ -0,0 +1,54 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..b33571679 --- /dev/null +++ b/118_ua.html @@ -0,0 +1,55 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Ваша особиста прелюдія

+

Оскільки прелюдія є стандартним компонентом бібліотеки, у вашій бібліотеці, як правило, є власний модуль прелюдії як відправна точка з котрої +користувачі мають імпортувати усі найпоширеніші структури даних для використання вашої бібліотеки (наприклад, 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..d6a1c5cf0 --- /dev/null +++ b/118_vi.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..e81bda202 --- /dev/null +++ b/118_zh-cn.html @@ -0,0 +1,55 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

你自己的 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..6a843913c --- /dev/null +++ b/118_zh-tw.html @@ -0,0 +1,57 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

[沒有翻譯] 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_de.html b/119_de.html new file mode 100644 index 000000000..8ddb8b945 --- /dev/null +++ b/119_de.html @@ -0,0 +1,58 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour durch Rust + + Inhaltsverzeichnis +
+
+

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..e0d62a73d --- /dev/null +++ b/119_en.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..c16e35d50 --- /dev/null +++ b/119_es.html @@ -0,0 +1,57 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..6a3d37956 --- /dev/null +++ b/119_fa.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..5fa7d7b94 --- /dev/null +++ b/119_fi.html @@ -0,0 +1,58 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

[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..43f2f2907 --- /dev/null +++ b/119_fr.html @@ -0,0 +1,61 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..24ce4aa30 --- /dev/null +++ b/119_gr.html @@ -0,0 +1,58 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

[Αμετάφραστο] 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..3eddf0e7e --- /dev/null +++ b/119_hu.html @@ -0,0 +1,60 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..c96a3eafa --- /dev/null +++ b/119_id.html @@ -0,0 +1,58 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[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..7fb4dc5e4 --- /dev/null +++ b/119_ie.html @@ -0,0 +1,58 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

[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..02eca4867 --- /dev/null +++ b/119_it.html @@ -0,0 +1,58 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

[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..3a68e1ea2 --- /dev/null +++ b/119_ja.html @@ -0,0 +1,58 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

[未翻訳] 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..e8b07135b --- /dev/null +++ b/119_ko.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

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..f58fdc7af --- /dev/null +++ b/119_pl.html @@ -0,0 +1,58 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..29a3b12a8 --- /dev/null +++ b/119_pt-br.html @@ -0,0 +1,57 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..66393de28 --- /dev/null +++ b/119_ro.html @@ -0,0 +1,58 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

Capitolul 9 - Concluzii

+

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..69a4b3990 --- /dev/null +++ b/119_ru.html @@ -0,0 +1,58 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Глава 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..33e08e3e3 --- /dev/null +++ b/119_th.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

บทที่ 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..e8e8f04f8 --- /dev/null +++ b/119_tr.html @@ -0,0 +1,57 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..3e80a8f29 --- /dev/null +++ b/119_ua.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Розділ 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..38588b5d9 --- /dev/null +++ b/119_vi.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..a90275c4b --- /dev/null +++ b/119_zh-cn.html @@ -0,0 +1,57 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

第九章 - 总结

+

现在,你应该学会了如何创建并与世界分享你的 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..cde9d85ca --- /dev/null +++ b/119_zh-tw.html @@ -0,0 +1,58 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

[沒有翻譯] 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_de.html b/11_de.html new file mode 100644 index 000000000..1fb81f455 --- /dev/null +++ b/11_de.html @@ -0,0 +1,57 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour durch Rust + + Inhaltsverzeichnis +
+
+

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..4da2d38eb --- /dev/null +++ b/11_en.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..aa119b967 --- /dev/null +++ b/11_es.html @@ -0,0 +1,57 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..a7cf5d37e --- /dev/null +++ b/11_fa.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..bd4a22d80 --- /dev/null +++ b/11_fi.html @@ -0,0 +1,57 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

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..e78fa5168 --- /dev/null +++ b/11_fr.html @@ -0,0 +1,58 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..d05c39538 --- /dev/null +++ b/11_gr.html @@ -0,0 +1,57 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

Επιστροφή του τίποτε

+

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

+

Μία κενή πολλαπλότητα συμβολίζεται με ().

+

Η ρητή χρήση του () είναι μάλλον σπάνια, αλλά εμφανίζεται αρκετά συχνά ώστε είναι καλό να ξέρει κανείς τι συμβαίνει.

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

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..c566b37b3 --- /dev/null +++ b/11_id.html @@ -0,0 +1,57 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

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..e778d0d5e --- /dev/null +++ b/11_ie.html @@ -0,0 +1,57 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..2a9ad01d9 --- /dev/null +++ b/11_it.html @@ -0,0 +1,57 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

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..2336ac36b --- /dev/null +++ b/11_ja.html @@ -0,0 +1,57 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

空の戻り値

+

関数に戻り値の型が指定されていない場合、unit と呼ばれる空のタプルを返します。

+

空のタプルは () と表記します。

+

() はあまり使われませんが、時々出てくるので意味は知っておく必要があります。

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

아무것도 리턴하지 않기

+

함수에 리턴형을 지정하지 않은 경우 빈 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..b56ffb521 --- /dev/null +++ b/11_pl.html @@ -0,0 +1,57 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..8d82c9c79 --- /dev/null +++ b/11_pt-br.html @@ -0,0 +1,57 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..24f7866a1 --- /dev/null +++ b/11_ro.html @@ -0,0 +1,57 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..e089139f1 --- /dev/null +++ b/11_ru.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Возврат пустого значения (Nothing)

+

Если в функции не указан возвращаемый тип, она возвращает тип пустого кортежа, известный как тип unit (юнит тип).

+

Пустой кортеж представлен в коде как ().

+

Использование юнит типа () в коде бывает редким, но встречается достаточно часто, чтобы заметить скобки и привыкнуть к ним, зная что в таком случае происходит.

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

การไม่คืนอะไรเลย

+

ถ้าฟังก์ชันไม่ได้ระบุ 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..9e7d6c835 --- /dev/null +++ b/11_tr.html @@ -0,0 +1,57 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..b0631a564 --- /dev/null +++ b/11_ua.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Повернення пустого значення

+

Якщо для функції не вказаний тип для повернення значення, вона повертає пустий кортеж, також відомий як unit (юніт тип).

+

Пустий кортеж представлений за допомогою (). Використання () не являється типовим, але зустрічається достатньо часто для того, щоб зрозуміти що відбувається.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/11_vi.html b/11_vi.html new file mode 100644 index 000000000..464ed59de --- /dev/null +++ b/11_vi.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..d084bb1e2 --- /dev/null +++ b/11_zh-cn.html @@ -0,0 +1,57 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

返回空值

+

如果没有为函数指定返回类型,它将返回一个空的元组,也称为单元

+

一个空的元组用 () 表示。

+

直接使用 () 的情况相当不常见。但它经常会出现(比如作为函数返回值),所以了解其来龙去脉非常重要。

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

沒有回傳類型

+

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

+

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

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

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

+ +

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..eaa430429 --- /dev/null +++ b/12_en.html @@ -0,0 +1,63 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..bb988846b --- /dev/null +++ b/12_es.html @@ -0,0 +1,59 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..42d3e6477 --- /dev/null +++ b/12_fa.html @@ -0,0 +1,63 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..451f9d0b4 --- /dev/null +++ b/12_fi.html @@ -0,0 +1,59 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

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..78d4916e1 --- /dev/null +++ b/12_fr.html @@ -0,0 +1,63 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..4963adc7c --- /dev/null +++ b/12_gr.html @@ -0,0 +1,59 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

Κεφάλαιο 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..880b0da68 --- /dev/null +++ b/12_hu.html @@ -0,0 +1,65 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..113278152 --- /dev/null +++ b/12_id.html @@ -0,0 +1,65 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

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..65b213c8e --- /dev/null +++ b/12_ie.html @@ -0,0 +1,53 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..3b6f517c2 --- /dev/null +++ b/12_it.html @@ -0,0 +1,62 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

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..e1c2e0478 --- /dev/null +++ b/12_ja.html @@ -0,0 +1,62 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

第 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..bfdf99876 --- /dev/null +++ b/12_ko.html @@ -0,0 +1,63 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

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..9ebe1e73d --- /dev/null +++ b/12_pl.html @@ -0,0 +1,59 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..b5334fbaf --- /dev/null +++ b/12_pt-br.html @@ -0,0 +1,59 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..7207e275e --- /dev/null +++ b/12_ro.html @@ -0,0 +1,63 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

Capitolul 1 - Concluzii

+

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..b14124d35 --- /dev/null +++ b/12_ru.html @@ -0,0 +1,59 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Раздел 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..1cf95dc20 --- /dev/null +++ b/12_th.html @@ -0,0 +1,62 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

บทที่ 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..ed2f6af4b --- /dev/null +++ b/12_tr.html @@ -0,0 +1,60 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..de8970a30 --- /dev/null +++ b/12_ua.html @@ -0,0 +1,61 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Розділ 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..00e78ff02 --- /dev/null +++ b/12_vi.html @@ -0,0 +1,60 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..03df08430 --- /dev/null +++ b/12_zh-cn.html @@ -0,0 +1,63 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

第一章总结

+

到目前为止一切都进展顺利! 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..9b8b7fea9 --- /dev/null +++ b/12_zh-tw.html @@ -0,0 +1,62 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

第一章 - 總結

+

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

+

更多資源:

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

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..feec9564a --- /dev/null +++ b/14_en.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..a8c70a826 --- /dev/null +++ b/14_es.html @@ -0,0 +1,57 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..dafec718b --- /dev/null +++ b/14_fa.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..785492321 --- /dev/null +++ b/14_fi.html @@ -0,0 +1,57 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

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..e4f76f17b --- /dev/null +++ b/14_fr.html @@ -0,0 +1,58 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..94eadb6a2 --- /dev/null +++ b/14_gr.html @@ -0,0 +1,57 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

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..e5cddc704 --- /dev/null +++ b/14_hu.html @@ -0,0 +1,59 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..2c4fb68b2 --- /dev/null +++ b/14_id.html @@ -0,0 +1,57 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

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..1bf594c61 --- /dev/null +++ b/14_ie.html @@ -0,0 +1,55 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..63638f9be --- /dev/null +++ b/14_it.html @@ -0,0 +1,57 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

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..f3ac08a7f --- /dev/null +++ b/14_ja.html @@ -0,0 +1,57 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

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..7d4d375c0 --- /dev/null +++ b/14_ko.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

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..af3d3791c --- /dev/null +++ b/14_pl.html @@ -0,0 +1,57 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..5a50da07a --- /dev/null +++ b/14_pt-br.html @@ -0,0 +1,57 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..d55db2db8 --- /dev/null +++ b/14_ro.html @@ -0,0 +1,57 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..22c63912f --- /dev/null +++ b/14_ru.html @@ -0,0 +1,58 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

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..ebc2d9b3f --- /dev/null +++ b/14_th.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..062a5db55 --- /dev/null +++ b/14_tr.html @@ -0,0 +1,57 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..ffb3dfeab --- /dev/null +++ b/14_ua.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

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..53e94cbeb --- /dev/null +++ b/14_vi.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

Đ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..f5d6d2bbb --- /dev/null +++ b/14_zh-cn.html @@ -0,0 +1,57 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

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..13efc5c92 --- /dev/null +++ b/14_zh-tw.html @@ -0,0 +1,57 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

if/else if/else

+

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

+

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

+

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

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

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..cc2d50b91 --- /dev/null +++ b/15_en.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..e01990855 --- /dev/null +++ b/15_es.html @@ -0,0 +1,58 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..50b4c265b --- /dev/null +++ b/15_fa.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..3d67658f7 --- /dev/null +++ b/15_fi.html @@ -0,0 +1,58 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

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..4ce1f5a71 --- /dev/null +++ b/15_fr.html @@ -0,0 +1,58 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..1249182d4 --- /dev/null +++ b/15_gr.html @@ -0,0 +1,56 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

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..7c209e9dd --- /dev/null +++ b/15_hu.html @@ -0,0 +1,58 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..bf07ed612 --- /dev/null +++ b/15_id.html @@ -0,0 +1,58 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

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..e36ff9507 --- /dev/null +++ b/15_ie.html @@ -0,0 +1,55 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..a5d3838da --- /dev/null +++ b/15_it.html @@ -0,0 +1,58 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

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..a0168d4e9 --- /dev/null +++ b/15_ja.html @@ -0,0 +1,57 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

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..887cf9c3c --- /dev/null +++ b/15_ko.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

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..1aed19f41 --- /dev/null +++ b/15_pl.html @@ -0,0 +1,58 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..2b9199374 --- /dev/null +++ b/15_pt-br.html @@ -0,0 +1,58 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..fff304a5a --- /dev/null +++ b/15_ro.html @@ -0,0 +1,58 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..75b989c38 --- /dev/null +++ b/15_ru.html @@ -0,0 +1,58 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

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..3672d5601 --- /dev/null +++ b/15_th.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..285dc6c61 --- /dev/null +++ b/15_tr.html @@ -0,0 +1,57 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..07fc3f83e --- /dev/null +++ b/15_ua.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Цикли

+

Вам потрібен безкінечний цикл? З 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..fc6a88d8a --- /dev/null +++ b/15_vi.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..378b7b232 --- /dev/null +++ b/15_zh-cn.html @@ -0,0 +1,57 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

循环

+

需要一个无限循环?

+

使用 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..b605b8007 --- /dev/null +++ b/15_zh-tw.html @@ -0,0 +1,58 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

loop

+

需要一個無窮迴圈嗎?

+

Rust 將它變得很簡單。

+

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

+

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

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

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..799fd0e06 --- /dev/null +++ b/16_en.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..7b09a1bb3 --- /dev/null +++ b/16_es.html @@ -0,0 +1,56 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..262d7be7a --- /dev/null +++ b/16_fa.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..19cbffed5 --- /dev/null +++ b/16_fi.html @@ -0,0 +1,56 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

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..d3a9478cd --- /dev/null +++ b/16_fr.html @@ -0,0 +1,56 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..8a464e6f7 --- /dev/null +++ b/16_gr.html @@ -0,0 +1,56 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

while

+

Το while μας επιτρέπει να προσθέσουμε εύκολα μία συνθήκη σ' ένα βρόχο.

+

Όταν η συνθήκη γίνει ψευδής, ο βρόχος θα τερματίσει.

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

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..b21a2d40f --- /dev/null +++ b/16_id.html @@ -0,0 +1,56 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

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..d143c3dc8 --- /dev/null +++ b/16_ie.html @@ -0,0 +1,55 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..4298a4377 --- /dev/null +++ b/16_it.html @@ -0,0 +1,56 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

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..9b3729c6c --- /dev/null +++ b/16_ja.html @@ -0,0 +1,56 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

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..ad8c151ab --- /dev/null +++ b/16_ko.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

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..55743c18b --- /dev/null +++ b/16_pl.html @@ -0,0 +1,56 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..f4c6fdea4 --- /dev/null +++ b/16_pt-br.html @@ -0,0 +1,56 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..a772ac00b --- /dev/null +++ b/16_ro.html @@ -0,0 +1,56 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..8bbecfbca --- /dev/null +++ b/16_ru.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

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..5ac020954 --- /dev/null +++ b/16_th.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..ac3d160c7 --- /dev/null +++ b/16_tr.html @@ -0,0 +1,56 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..afcafee8e --- /dev/null +++ b/16_ua.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

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..2b2565444 --- /dev/null +++ b/16_vi.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..f8e1f610d --- /dev/null +++ b/16_zh-cn.html @@ -0,0 +1,56 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

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..f054146a1 --- /dev/null +++ b/16_zh-tw.html @@ -0,0 +1,56 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

while

+

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

+

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

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

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:

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

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..04cc6ca5f --- /dev/null +++ b/17_es.html @@ -0,0 +1,58 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..5e815ed1d --- /dev/null +++ b/17_fa.html @@ -0,0 +1,64 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..fd2607884 --- /dev/null +++ b/17_fi.html @@ -0,0 +1,64 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

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..30130804b --- /dev/null +++ b/17_fr.html @@ -0,0 +1,64 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..0a2fdafe3 --- /dev/null +++ b/17_gr.html @@ -0,0 +1,59 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

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..c8f7ac4c3 --- /dev/null +++ b/17_hu.html @@ -0,0 +1,62 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..98d6302bd --- /dev/null +++ b/17_id.html @@ -0,0 +1,59 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

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..40f5bf16d --- /dev/null +++ b/17_ie.html @@ -0,0 +1,55 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..a3bad3b02 --- /dev/null +++ b/17_it.html @@ -0,0 +1,59 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

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..d987862c0 --- /dev/null +++ b/17_ja.html @@ -0,0 +1,61 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

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..e801f658e --- /dev/null +++ b/17_ko.html @@ -0,0 +1,61 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

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..5c524c575 --- /dev/null +++ b/17_pl.html @@ -0,0 +1,59 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..fda9d2382 --- /dev/null +++ b/17_pt-br.html @@ -0,0 +1,58 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..11f05f0b0 --- /dev/null +++ b/17_ro.html @@ -0,0 +1,64 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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 +creea ușor iteratori care generează o secvență de numere întregi.

+

Operatorul .. creează un iterator care generează numere de la un număr pâna 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âna 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..85ae5947e --- /dev/null +++ b/17_ru.html @@ -0,0 +1,61 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

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..6ca906648 --- /dev/null +++ b/17_th.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..8b7f74c77 --- /dev/null +++ b/17_tr.html @@ -0,0 +1,59 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..4e196857e --- /dev/null +++ b/17_ua.html @@ -0,0 +1,59 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

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..198900914 --- /dev/null +++ b/17_vi.html @@ -0,0 +1,62 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..0da40844e --- /dev/null +++ b/17_zh-cn.html @@ -0,0 +1,59 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

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..49b5d395c --- /dev/null +++ b/17_zh-tw.html @@ -0,0 +1,58 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

for

+

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

+

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

+

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

+

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

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

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..59bf4e341 --- /dev/null +++ b/18_en.html @@ -0,0 +1,63 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..30bcb3884 --- /dev/null +++ b/18_es.html @@ -0,0 +1,57 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..7636d6c29 --- /dev/null +++ b/18_fa.html @@ -0,0 +1,63 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..7f82aeb1a --- /dev/null +++ b/18_fi.html @@ -0,0 +1,63 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

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..a710cee3e --- /dev/null +++ b/18_fr.html @@ -0,0 +1,62 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..92395ab92 --- /dev/null +++ b/18_gr.html @@ -0,0 +1,57 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

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..9efff154e --- /dev/null +++ b/18_hu.html @@ -0,0 +1,62 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..9106d10fd --- /dev/null +++ b/18_id.html @@ -0,0 +1,57 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

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..8dac9767a --- /dev/null +++ b/18_ie.html @@ -0,0 +1,55 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..809750a03 --- /dev/null +++ b/18_it.html @@ -0,0 +1,57 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

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..93b513986 --- /dev/null +++ b/18_ja.html @@ -0,0 +1,61 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

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..8ac41d3ae --- /dev/null +++ b/18_ko.html @@ -0,0 +1,60 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

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..d1cc7e472 --- /dev/null +++ b/18_pl.html @@ -0,0 +1,60 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..1b05a023c --- /dev/null +++ b/18_pt-br.html @@ -0,0 +1,57 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..60d39c8bd --- /dev/null +++ b/18_ro.html @@ -0,0 +1,63 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..17a226752 --- /dev/null +++ b/18_ru.html @@ -0,0 +1,60 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

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..64033e161 --- /dev/null +++ b/18_th.html @@ -0,0 +1,60 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..19dad9f8d --- /dev/null +++ b/18_tr.html @@ -0,0 +1,58 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..458fddbf8 --- /dev/null +++ b/18_ua.html @@ -0,0 +1,58 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

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..ce9d11c27 --- /dev/null +++ b/18_vi.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..35fab88d1 --- /dev/null +++ b/18_zh-cn.html @@ -0,0 +1,59 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

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..5471befb0 --- /dev/null +++ b/18_zh-tw.html @@ -0,0 +1,57 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

match

+

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

+

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

+

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

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

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..1186eb4e4 --- /dev/null +++ b/19_en.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..e8e5d106b --- /dev/null +++ b/19_es.html @@ -0,0 +1,55 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..f52c5d44b --- /dev/null +++ b/19_fa.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..2f05091b2 --- /dev/null +++ b/19_fi.html @@ -0,0 +1,55 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

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..77bc15997 --- /dev/null +++ b/19_fr.html @@ -0,0 +1,55 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..6d81faa29 --- /dev/null +++ b/19_gr.html @@ -0,0 +1,55 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

Επιστροφή τιμών από βρόχους

+

Το loop μπορεί να διακοπεί ώστε να επιστρέψει μία τιμή.

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

É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..fe4341d45 --- /dev/null +++ b/19_id.html @@ -0,0 +1,55 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

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..95689e5ae --- /dev/null +++ b/19_ie.html @@ -0,0 +1,55 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..e49105c63 --- /dev/null +++ b/19_it.html @@ -0,0 +1,55 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

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..161c7250d --- /dev/null +++ b/19_ja.html @@ -0,0 +1,55 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

loop から値を返す

+

loopbreak で抜けて値を返すことができます。

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

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..1bc6fda94 --- /dev/null +++ b/19_pl.html @@ -0,0 +1,55 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..48bf511e9 --- /dev/null +++ b/19_pt-br.html @@ -0,0 +1,55 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..bbd7c8844 --- /dev/null +++ b/19_ro.html @@ -0,0 +1,55 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..f746c2b54 --- /dev/null +++ b/19_ru.html @@ -0,0 +1,55 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Возвращение значений из loop

+

Прерывая loop, вы можете также вернуть из него значение.

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

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..45a9d5c7d --- /dev/null +++ b/19_tr.html @@ -0,0 +1,55 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..e9446c631 --- /dev/null +++ b/19_ua.html @@ -0,0 +1,55 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Певернення значень з циклів

+

loop може бути перерваний для повернення значення.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/19_vi.html b/19_vi.html new file mode 100644 index 000000000..39fc4dfcd --- /dev/null +++ b/19_vi.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..e69fcd9fb --- /dev/null +++ b/19_zh-cn.html @@ -0,0 +1,55 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

从循环中返回值

+

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..7a5719f6b --- /dev/null +++ b/19_zh-tw.html @@ -0,0 +1,55 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

從迴圈回傳數值

+

loop 可以用 break 來回傳數值。

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

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..ceca47300 --- /dev/null +++ b/20_en.html @@ -0,0 +1,60 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..bf9fc8ea4 --- /dev/null +++ b/20_es.html @@ -0,0 +1,57 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..e0bbd3205 --- /dev/null +++ b/20_fa.html @@ -0,0 +1,60 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..a9c2015f5 --- /dev/null +++ b/20_fi.html @@ -0,0 +1,60 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

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..e3422e811 --- /dev/null +++ b/20_fr.html @@ -0,0 +1,61 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..3b2b78868 --- /dev/null +++ b/20_gr.html @@ -0,0 +1,57 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

Επιστροφή τιμών από φραγμένες εκφράσεις

+

Το 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..370bd38a1 --- /dev/null +++ b/20_hu.html @@ -0,0 +1,61 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

É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..56dc4fc39 --- /dev/null +++ b/20_id.html @@ -0,0 +1,57 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

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..34e34c6e5 --- /dev/null +++ b/20_ie.html @@ -0,0 +1,55 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..f9783d9ac --- /dev/null +++ b/20_it.html @@ -0,0 +1,57 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

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..19be787db --- /dev/null +++ b/20_ja.html @@ -0,0 +1,58 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

ブロック式から値を返す

+

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..479fe1bd3 --- /dev/null +++ b/20_ko.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

블록 표현에서 값 리턴하기

+

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..7347c6154 --- /dev/null +++ b/20_pl.html @@ -0,0 +1,58 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..64c6ba3e8 --- /dev/null +++ b/20_pt-br.html @@ -0,0 +1,58 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..cf19506a9 --- /dev/null +++ b/20_ro.html @@ -0,0 +1,60 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..8adaea549 --- /dev/null +++ b/20_ru.html @@ -0,0 +1,60 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Возвращение значений из выражений блоков

+

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..98172976d --- /dev/null +++ b/20_th.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

การคืนค่าจาก 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..99dc7c48f --- /dev/null +++ b/20_tr.html @@ -0,0 +1,57 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..c1d607434 --- /dev/null +++ b/20_ua.html @@ -0,0 +1,58 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Повернення значень з блокових виразів

+

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..cc4181a8b --- /dev/null +++ b/20_vi.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..d8a8954b4 --- /dev/null +++ b/20_zh-cn.html @@ -0,0 +1,59 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

从块表达式返回值

+

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..38ed418bd --- /dev/null +++ b/20_zh-tw.html @@ -0,0 +1,57 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

從區塊表達式回傳數值

+

在 Rust 裡,ifmatch、functions 及區塊範疇 (scope blocks) 都有一個獨特的方式用來回傳數值。

+

如果在 ifmatch、function 或是區塊範疇裡的最後一個敘述是一個表達式,而且它並沒有 ; 結尾, 那 Rust 將會從該區塊回傳該數值。 這是一個很棒的方式用來產生一段簡結的邏輯,將回傳數值指定給一個新的變量。

+

要注意 Rust 同時也允許 if 敘述可以用來當作簡潔的三元運算。

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

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..3dba96ef5 --- /dev/null +++ b/21_en.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..50201b1a8 --- /dev/null +++ b/21_es.html @@ -0,0 +1,53 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..7e998476a --- /dev/null +++ b/21_fa.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..4dd96b111 --- /dev/null +++ b/21_fi.html @@ -0,0 +1,56 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

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..fda367fcc --- /dev/null +++ b/21_fr.html @@ -0,0 +1,56 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..95562f4c6 --- /dev/null +++ b/21_gr.html @@ -0,0 +1,53 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

Κεφάλαιο 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..33c006dc6 --- /dev/null +++ b/21_hu.html @@ -0,0 +1,56 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..cceddcfce --- /dev/null +++ b/21_id.html @@ -0,0 +1,53 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

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..9057413ba --- /dev/null +++ b/21_ie.html @@ -0,0 +1,53 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..24cd08315 --- /dev/null +++ b/21_it.html @@ -0,0 +1,54 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

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..944d6df02 --- /dev/null +++ b/21_ja.html @@ -0,0 +1,55 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

第 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..0c43d1780 --- /dev/null +++ b/21_ko.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

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..216e47ff7 --- /dev/null +++ b/21_pl.html @@ -0,0 +1,55 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..76d49a2a1 --- /dev/null +++ b/21_pt-br.html @@ -0,0 +1,53 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..01a6d0d57 --- /dev/null +++ b/21_ro.html @@ -0,0 +1,57 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

Capitolul 2 - Concluzii

+

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..cc54523a6 --- /dev/null +++ b/21_ru.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Глава 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..b1ff2ce9c --- /dev/null +++ b/21_th.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

บทที่ 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..d93b64ecc --- /dev/null +++ b/21_tr.html @@ -0,0 +1,54 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..13dc832f7 --- /dev/null +++ b/21_ua.html @@ -0,0 +1,55 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Розділ 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..63ea2f7d7 --- /dev/null +++ b/21_vi.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..8c4c7b054 --- /dev/null +++ b/21_zh-cn.html @@ -0,0 +1,55 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

第二章总结

+

希望即便是在最基本的语言特性中,我也已经向你展示了 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..87d2a1895 --- /dev/null +++ b/21_zh-tw.html @@ -0,0 +1,53 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

第二章 - 總結

+

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

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

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..dda9e90e2 --- /dev/null +++ b/23_en.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..48b267f6f --- /dev/null +++ b/23_es.html @@ -0,0 +1,57 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..34b752c60 --- /dev/null +++ b/23_fa.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..46289b9f6 --- /dev/null +++ b/23_fi.html @@ -0,0 +1,57 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

[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..955c986e4 --- /dev/null +++ b/23_fr.html @@ -0,0 +1,59 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..e45c4a7da --- /dev/null +++ b/23_gr.html @@ -0,0 +1,57 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

Δομές

+

Μία δομή (struct) είναι μία συλλογή από πεδία.

+

Ένα πεδίο είναι απλώς μία τιμή δεδομένων συσχετισμένη με μία δομή δεδομένων. Η τιμή της μπορεί να είναι είτε κάποιος θεμελιώδης τύπος είτε μία άλλη δομή δεδομένων.

+

Ο ορισμός μίας δομής είναι σαν ένα σχεδιάγραμμα για το μεταφραστή για το πώς να κατανείμει τα πεδία της το ένα δίπλα στο άλλο.

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

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..c4b131008 --- /dev/null +++ b/23_id.html @@ -0,0 +1,57 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[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..4750f25e6 --- /dev/null +++ b/23_ie.html @@ -0,0 +1,57 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..de6ec3c95 --- /dev/null +++ b/23_it.html @@ -0,0 +1,57 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

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..3a17cfcc5 --- /dev/null +++ b/23_ja.html @@ -0,0 +1,57 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

構造体

+

一つの struct はフィールドの集合です。

+

フィールド とはデータ構造とキーワードを紐付ける値です。その値はプリミティブ型かデータ構造を指定可能です。

+

その定義はメモリ上で隣合うデータの配置をコンパイラに伝える設計図の様なものです。

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

구조체

+

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..4f818a319 --- /dev/null +++ b/23_pl.html @@ -0,0 +1,57 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..be59cf531 --- /dev/null +++ b/23_pt-br.html @@ -0,0 +1,57 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..accd11a80 --- /dev/null +++ b/23_ro.html @@ -0,0 +1,57 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..8793bb3be --- /dev/null +++ b/23_ru.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Структуры (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..7367f393d --- /dev/null +++ b/23_th.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

Structures

+

struct คือกลุ่มของฟิลด์

+

ฟิลด์ ก็คือข้อมูลธรรมดานี่แหล่ะ ที่รวมอยู่ในโครงสร้าง ซึ่งมันเป็นได้ตั้งแต่ ชนิดตัวแปรขั้นพื้นฐานที่สุด +หรืออาจจะเป็นโครงสร้างอีกตัวซ้อนกันก็ได้

+

การนิยามสิ่งนี้ ก็เหมือนกับพิมพ์เขียวให้คอมไฟเลอร์รู้ว่าฟิล์ดพวกนี้จะวางอยู่ติดกันในหน่วยความจำ

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

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..d8a26644e --- /dev/null +++ b/23_ua.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Структури

+

struct (структура) - це колекція полів.

+

field (поле) - це просто значення даних проасоційовані з структурою даних. Його значення може бути примітивом, чи структурою даних. Їх значення як креслення для компілятора, за яким той зможе зрозуміти як поля мають бути розміщені в памяті. Зазвичай вони розташовані одне за одним, але для оптимізації їх послідовність може бути змінена.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/23_vi.html b/23_vi.html new file mode 100644 index 000000000..8d4589b5f --- /dev/null +++ b/23_vi.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..7116088ac --- /dev/null +++ b/23_zh-cn.html @@ -0,0 +1,57 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

结构体

+

一个 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..424f18438 --- /dev/null +++ b/23_zh-tw.html @@ -0,0 +1,57 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

結構 (structures)

+

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

+

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

+

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

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

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..31899490f --- /dev/null +++ b/24_en.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..db173779e --- /dev/null +++ b/24_es.html @@ -0,0 +1,58 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..fcd52fafa --- /dev/null +++ b/24_fa.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..3981efa44 --- /dev/null +++ b/24_fi.html @@ -0,0 +1,58 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

[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..fe3eaf5ae --- /dev/null +++ b/24_fr.html @@ -0,0 +1,59 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..5a6d993e1 --- /dev/null +++ b/24_gr.html @@ -0,0 +1,58 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

Κλήση μεθόδων

+

Σε αντίθεση με τις απλές συναρτήσεις, οι μέθοδοι είναι συναρτήσεις συσχετισμένες με έναν συγκεκριμένο τύπο δεδομένων.

+

Οι στατικές μέθοδοι είναι αυτές που ανήκουν στον τύπο καθ' αυτό, και καλούνται με τον τελεστή ::.

+

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

+

Σε μετέπειτα κεφάλαια θα μιλήσουμε για το πώς φτιάχνουμε δικές μας μεθόδους.

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

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..adfd0d0b6 --- /dev/null +++ b/24_id.html @@ -0,0 +1,58 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[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..a149c6b7f --- /dev/null +++ b/24_ie.html @@ -0,0 +1,55 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..b86dcf7fa --- /dev/null +++ b/24_it.html @@ -0,0 +1,58 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

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..656198cb8 --- /dev/null +++ b/24_ja.html @@ -0,0 +1,58 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

メソッドの定義

+

関数(function)と違って、メソッド(method)は特定のデータ型と紐づく関数のことです。

+

スタティックメソッド - ある型そのものに紐付き、演算子 :: で呼び出せます。

+

インスタンスメソッド - ある型のインスタンスに紐付き、演算子 . で呼び出せます。

+

以降の章でまたメソッドの作り方について話します。

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

메소드 호출하기

+

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

+

스태틱 메소드(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..f4a8aeb3b --- /dev/null +++ b/24_pl.html @@ -0,0 +1,58 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..fb78533e6 --- /dev/null +++ b/24_pt-br.html @@ -0,0 +1,58 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..51f6d4f8a --- /dev/null +++ b/24_ro.html @@ -0,0 +1,58 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..487326f63 --- /dev/null +++ b/24_ru.html @@ -0,0 +1,58 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Вызов методов

+

В отличие от функций, методы являются функциями, ассоциированные с определенным типом данных.

+

статические методы - это методы принадлежащие самому типу и вызываются с помощью оператора ::.

+

методы экземпляра — это методы, принадлежащие экземпляру объекта данного типа, вызываемые у экземпляра объекта через оператор ..

+

Мы поговорим о том, как создавать свои собственные методы в следующих главах.

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

การเรียกเมธอด

+

ข้อที่แตกต่างจากฟังก์ชันก็คือ เมธอดนั้นเป็นฟังก์ชันที่ เป็นส่วนหนึ่งของ ชนิดตัวแปรสักตัวแบบเฉพาะเจาะจง

+

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..7a2658a98 --- /dev/null +++ b/24_tr.html @@ -0,0 +1,58 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

Ç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..6e58a83de --- /dev/null +++ b/24_ua.html @@ -0,0 +1,60 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Виклик методів

+

На відміну від функцій, методи асоційовані з певним типом даних.

+ +

Про створення власних методів ми поговоримо в наступних розділах.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/24_vi.html b/24_vi.html new file mode 100644 index 000000000..33a2d1e23 --- /dev/null +++ b/24_vi.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..258c20fc4 --- /dev/null +++ b/24_zh-cn.html @@ -0,0 +1,58 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

方法调用

+

与函数(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..d8033178c --- /dev/null +++ b/24_zh-tw.html @@ -0,0 +1,58 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

呼叫方法 (method)

+

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

+

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

+

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

+

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

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

Speicher

+

In Rust gibt es 3 unterschiedliche Speicher-Regionen:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/25_en.html b/25_en.html new file mode 100644 index 000000000..edfdb45c7 --- /dev/null +++ b/25_en.html @@ -0,0 +1,69 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

Memory

+

Rust programs have 3 memory regions where data is stored:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/25_es.html b/25_es.html new file mode 100644 index 000000000..cf581ea31 --- /dev/null +++ b/25_es.html @@ -0,0 +1,68 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

Memoria

+

Los programas Rust tienen 3 regiones de memoria donde almacenar los datos:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/25_fa.html b/25_fa.html new file mode 100644 index 000000000..fb05b7631 --- /dev/null +++ b/25_fa.html @@ -0,0 +1,69 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

Memory

+

Rust programs have 3 memory regions where data is stored:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/25_fi.html b/25_fi.html new file mode 100644 index 000000000..36c36479a --- /dev/null +++ b/25_fi.html @@ -0,0 +1,69 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

[Kääntämätön] Memory

+

Rust programs have 3 memory regions where data is stored:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/25_fr.html b/25_fr.html new file mode 100644 index 000000000..832675fce --- /dev/null +++ b/25_fr.html @@ -0,0 +1,72 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

Mémoire

+

Un programme Rust possède 3 régions de mémoire où les données sont stockées:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/25_gr.html b/25_gr.html new file mode 100644 index 000000000..bc01db026 --- /dev/null +++ b/25_gr.html @@ -0,0 +1,58 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

Μνήμη

+

Τα προγράμματα στη Rust έχουν 3 περιοχές μνήμης στις οποίες μπορεί να έχουν αποθηκευτεί δεδομένα:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/25_hu.html b/25_hu.html new file mode 100644 index 000000000..c45b9c20c --- /dev/null +++ b/25_hu.html @@ -0,0 +1,70 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

Memória

+

A Rust-ban írt programok háromféle memóriarégióban tárolják az adatokat:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/25_id.html b/25_id.html new file mode 100644 index 000000000..0b0be70a9 --- /dev/null +++ b/25_id.html @@ -0,0 +1,69 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[belum diterjemahkan] Memory

+

Rust programs have 3 memory regions where data is stored:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/25_ie.html b/25_ie.html new file mode 100644 index 000000000..e5cf0e3d6 --- /dev/null +++ b/25_ie.html @@ -0,0 +1,66 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

Memorie

+

Programmas in Rust have 3 regiones de memorie ú es plazzat li data:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/25_it.html b/25_it.html new file mode 100644 index 000000000..32d790499 --- /dev/null +++ b/25_it.html @@ -0,0 +1,61 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

La Memoria

+

I programmi Rust hanno 3 zone di memoria che possono contenere dati:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/25_ja.html b/25_ja.html new file mode 100644 index 000000000..83eecbc46 --- /dev/null +++ b/25_ja.html @@ -0,0 +1,63 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

メモリ

+

Rust のプログラムでは、データを保持するために次の3種類のメモリ空間を持っています。

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/25_ko.html b/25_ko.html new file mode 100644 index 000000000..7a4fb2851 --- /dev/null +++ b/25_ko.html @@ -0,0 +1,67 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

메모리

+

Rust 프로그램에는 데이터가 저장되는 세 가지의 메모리 영역이 있습니다:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/25_pl.html b/25_pl.html new file mode 100644 index 000000000..df1fa8b52 --- /dev/null +++ b/25_pl.html @@ -0,0 +1,71 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

Pamięć

+

Programy pisane w Ruscie mają do dyspozycji 3 rodzaje pamięci:

+ + +
+
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..64e2100c8 --- /dev/null +++ b/25_pt-br.html @@ -0,0 +1,58 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

Memória

+

Os programas em Rust têm 3 regiões de memória onde os dados são armazenados:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/25_ro.html b/25_ro.html new file mode 100644 index 000000000..63e20e88d --- /dev/null +++ b/25_ro.html @@ -0,0 +1,69 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

Memorie

+

Aplicațiile scrise în Rust au 3 zone de memorie unde este stocată informație:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/25_ru.html b/25_ru.html new file mode 100644 index 000000000..7df76a925 --- /dev/null +++ b/25_ru.html @@ -0,0 +1,68 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Память (Memory)

+

Программы на Rust имеют 3 региона памяти в которых хранятся данные:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/25_th.html b/25_th.html new file mode 100644 index 000000000..01643a7c2 --- /dev/null +++ b/25_th.html @@ -0,0 +1,68 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

หน่วยความจำ

+

โปรแกรมที่เขียนจาก Rust จะมีหน่วยความจำที่ใช้งานอยู่ 3 ส่วน:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/25_tr.html b/25_tr.html new file mode 100644 index 000000000..08a879bef --- /dev/null +++ b/25_tr.html @@ -0,0 +1,67 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

Bellek

+

Rust programlarında veriler belleğin üç ayrı bölgesinde depolanırlar:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/25_ua.html b/25_ua.html new file mode 100644 index 000000000..6d6139cc4 --- /dev/null +++ b/25_ua.html @@ -0,0 +1,63 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Пам'ять

+

Програми на Rust мають три регіони пам'яті для збереження даних:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/25_vi.html b/25_vi.html new file mode 100644 index 000000000..b9108cd76 --- /dev/null +++ b/25_vi.html @@ -0,0 +1,70 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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ữ:

+ + +
+
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..136009179 --- /dev/null +++ b/25_zh-cn.html @@ -0,0 +1,64 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

内存

+

Rust 程序有 3 个存放数据的内存区域:

+ + +
+
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..682e9c01a --- /dev/null +++ b/25_zh-tw.html @@ -0,0 +1,64 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

記憶體 (memory)

+

Rust 程式裡有三塊記憶體區塊用來儲存資料:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/26_de.html b/26_de.html new file mode 100644 index 000000000..99576d173 --- /dev/null +++ b/26_de.html @@ -0,0 +1,74 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour durch Rust + + Inhaltsverzeichnis +
+
+

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:

+ +
    +
  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. +
+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/26_en.html b/26_en.html new file mode 100644 index 000000000..d90c7c388 --- /dev/null +++ b/26_en.html @@ -0,0 +1,75 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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:

+ +
    +
  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. +
+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/26_es.html b/26_es.html new file mode 100644 index 000000000..536f0fa79 --- /dev/null +++ b/26_es.html @@ -0,0 +1,74 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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:

+ +
    +
  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. +
+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/26_fa.html b/26_fa.html new file mode 100644 index 000000000..9c6f212a9 --- /dev/null +++ b/26_fa.html @@ -0,0 +1,75 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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:

+ +
    +
  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. +
+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/26_fi.html b/26_fi.html new file mode 100644 index 000000000..eb9983ea4 --- /dev/null +++ b/26_fi.html @@ -0,0 +1,75 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

[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:

+ +
    +
  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. +
+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/26_fr.html b/26_fr.html new file mode 100644 index 000000000..35eac2c80 --- /dev/null +++ b/26_fr.html @@ -0,0 +1,77 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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:

+ +
    +
  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. +
+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/26_gr.html b/26_gr.html new file mode 100644 index 000000000..f16d12b60 --- /dev/null +++ b/26_gr.html @@ -0,0 +1,66 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

Δημιουργία δεδομένων στη μνήμη

+

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

+

Αρχικοποιούμε ορίζοντας όλες τις τιμές των πεδίων μέσα.

+

ΌνομαΠεδίου { ... }.

+

Τα πεδία των δομών προσπελαύνονται με τον τελεστή τελείας ..

+

Λεπτομέρειες μνήμης για το παράδειγμά μας:

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

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:

+ +
    +
  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. +
+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/26_id.html b/26_id.html new file mode 100644 index 000000000..0416fc851 --- /dev/null +++ b/26_id.html @@ -0,0 +1,75 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[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:

+ +
    +
  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. +
+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/26_ie.html b/26_ie.html new file mode 100644 index 000000000..b1dda591e --- /dev/null +++ b/26_ie.html @@ -0,0 +1,74 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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:

+ +
    +
  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. +
+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/26_it.html b/26_it.html new file mode 100644 index 000000000..097833182 --- /dev/null +++ b/26_it.html @@ -0,0 +1,69 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

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:

+ +
    +
  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. +
+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/26_ja.html b/26_ja.html new file mode 100644 index 000000000..37bf1aab5 --- /dev/null +++ b/26_ja.html @@ -0,0 +1,71 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

メモリの中でデータを作成する

+

コードの中で 構造体インスタンス化 する際に、プログラムはフィールドデータをメモリ上で隣り合うように作成します。

+

全てのフィールドの値を指定してインスタンス化をする際:

+

構造体名 {...}.

+

構造体のフィールドは演算子 . で取り出すことができます。

+

例に示したコードのメモリ状況について:

+ +
    +
  1. ヒープ に変更可能なメモリを作り、テキストを入れます。
  2. +
  3. 1.で作成した参照アドレスを ヒープ に保存し、それを String に保存します(後の章でまた詳しく紹介します。)。
  4. +
+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/26_ko.html b/26_ko.html new file mode 100644 index 000000000..9dd29901b --- /dev/null +++ b/26_ko.html @@ -0,0 +1,74 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

메모리에 데이터 생성하기

+

코드에서 struct인스턴스화(instantiate) 하면 프로그램은 연관된 field 데이터들을 메모리 상에 나란히 생성합니다.

+

StructName { ... }.

+

와 같이 안에 모든 field 값을 지정함으로써 instantiate 합니다.

+

struct의 field 값들은 . 연산자를 통해 접근합니다.

+

이 예제의 메모리 상세:

+ +
    +
  1. 텍스트가 수정될 수 있도록 heap에 메모리를 생성
  2. +
  3. 해당 메모리 위치에 대한 참조를 heap에 저장하고 이를 String struct에 저장 +(앞으로 강의에서 더 자세히)
  4. +
+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/26_pl.html b/26_pl.html new file mode 100644 index 000000000..1a9ee4ecf --- /dev/null +++ b/26_pl.html @@ -0,0 +1,65 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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:

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

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:

+ +
    +
  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. +
+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/26_ro.html b/26_ro.html new file mode 100644 index 000000000..851c1f56b --- /dev/null +++ b/26_ro.html @@ -0,0 +1,74 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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

+

structurii, dată prin numele său.

+

Câmpurile unei structuri sunt accesate folosind operatorul ..

+

Detalii despre memorie în exemplul nostru:

+ +
    +
  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. +
+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/26_ru.html b/26_ru.html new file mode 100644 index 000000000..977856888 --- /dev/null +++ b/26_ru.html @@ -0,0 +1,74 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Создание структур в памяти

+

Когда мы создаём экземпляр структуры в коде, программа выделяется память для всех полей структуры друг за другом.

+

Мы создаем экземпляр структуры указывая значения всех полей внутри:

+

StructName { ... }

+

Доступ к полям структуры происходит через оператор точку ..

+

Детали для запоминания по примеру:

+ +
    +
  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..9259a766f --- /dev/null +++ b/26_th.html @@ -0,0 +1,74 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

การสร้างข้อมูลในหน่วยความจำ

+

เมื่อเราสร้าง อินสแตนซ์ จาก struct สักตัวในโค้ดของเรา โปรแกรมของเราจะสร้าง ข้อมูลจากโครงสร้างฟิลด์ไว้เคียงข้างกันในหน่วยความจำ

+

เราสร้างอินสแตนซ์จากฟิลด์ทั้งหมดภายใน

+

StructName { ... }.

+

การเข้าถึงฟิลด์ใน Struct ทำได้ด้วยการใช้ตัวดำเนินการ .

+

รายละเอียดหน่วยความจำจากตัวอย่างนี้:

+ +
    +
  1. ไปสร้างหน่วยความจำใน heap สำหรับข้อความที่ต้องการแก้ไข
  2. +
  3. จัดเก็บสิ่งที่จะอ้างถึงหน่วยความจำนั้นไว้ใน heap แล้วค่อยเอาสิ่งนี้ ไปไว้ใน struct ของ String +(มีเพิ่มเติมเรื่องนี้ในบทเรียนต่อๆไป)
  4. +
+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/26_tr.html b/26_tr.html new file mode 100644 index 000000000..478e6457f --- /dev/null +++ b/26_tr.html @@ -0,0 +1,72 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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:

+ +
    +
  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. +
+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/26_ua.html b/26_ua.html new file mode 100644 index 000000000..a3a20a546 --- /dev/null +++ b/26_ua.html @@ -0,0 +1,70 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Створення даних у пам'яті

+

Коли ми інстанціюємо (instantiate) структуру (struct) в нашому коді - програма створює в пам'яті стуктуру з полями, розташованими одне за одним.

+

Інстанціювання структури відбувається за допомогою вказування значень полів:

+

StructName { ... }.

+

Доступ до полів забезпечується оператором ..

+

Деталі роботи за пам'яттю для нашого прикладу:

+ +
    +
  1. Пам'ять буде виділена в кучі (heap), де може бути модифікована.
  2. +
  3. Зберігання посилання на цю область пам'яті в кучі і збереження її в структурі String (рядок). Більше про це в наступних уроках.
  4. +
+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/26_vi.html b/26_vi.html new file mode 100644 index 000000000..4c2865bb9 --- /dev/null +++ b/26_vi.html @@ -0,0 +1,76 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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ụ:

+ +
    +
  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. +
+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/26_zh-cn.html b/26_zh-cn.html new file mode 100644 index 000000000..3073096ad --- /dev/null +++ b/26_zh-cn.html @@ -0,0 +1,67 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

在内存中创建数据

+

当我们在代码中实例化一个结构体时,我们的程序会在内存中并排创建关联的字段数据。

+

当我们通过制定所有字段值的方式来实例化时:

+

结构体名 { ... }.

+

结构体字段可以通过 . 运算符来获取。

+

我们例子的内存详情:

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

在記憶體裡創建資料

+

當我們在程式碼裡實體化 (instantiate) 一個結構 (struct) 時,我們的程式將在記憶體裡產生相鄰的欄位資料。

+

我們透過指定所有欄位數值來實體化

+

StructName { ... }.

+

結構裡的欄位可以透過 . 被存取。

+

以下說明範例的細節:

+ +
    +
  1. (heap) 上產生記憶體給文字使用,而且可以被更改
  2. +
  3. 的記憶體位址存在參考 (reference) 裡,並且儲存在 String 結構裡 (後續章節會更詳細說明)
  4. +
+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/27_de.html b/27_de.html new file mode 100644 index 000000000..0d04961ec --- /dev/null +++ b/27_de.html @@ -0,0 +1,55 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour durch Rust + + Inhaltsverzeichnis +
+
+

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..74243c273 --- /dev/null +++ b/27_en.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..96632439e --- /dev/null +++ b/27_es.html @@ -0,0 +1,55 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..eeaa54032 --- /dev/null +++ b/27_fa.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..d0232ea98 --- /dev/null +++ b/27_fi.html @@ -0,0 +1,55 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

[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..079d8a516 --- /dev/null +++ b/27_fr.html @@ -0,0 +1,55 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..060a92614 --- /dev/null +++ b/27_gr.html @@ -0,0 +1,55 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

Πολλαπλοτητοειδείς δομές

+

Για συντομία στον κώδικα, μπορεί κανείς να ορίσει δομές που χρησιμοποιούνται ως πολλαπλότητες.

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

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..e53376c27 --- /dev/null +++ b/27_id.html @@ -0,0 +1,55 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[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..e0b47ceb4 --- /dev/null +++ b/27_ie.html @@ -0,0 +1,55 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..90cff064d --- /dev/null +++ b/27_it.html @@ -0,0 +1,55 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

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..81b9a56ec --- /dev/null +++ b/27_ja.html @@ -0,0 +1,55 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

タプルライクな構造体

+

Rust ではタプルの様な構造体を利用できます。

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

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..d3e2ddc24 --- /dev/null +++ b/27_pl.html @@ -0,0 +1,55 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..6cabdda7b --- /dev/null +++ b/27_pt-br.html @@ -0,0 +1,55 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..fbf3e6697 --- /dev/null +++ b/27_ro.html @@ -0,0 +1,55 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

Structuri de tip tuplu

+

Pentru a fi conciși, puteți creea 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..1557dad00 --- /dev/null +++ b/27_ru.html @@ -0,0 +1,55 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Кортежи-структуры (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..b9dd485c3 --- /dev/null +++ b/27_th.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..ab5bca906 --- /dev/null +++ b/27_tr.html @@ -0,0 +1,55 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

Ç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..9486c7708 --- /dev/null +++ b/27_ua.html @@ -0,0 +1,55 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Кортежні структури (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..5842581b9 --- /dev/null +++ b/27_vi.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..853257044 --- /dev/null +++ b/27_zh-cn.html @@ -0,0 +1,55 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

类元组结构体

+

简洁起见,你可以创建像元组一样被使用的结构体。

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

數組型結構 (tuple-like)

+

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

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

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..597786dd3 --- /dev/null +++ b/28_en.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..35b415cae --- /dev/null +++ b/28_es.html @@ -0,0 +1,57 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..f42f16974 --- /dev/null +++ b/28_fa.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..7a8a10409 --- /dev/null +++ b/28_fi.html @@ -0,0 +1,57 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

[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..a90afe5dc --- /dev/null +++ b/28_fr.html @@ -0,0 +1,58 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..0099a641e --- /dev/null +++ b/28_gr.html @@ -0,0 +1,57 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

Μοναδοειδείς δομές

+

Οι δομές δεν υποχρεούνται να έχουν καθόλου πεδία.

+

Όπως αναφέρθηκε στο κεφάλαιο 1, μία μονάδα είναι άλλο όνομα για την άδεια πολλαπλότητα (). Γι' αυτό τις ονομάσαμε μοναδοειδείς αυτές τις δομές.

+

Αυτός ο τύπος δομών χρησιμοποιείται σπάνια.

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

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..13d489198 --- /dev/null +++ b/28_id.html @@ -0,0 +1,57 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[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..880a76a08 --- /dev/null +++ b/28_ie.html @@ -0,0 +1,57 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..e3809761e --- /dev/null +++ b/28_it.html @@ -0,0 +1,57 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

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..64daf51ff --- /dev/null +++ b/28_ja.html @@ -0,0 +1,57 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

ユニットライクな構造体

+

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..8820e7c95 --- /dev/null +++ b/28_ko.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

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..deb003105 --- /dev/null +++ b/28_pl.html @@ -0,0 +1,57 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..c30c7ff0c --- /dev/null +++ b/28_pt-br.html @@ -0,0 +1,58 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..57bf14604 --- /dev/null +++ b/28_ro.html @@ -0,0 +1,57 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..ec20d776b --- /dev/null +++ b/28_ru.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Юнит-структуры (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..30ca9a682 --- /dev/null +++ b/28_th.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..9787c79a6 --- /dev/null +++ b/28_tr.html @@ -0,0 +1,57 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..99bb9bdd9 --- /dev/null +++ b/28_ua.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Юніт-структури (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..059d27e33 --- /dev/null +++ b/28_vi.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..0798232a8 --- /dev/null +++ b/28_zh-cn.html @@ -0,0 +1,57 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

类单元结构体

+

结构体也可以没有任何字段。

+

就像第一章提到的,一个 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..bce71c53a --- /dev/null +++ b/28_zh-tw.html @@ -0,0 +1,57 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

單組型結構 (unit-like)

+

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

+

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

+

這類型的結構甚少使用。

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

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..7aec62878 --- /dev/null +++ b/29_en.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..2073a7253 --- /dev/null +++ b/29_es.html @@ -0,0 +1,58 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..c6c148374 --- /dev/null +++ b/29_fa.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..c31c5bdbb --- /dev/null +++ b/29_fi.html @@ -0,0 +1,56 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

[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..d49076e2c --- /dev/null +++ b/29_fr.html @@ -0,0 +1,59 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..0266bb386 --- /dev/null +++ b/29_gr.html @@ -0,0 +1,56 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

Απαριθμήσεις

+

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

+

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

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

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..23382903d --- /dev/null +++ b/29_id.html @@ -0,0 +1,56 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[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..3737dc42f --- /dev/null +++ b/29_ie.html @@ -0,0 +1,58 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..717616d4f --- /dev/null +++ b/29_it.html @@ -0,0 +1,56 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

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..82aa6cdd9 --- /dev/null +++ b/29_ja.html @@ -0,0 +1,56 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

列挙型

+

列挙型はキーワード enum で新しい型を生成することができ、この型はいくつかのタグ付された値を持つことができます。

+

match は保有する全ての列挙値を処理する手助けすることができ、コードの品質を維持することもできます。

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

열거형

+

열거형(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..1849a59dc --- /dev/null +++ b/29_pl.html @@ -0,0 +1,56 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..b82dc5d10 --- /dev/null +++ b/29_pt-br.html @@ -0,0 +1,56 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..afedb07c2 --- /dev/null +++ b/29_ro.html @@ -0,0 +1,56 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..e52e1b0bb --- /dev/null +++ b/29_ru.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Перечисления (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..841addd92 --- /dev/null +++ b/29_th.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..06ed7c643 --- /dev/null +++ b/29_tr.html @@ -0,0 +1,56 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..69fd07e14 --- /dev/null +++ b/29_ua.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Переліки (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..98496ea58 --- /dev/null +++ b/29_vi.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..28207640a --- /dev/null +++ b/29_zh-cn.html @@ -0,0 +1,56 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

枚举

+

枚举允许你使用 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..8187c1074 --- /dev/null +++ b/29_zh-tw.html @@ -0,0 +1,56 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

列舉 (enumerations)

+

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

+

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

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

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:

+ +

Mehr Details!

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

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:

+ +

Other details:

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

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:

+ +

Otros detalles:

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

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:

+ +

Other details:

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

[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:

+ +

Other details:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/30_fr.html b/30_fr.html new file mode 100644 index 000000000..b4ab65271 --- /dev/null +++ b/30_fr.html @@ -0,0 +1,71 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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:

+ +

Autres détails:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/30_gr.html b/30_gr.html new file mode 100644 index 000000000..e08c50f2b --- /dev/null +++ b/30_gr.html @@ -0,0 +1,66 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

Απαριθμήσεις με δεδομένα

+

Τα στοιχία ενός enum μπορούν να «κουβαλάνε» έναν ή περισσότερους τύπους δεδομένων, επιτρέποντάς τους να συμπεριφέρονται όπως τα union στη C.

+

Όταν ένα enum «ταιριάζεται» με τη χρήση του match, μπορούμε να προσδέσουμε ένα όνομα μεταβλητής σε κάθε τιμή δεδομένων.

+

Λεπτομέρειες μνήμης των enum:

+ +

Άλλες λεπτομέρειες:

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

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:

+ +

Egyéb megjegyzések:

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

[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:

+ +

Other details:

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

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:

+ +

Altri detallies:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/30_it.html b/30_it.html new file mode 100644 index 000000000..6cd2670f4 --- /dev/null +++ b/30_it.html @@ -0,0 +1,66 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

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:

+ +

Altri dettagli:

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

データを持つ列挙型

+

enum は一個もしくは複数な型のデータを持つことができ、C言語の union の様な表現ができます。

+

match を用いて列挙値に対するパターンマッチングを行う際、各データを変数名に束縛することができます。

+

列挙 のメモリ事情:

+ +

その他の事情:

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

열거형과 데이터

+

enum의 원소들은 C의 union처럼 동작할 수 있도록 한 개 이상의 자료형을 가질 수 있습니다.

+

enummatch를 통해 패턴 일치될 때, 각각의 데이터 값에 변수명을 붙일 수 있습니다.

+

enum의 메모리 상세:

+ +

다른 상세 정보:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/30_pl.html b/30_pl.html new file mode 100644 index 000000000..2607bcccc --- /dev/null +++ b/30_pl.html @@ -0,0 +1,66 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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:

+ +

Dodatkowo:

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

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:

+ +

Outros detalhes:

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

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:

+ +

Alte detalii:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/30_ru.html b/30_ru.html new file mode 100644 index 000000000..6496a78b8 --- /dev/null +++ b/30_ru.html @@ -0,0 +1,66 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Перечисления с данными

+

Элементы enum также могут иметь один и больше типов данных, позволяя им вести себя как union из языка Cи.

+

Когда enum сопоставляется с серией шаблонов используя match (или матчится, англ. is pattern matched), вы можете связать имя переменной с каждым значением или полем структуры.

+

Детали для запоминания по enum:

+ +

Еще немного информации:

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

Enumerations With Data

+

ในองค์ประกอบ enum ยังอนุญาตให้สามารถมีประเภทข้อมูล ได้อย่างน้อยหนึ่งชนิดอีกด้วย ซึ่งจะมีพฤติกรรมคล้ายกับ union ในภาษาซี

+

เมื่อใช้ match มาจับคู่ของใน enum คุณสามารถผูกชื่อตัวแปรให้แต่ละค่านั้นได้เลย

+

รายละเอียดหน่วยความจำของ enum:

+ +

รายละเอียดอื่นๆ:

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

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ı:

+ +

Ek olarak:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/30_ua.html b/30_ua.html new file mode 100644 index 000000000..a34f3079a --- /dev/null +++ b/30_ua.html @@ -0,0 +1,67 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Переліки з даними

+

Елементи enum можуть мати один або більше типів даних, тобто мають ту ж саму поведінку, що й union з мови С. +Коли enum ставиться у відповідність за допомогою match, можна прив'язати змінну до кожного значення даних. +Деталі збереження переліків в пам'яті:

+ +

Інші деталі:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/30_vi.html b/30_vi.html new file mode 100644 index 000000000..f5d75f951 --- /dev/null +++ b/30_vi.html @@ -0,0 +1,66 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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:

+ +

Những chi tiết khác:

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

带数据的枚举

+

enum 的元素可以有一个或多个数据类型,从而使其表现得像 C 语言中的联合

+

当使用 match 对一个 enum 进行模式匹配时,可以将变量名称绑定到每个数据值。

+

enum 的内存细节:

+ +

其他细节:

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

列舉與資料

+

enum 元素可以有一個或多個資料型別,這使得它們就像 C 語言裡的 union 一樣。

+

當一個 enummatch 匹配到時,你可以將一個變量名綁定到每一個資料數值。

+

enum 的記憶體詳細說明:

+ +

其他細節:

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

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..986565217 --- /dev/null +++ b/31_en.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..b7240b26f --- /dev/null +++ b/31_es.html @@ -0,0 +1,56 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..16d75c267 --- /dev/null +++ b/31_fa.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..02a58a798 --- /dev/null +++ b/31_fi.html @@ -0,0 +1,55 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

[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..9d9a0c5f0 --- /dev/null +++ b/31_fr.html @@ -0,0 +1,56 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..bd304f2d9 --- /dev/null +++ b/31_gr.html @@ -0,0 +1,53 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

Κεφάλαιο 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..08f26712d --- /dev/null +++ b/31_hu.html @@ -0,0 +1,57 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..87c9143dc --- /dev/null +++ b/31_id.html @@ -0,0 +1,55 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[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..e61deb4e9 --- /dev/null +++ b/31_ie.html @@ -0,0 +1,56 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..d89c7a154 --- /dev/null +++ b/31_it.html @@ -0,0 +1,53 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

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..b227804dc --- /dev/null +++ b/31_ja.html @@ -0,0 +1,54 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

第 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..96187bcf4 --- /dev/null +++ b/31_ko.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

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..e08b71513 --- /dev/null +++ b/31_pl.html @@ -0,0 +1,55 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..6f56e014c --- /dev/null +++ b/31_pt-br.html @@ -0,0 +1,54 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..cb7760b12 --- /dev/null +++ b/31_ro.html @@ -0,0 +1,55 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..1024ad9cc --- /dev/null +++ b/31_ru.html @@ -0,0 +1,54 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Глава 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..a329e2cc3 --- /dev/null +++ b/31_th.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

บทที่ 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..5b64a0f0b --- /dev/null +++ b/31_tr.html @@ -0,0 +1,54 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..c864ab340 --- /dev/null +++ b/31_ua.html @@ -0,0 +1,54 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Розділ 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..9422b230f --- /dev/null +++ b/31_vi.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..baac24f8e --- /dev/null +++ b/31_zh-cn.html @@ -0,0 +1,55 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

第三章 - 总结

+

太好了!现在我们有了一些用代码来展示我们想法最基本的工具。 +希望现在我们能看到 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..8a0ed2c3d --- /dev/null +++ b/31_zh-tw.html @@ -0,0 +1,53 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

第三章 - 總結

+

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

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/33_de.html b/33_de.html new file mode 100644 index 000000000..5af6845dc --- /dev/null +++ b/33_de.html @@ -0,0 +1,59 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour durch Rust + + Inhaltsverzeichnis +
+
+

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..927ff8cd3 --- /dev/null +++ b/33_en.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..ed6d3a193 --- /dev/null +++ b/33_es.html @@ -0,0 +1,59 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

¿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..fefcb2e6c --- /dev/null +++ b/33_fa.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..6df550cdd --- /dev/null +++ b/33_fi.html @@ -0,0 +1,58 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

[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..c090c2571 --- /dev/null +++ b/33_fr.html @@ -0,0 +1,59 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..fa5f9142f --- /dev/null +++ b/33_gr.html @@ -0,0 +1,56 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

Τι είναι οι γενικοί τύποι;

+

Οι γενικοί τύποι μας επιτρέπουν να ορίσουμε τμηματικά μία δομή ή μία απαρίθμηση (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..4c74290b4 --- /dev/null +++ b/33_hu.html @@ -0,0 +1,59 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..faa86c9fd --- /dev/null +++ b/33_id.html @@ -0,0 +1,58 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[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..02f2038bd --- /dev/null +++ b/33_ie.html @@ -0,0 +1,59 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..4c427d0be --- /dev/null +++ b/33_it.html @@ -0,0 +1,56 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

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..7b23af28d --- /dev/null +++ b/33_ja.html @@ -0,0 +1,59 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

ジェネリック型とは?

+

ジェネリック型は 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..2d80e5988 --- /dev/null +++ b/33_ko.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

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..7d199a52d --- /dev/null +++ b/33_pl.html @@ -0,0 +1,56 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..3a7f69073 --- /dev/null +++ b/33_pt-br.html @@ -0,0 +1,56 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..76a5eab7b --- /dev/null +++ b/33_ro.html @@ -0,0 +1,58 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..1b515e346 --- /dev/null +++ b/33_ru.html @@ -0,0 +1,58 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Что такое обобщённые типы (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..98137425c --- /dev/null +++ b/33_th.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..df707a80d --- /dev/null +++ b/33_tr.html @@ -0,0 +1,56 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..357de5450 --- /dev/null +++ b/33_ua.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Що таке узагальнені типи (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..0421f7a68 --- /dev/null +++ b/33_vi.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..ad7ecdbf6 --- /dev/null +++ b/33_zh-cn.html @@ -0,0 +1,57 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

泛型是什么?

+

泛型允许我们不完全定义一个 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..08465e5e7 --- /dev/null +++ b/33_zh-tw.html @@ -0,0 +1,56 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

什麼是泛型?

+

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

+

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

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

[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..977a84561 --- /dev/null +++ b/34_en.html @@ -0,0 +1,61 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..6e1c7b0b3 --- /dev/null +++ b/34_es.html @@ -0,0 +1,61 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..78d0f1585 --- /dev/null +++ b/34_fa.html @@ -0,0 +1,61 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..d5c50d1d0 --- /dev/null +++ b/34_fi.html @@ -0,0 +1,61 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

[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..984957a66 --- /dev/null +++ b/34_fr.html @@ -0,0 +1,62 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..e26c31844 --- /dev/null +++ b/34_gr.html @@ -0,0 +1,58 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

Αναπαράσταση του τίποτε

+

Σε άλλες γλώσσες, η λέξη κλειδί 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..e5129e557 --- /dev/null +++ b/34_hu.html @@ -0,0 +1,64 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..019475527 --- /dev/null +++ b/34_id.html @@ -0,0 +1,61 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[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..608dbe124 --- /dev/null +++ b/34_ie.html @@ -0,0 +1,61 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..2cea8a625 --- /dev/null +++ b/34_it.html @@ -0,0 +1,60 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

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..715d18b7a --- /dev/null +++ b/34_ja.html @@ -0,0 +1,60 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

値がないことの表現

+

他の言語では、値が存在しないことを表すためにキーワード 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..99e249f12 --- /dev/null +++ b/34_ko.html @@ -0,0 +1,61 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

아무 것도 없는 것을 표현하기

+

다른 언어에서 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..e500b4e37 --- /dev/null +++ b/34_pl.html @@ -0,0 +1,59 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..98693f9a4 --- /dev/null +++ b/34_pt-br.html @@ -0,0 +1,57 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..6dc945595 --- /dev/null +++ b/34_ro.html @@ -0,0 +1,61 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..53bb549a5 --- /dev/null +++ b/34_ru.html @@ -0,0 +1,61 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Представление отсутствия значения (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..b7d26bdd8 --- /dev/null +++ b/34_th.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

ตัวแทนของความว่างเปล่า

+

ในภาษาโปรแกรมมิ่งอื่นจะใช้คีย์เวิร์ด 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..032c1ae3b --- /dev/null +++ b/34_tr.html @@ -0,0 +1,57 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..205bab786 --- /dev/null +++ b/34_ua.html @@ -0,0 +1,58 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Представлення відсутності значення

+

В інших мовах ключове слово 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..076ed7329 --- /dev/null +++ b/34_vi.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

Đạ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..70b53fc50 --- /dev/null +++ b/34_zh-cn.html @@ -0,0 +1,58 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

表示空

+

在其他语言中,关键字 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..fa5c504d7 --- /dev/null +++ b/34_zh-tw.html @@ -0,0 +1,57 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

空值表示

+

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

+

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

+

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

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

[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..48379c376 --- /dev/null +++ b/35_en.html @@ -0,0 +1,62 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..5aa950539 --- /dev/null +++ b/35_es.html @@ -0,0 +1,63 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..a06cd2645 --- /dev/null +++ b/35_fa.html @@ -0,0 +1,62 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..c3e741d10 --- /dev/null +++ b/35_fi.html @@ -0,0 +1,62 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

[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..3336dd7b4 --- /dev/null +++ b/35_fr.html @@ -0,0 +1,62 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..c00e72c4b --- /dev/null +++ b/35_gr.html @@ -0,0 +1,61 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

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..44c78f9e6 --- /dev/null +++ b/35_hu.html @@ -0,0 +1,63 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..87220aa74 --- /dev/null +++ b/35_id.html @@ -0,0 +1,62 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[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..fd989a556 --- /dev/null +++ b/35_ie.html @@ -0,0 +1,62 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..dff7db9e2 --- /dev/null +++ b/35_it.html @@ -0,0 +1,61 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

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..947873a9f --- /dev/null +++ b/35_ja.html @@ -0,0 +1,61 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

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..916886679 --- /dev/null +++ b/35_ko.html @@ -0,0 +1,62 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

옵션

+

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..6b9387fb1 --- /dev/null +++ b/35_pl.html @@ -0,0 +1,61 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..a01d39c39 --- /dev/null +++ b/35_pt-br.html @@ -0,0 +1,61 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..12d399390 --- /dev/null +++ b/35_ro.html @@ -0,0 +1,62 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..8d4710719 --- /dev/null +++ b/35_ru.html @@ -0,0 +1,63 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Тип 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..823487610 --- /dev/null +++ b/35_th.html @@ -0,0 +1,61 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..4a21d32f6 --- /dev/null +++ b/35_tr.html @@ -0,0 +1,60 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..deaf6f3a4 --- /dev/null +++ b/35_ua.html @@ -0,0 +1,61 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Тип 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..57929dc8c --- /dev/null +++ b/35_vi.html @@ -0,0 +1,61 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..d17a2b15f --- /dev/null +++ b/35_zh-cn.html @@ -0,0 +1,61 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

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..dc86af903 --- /dev/null +++ b/35_zh-tw.html @@ -0,0 +1,61 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

選項 (option)

+

Rust 有一個內建的泛型列舉 (generic enum) 稱作 Option,它允許我們表示空值而卻不使用 null

+
enum Option<T> {
+    None,
+    Some(T),
+}
+
+

這種列舉非常常見,它可以在任何地方透過 SomeNone 來產生。

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

[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..0fc970409 --- /dev/null +++ b/36_en.html @@ -0,0 +1,63 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..1c563d976 --- /dev/null +++ b/36_es.html @@ -0,0 +1,65 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..43bbcfd26 --- /dev/null +++ b/36_fa.html @@ -0,0 +1,63 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..ad8f153ef --- /dev/null +++ b/36_fi.html @@ -0,0 +1,63 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

[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..9606d7b91 --- /dev/null +++ b/36_fr.html @@ -0,0 +1,63 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..1a0df972b --- /dev/null +++ b/36_gr.html @@ -0,0 +1,62 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

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..066363ca0 --- /dev/null +++ b/36_hu.html @@ -0,0 +1,67 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..a85e73804 --- /dev/null +++ b/36_id.html @@ -0,0 +1,63 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[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..a7cf6392d --- /dev/null +++ b/36_ie.html @@ -0,0 +1,63 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..d61877d1e --- /dev/null +++ b/36_it.html @@ -0,0 +1,63 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

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..ad5519aa2 --- /dev/null +++ b/36_ja.html @@ -0,0 +1,63 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

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..ed592a8d5 --- /dev/null +++ b/36_ko.html @@ -0,0 +1,63 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

결과

+

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..92fd7f7c8 --- /dev/null +++ b/36_pl.html @@ -0,0 +1,63 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..ec655923a --- /dev/null +++ b/36_pt-br.html @@ -0,0 +1,63 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..e33950545 --- /dev/null +++ b/36_ro.html @@ -0,0 +1,63 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..9c7fc8f7d --- /dev/null +++ b/36_ru.html @@ -0,0 +1,64 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Тип 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..d6c925449 --- /dev/null +++ b/36_th.html @@ -0,0 +1,62 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..6b18e06e6 --- /dev/null +++ b/36_tr.html @@ -0,0 +1,61 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..403bf40be --- /dev/null +++ b/36_ua.html @@ -0,0 +1,62 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Тип 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..55bc73054 --- /dev/null +++ b/36_vi.html @@ -0,0 +1,62 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..39d1f85c3 --- /dev/null +++ b/36_zh-cn.html @@ -0,0 +1,63 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

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..14e021d9b --- /dev/null +++ b/36_zh-tw.html @@ -0,0 +1,62 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

結果 (result)

+

Rust 有一個內建的泛型列舉稱作 Result,它允許我們回傳一個可能會失敗的數值。 這是處理錯誤的慣用手法。

+
enum Result<T, E> {
+    Ok(T),
+    Err(E),
+}
+
+

要注意我們的泛型型別有多個參數化型別,它們被逗號隔開。

+

這個列舉非常常見,它可以在任何地方透過 OkErr 來產生。

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

[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..01195548d --- /dev/null +++ b/37_en.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..3f693e3fb --- /dev/null +++ b/37_es.html @@ -0,0 +1,55 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..7138a9817 --- /dev/null +++ b/37_fa.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..77478263c --- /dev/null +++ b/37_fi.html @@ -0,0 +1,55 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

[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..ba231b54c --- /dev/null +++ b/37_fr.html @@ -0,0 +1,55 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..64536f032 --- /dev/null +++ b/37_gr.html @@ -0,0 +1,55 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

Ενδεχομένως εσφαλμένη 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..a38026c5b --- /dev/null +++ b/37_hu.html @@ -0,0 +1,55 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..ca6e1069d --- /dev/null +++ b/37_id.html @@ -0,0 +1,55 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[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..0303fa086 --- /dev/null +++ b/37_ie.html @@ -0,0 +1,55 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..a6c9adf4a --- /dev/null +++ b/37_it.html @@ -0,0 +1,55 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

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..d30e54467 --- /dev/null +++ b/37_ja.html @@ -0,0 +1,55 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

失敗するかもしれない main

+

mainResult を返すことができます。

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

실패할 수 있는 메인

+

mainResult를 리턴할 수 있다!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/37_pl.html b/37_pl.html new file mode 100644 index 000000000..18a357b87 --- /dev/null +++ b/37_pl.html @@ -0,0 +1,55 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..078b42b3c --- /dev/null +++ b/37_pt-br.html @@ -0,0 +1,55 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..62c165115 --- /dev/null +++ b/37_ro.html @@ -0,0 +1,55 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..c359f3487 --- /dev/null +++ b/37_ru.html @@ -0,0 +1,55 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Возврат результата в 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..2f56c2f14 --- /dev/null +++ b/37_th.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..87391e8a2 --- /dev/null +++ b/37_tr.html @@ -0,0 +1,55 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..fd8cf9299 --- /dev/null +++ b/37_ua.html @@ -0,0 +1,55 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Повернення результату з 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..859795f3d --- /dev/null +++ b/37_vi.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..6cd216b30 --- /dev/null +++ b/37_zh-cn.html @@ -0,0 +1,55 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

可失败的主函数

+

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..f637332f0 --- /dev/null +++ b/37_zh-tw.html @@ -0,0 +1,55 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

失敗的主函式 (failable main)

+

main 有能力回傳一個 Result

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

[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..68718204f --- /dev/null +++ b/38_en.html @@ -0,0 +1,62 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..aa340408a --- /dev/null +++ b/38_es.html @@ -0,0 +1,63 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..3f3b1f969 --- /dev/null +++ b/38_fa.html @@ -0,0 +1,62 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..6fadc5c03 --- /dev/null +++ b/38_fi.html @@ -0,0 +1,62 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

[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..b23ec39e5 --- /dev/null +++ b/38_fr.html @@ -0,0 +1,62 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..1f3e25ff4 --- /dev/null +++ b/38_gr.html @@ -0,0 +1,63 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

Κομψός χειρισμός σφαλμάτων

+

Οι ενδεχομένως εσφαλμένοι τύποι δεδομένων 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..6fb07001c --- /dev/null +++ b/38_hu.html @@ -0,0 +1,63 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..6187f32c3 --- /dev/null +++ b/38_id.html @@ -0,0 +1,62 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[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..c8e0789ca --- /dev/null +++ b/38_ie.html @@ -0,0 +1,62 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..ab3498bf7 --- /dev/null +++ b/38_it.html @@ -0,0 +1,62 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

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..a45a91069 --- /dev/null +++ b/38_ja.html @@ -0,0 +1,63 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

簡潔なエラー処理

+

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..f73f04453 --- /dev/null +++ b/38_ko.html @@ -0,0 +1,62 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

우아한 오류 처리

+

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..7136213a6 --- /dev/null +++ b/38_pl.html @@ -0,0 +1,62 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..6703ce1b5 --- /dev/null +++ b/38_pt-br.html @@ -0,0 +1,62 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..742740e6a --- /dev/null +++ b/38_ro.html @@ -0,0 +1,62 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..24d848db0 --- /dev/null +++ b/38_ru.html @@ -0,0 +1,62 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Элегантная обработка ошибок

+

Тип 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..b4130fae4 --- /dev/null +++ b/38_th.html @@ -0,0 +1,62 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

การจัดการ 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..45d131fb4 --- /dev/null +++ b/38_tr.html @@ -0,0 +1,60 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..5a736e3d4 --- /dev/null +++ b/38_ua.html @@ -0,0 +1,62 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Елегантна обробка помилок

+

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..48de95f13 --- /dev/null +++ b/38_vi.html @@ -0,0 +1,62 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..63a389540 --- /dev/null +++ b/38_zh-cn.html @@ -0,0 +1,63 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

优雅地错误处理

+

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..7f54ab2e7 --- /dev/null +++ b/38_zh-tw.html @@ -0,0 +1,62 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

優雅的錯誤處理

+

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_de.html b/39_de.html new file mode 100644 index 000000000..ea657a1e8 --- /dev/null +++ b/39_de.html @@ -0,0 +1,77 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour durch Rust + + Inhaltsverzeichnis +
+
+

[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..7ee8b60e7 --- /dev/null +++ b/39_en.html @@ -0,0 +1,77 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..0f3778f90 --- /dev/null +++ b/39_es.html @@ -0,0 +1,78 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..ff28998fa --- /dev/null +++ b/39_fa.html @@ -0,0 +1,77 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..cebefd08b --- /dev/null +++ b/39_fi.html @@ -0,0 +1,77 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

[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..a9663ee31 --- /dev/null +++ b/39_fr.html @@ -0,0 +1,80 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..97a960c3a --- /dev/null +++ b/39_gr.html @@ -0,0 +1,76 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

Τσαπατσούλικος χειρισμός των `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..ec39e68a7 --- /dev/null +++ b/39_hu.html @@ -0,0 +1,80 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..655e8c0c1 --- /dev/null +++ b/39_id.html @@ -0,0 +1,77 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[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..41163b4c0 --- /dev/null +++ b/39_ie.html @@ -0,0 +1,77 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..f3acdf932 --- /dev/null +++ b/39_it.html @@ -0,0 +1,77 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

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..4fd3ff6b4 --- /dev/null +++ b/39_ja.html @@ -0,0 +1,78 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

やっつけな 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..631408fae --- /dev/null +++ b/39_ko.html @@ -0,0 +1,77 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

추한 옵션/결과 처리

+

간단한 코드를 짤 때에도 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..499c3fa80 --- /dev/null +++ b/39_pl.html @@ -0,0 +1,74 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..27cba01bd --- /dev/null +++ b/39_pt-br.html @@ -0,0 +1,76 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..819502346 --- /dev/null +++ b/39_ro.html @@ -0,0 +1,77 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..7e9a03e82 --- /dev/null +++ b/39_ru.html @@ -0,0 +1,77 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Грязная обработка 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..dc09dd785 --- /dev/null +++ b/39_th.html @@ -0,0 +1,76 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

การจัดการ 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..15c969831 --- /dev/null +++ b/39_tr.html @@ -0,0 +1,77 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..2ce0a2ca0 --- /dev/null +++ b/39_ua.html @@ -0,0 +1,76 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Брудна обробка 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..6636dc46a --- /dev/null +++ b/39_vi.html @@ -0,0 +1,76 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..6362e1f62 --- /dev/null +++ b/39_zh-cn.html @@ -0,0 +1,78 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

丑陋的 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..a2975cbaa --- /dev/null +++ b/39_zh-tw.html @@ -0,0 +1,76 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

醜陋的選項 (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_de.html b/40_de.html new file mode 100644 index 000000000..ad80c6fba --- /dev/null +++ b/40_de.html @@ -0,0 +1,65 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour durch Rust + + Inhaltsverzeichnis +
+
+

[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:

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

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:

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

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:

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

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:

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

[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:

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

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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/40_gr.html b/40_gr.html new file mode 100644 index 000000000..610a926b6 --- /dev/null +++ b/40_gr.html @@ -0,0 +1,62 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

Ανύσματα (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..ad9dc1950 --- /dev/null +++ b/40_hu.html @@ -0,0 +1,68 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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:

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

[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:

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

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:

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

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:

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

ベクタ型

+

最も有用なジェネリック型のいくつかはコレクション型です。 +ベクタは構造体 Vec で表される可変サイズのリストです。

+

マクロ vec! を使えば、手動で構築するよりも簡単にベクタを生成できます。

+

Vec にはメソッド iter() があります。 +これによってベクタからイテレータを生成すれば、ベクタを簡単に for ループに入れることができます。

+

メモリに関する詳細:

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

벡터

+

가장 유용한 generic 자료형들 중 하나가 collection 자료형입니다. +vector는 Vec struct로 표현되는 가변 크기의 리스트입니다.

+

vec! macro는 vector를 수동으로 일일이 만드는 대신, 손쉽게 생성할 수 있게 해줍니다.

+

Vec는 vector를 for 반복문에 손쉽게 넣을 수 있도록 +vector로부터 반복자를 생성할 수 있는 iter() 메소드를 갖고 있습니다.

+

메모리 상세:

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

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:

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

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:

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

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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/40_ru.html b/40_ru.html new file mode 100644 index 000000000..cb44002b1 --- /dev/null +++ b/40_ru.html @@ -0,0 +1,62 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Векторы

+

Одни из самых полезных обобщённых типов - это коллекции. Структура Vec - это динамически изменяемый список.

+

Макрос vec! позволяет удобно создавать векторы, перечисляя его элементы.

+

Vec имеет метод iter(), который создаёт итератор по элементам вектора, позволяя легко использовать вектор в цикле for.

+

Детали для запоминания:

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

Vectors

+

generic type ที่มีประโยชน์ที่สุดประเภทหนึ่งคือพวกที่เป็นคอลเล็คชัน vector คือหนึ่งในนั้น มันเป็นลิสต์ที่มีขนาดแปรผันได้ มาในรูปของ struct Vec

+

มาโคร vec! ใช้สร้าง vector แบบง่ายๆ แทนที่จะไปสร้างเองด้วยมือ

+

Vec มาพร้อมเมธอด iter() ใช้สร้างตัววนซ้ำเวลาเอาไปใส่ใน for ลูป

+

รายละเอียดหน่วยความจำ:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/40_tr.html b/40_tr.html new file mode 100644 index 000000000..09a70f0ce --- /dev/null +++ b/40_tr.html @@ -0,0 +1,62 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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ı:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/40_ua.html b/40_ua.html new file mode 100644 index 000000000..7f0cc111d --- /dev/null +++ b/40_ua.html @@ -0,0 +1,62 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Вектори

+

Одні з найбільш корисних узагальнених типів - колекції. Вектор - це список елементів змінної довжини, представлений структурою Vec. +Вектор краще створювати за допомогою макросу vec!, аніж вручну.

+

Vec має метод iter(), котрий створює ітератор на базі вектора і дозволяє використовувати вектор в циклі for.

+

Деталі роботи за памяттю:

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

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ớ:

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

Vectors

+

一些经常使用的泛型是集合类型。一个 vector 是可变长度的元素集合,以 Vec 结构表示。

+

比起手动构建,宏 vec! 让我们可以轻松地创建 vector。

+

Vec 有一个形如 iter() 的方法可以为一个 vector 创建迭代器,这允许我们可以轻松地将 vector 用到 for 循环中去。

+

内存细节:

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

向量 (vectors)

+

一些非常有用的泛型型別即是集合型別。一個向量是一個可變長度的物品清單 (list),用結構 (struct) Vec 來表示。

+

巨集 vec! 讓我們可以簡單的產生向量,而不用手動建立。

+

Vec 有個方法叫 iter(),它可以產生一個向量迭代器,讓我們可以簡單的把一個向量放到 for 迴圈裡。

+

記憶體細節:

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

[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..f720d9db0 --- /dev/null +++ b/41_en.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..6b4e8a7f2 --- /dev/null +++ b/41_es.html @@ -0,0 +1,56 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..cae7717fd --- /dev/null +++ b/41_fa.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..d2b276840 --- /dev/null +++ b/41_fi.html @@ -0,0 +1,56 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

[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..573280768 --- /dev/null +++ b/41_fr.html @@ -0,0 +1,57 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..20d8f462f --- /dev/null +++ b/41_gr.html @@ -0,0 +1,53 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

Κεφάλαιο 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..b8b90a410 --- /dev/null +++ b/41_hu.html @@ -0,0 +1,56 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..691380235 --- /dev/null +++ b/41_id.html @@ -0,0 +1,56 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[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..ff1b470fb --- /dev/null +++ b/41_ie.html @@ -0,0 +1,57 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..d983dd31f --- /dev/null +++ b/41_it.html @@ -0,0 +1,56 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

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..81b896a2c --- /dev/null +++ b/41_ja.html @@ -0,0 +1,57 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

第 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..50fdb4876 --- /dev/null +++ b/41_ko.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

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..55d4d28aa --- /dev/null +++ b/41_pl.html @@ -0,0 +1,55 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..406c14038 --- /dev/null +++ b/41_pt-br.html @@ -0,0 +1,53 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..3a91b4d1d --- /dev/null +++ b/41_ro.html @@ -0,0 +1,56 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..7a8d95cca --- /dev/null +++ b/41_ru.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Глава 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..be485ae9c --- /dev/null +++ b/41_th.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

บทที่ 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..8a66c6199 --- /dev/null +++ b/41_tr.html @@ -0,0 +1,53 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..33028dbc2 --- /dev/null +++ b/41_ua.html @@ -0,0 +1,54 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Розділ 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..229efb44e --- /dev/null +++ b/41_vi.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..c1bc534b4 --- /dev/null +++ b/41_zh-cn.html @@ -0,0 +1,55 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

第四章 - 总结

+

在这一章中,我们了解了泛型给我们带来的强大功能!如果你还不完全知道该如何使用这一切, +别担心,仅仅是了解这些将会在代码中反复出现的中心思想就足够了。我们的功能在日趋强大! +在下一章中,我们将讨论 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..84d5bf3ef --- /dev/null +++ b/41_zh-tw.html @@ -0,0 +1,54 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

第四章 - 總結

+

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

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

[Noch nicht übersetzt] 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_en.html b/43_en.html new file mode 100644 index 000000000..b8a734cf1 --- /dev/null +++ b/43_en.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..d7fda0ba7 --- /dev/null +++ b/43_es.html @@ -0,0 +1,55 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..db7981140 --- /dev/null +++ b/43_fa.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..e61f0454c --- /dev/null +++ b/43_fi.html @@ -0,0 +1,56 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

[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..e6588dc30 --- /dev/null +++ b/43_fr.html @@ -0,0 +1,57 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..50159049b --- /dev/null +++ b/43_gr.html @@ -0,0 +1,55 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

Κυριότητα

+

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

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

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..d325323ff --- /dev/null +++ b/43_id.html @@ -0,0 +1,56 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[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..bfa6bd1a3 --- /dev/null +++ b/43_ie.html @@ -0,0 +1,56 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..52d864bea --- /dev/null +++ b/43_it.html @@ -0,0 +1,56 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

[Non tradotto] 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_ja.html b/43_ja.html new file mode 100644 index 000000000..20d3190a8 --- /dev/null +++ b/43_ja.html @@ -0,0 +1,56 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

所有権

+

型のインスタンスを作成して変数に束縛するとメモリリソースが作成され、そのすべてのライフタイムに渡って Rust コンパイラが検証します。 +束縛された変数はリソースの所有者と呼ばれます。

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

소유권

+

자료형을 인스턴스화 하여 변수명에 할당(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..77fbbf8b5 --- /dev/null +++ b/43_pl.html @@ -0,0 +1,56 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..988c4f468 --- /dev/null +++ b/43_pt-br.html @@ -0,0 +1,55 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..29e29456e --- /dev/null +++ b/43_ro.html @@ -0,0 +1,56 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..124e67345 --- /dev/null +++ b/43_ru.html @@ -0,0 +1,55 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Владение (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..bd71747e6 --- /dev/null +++ b/43_th.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

ความเป็นเจ้าของ

+

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

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

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..5e1dbb331 --- /dev/null +++ b/43_ua.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Володіння

+

Створення екземпляру типу та зв'язування його з іменем змінної створює ресурс пам'яті ресурс пам'яті, який компілятор Rust буде перевіряти +протягом усього його життя. Прив'язана змінна називається власником ресурсу, тобто вона володіє ним.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/43_vi.html b/43_vi.html new file mode 100644 index 000000000..e73c8c672 --- /dev/null +++ b/43_vi.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..e711cd058 --- /dev/null +++ b/43_zh-cn.html @@ -0,0 +1,55 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

所有权

+

实例化一个类型并且将其绑定到变量名上将会创建一些内存资源,而这些内存资源将会在其整个生命周期中被 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..8dda40a61 --- /dev/null +++ b/43_zh-tw.html @@ -0,0 +1,55 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

擁有權 (ownership)

+

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

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

[Noch nicht übersetzt] 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:

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

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:

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

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:

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

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:

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

[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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/44_fr.html b/44_fr.html new file mode 100644 index 000000000..c8bb7e553 --- /dev/null +++ b/44_fr.html @@ -0,0 +1,62 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/44_gr.html b/44_gr.html new file mode 100644 index 000000000..72f110f0c --- /dev/null +++ b/44_gr.html @@ -0,0 +1,60 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

Διαχείριση πόρων βάσει ορατότητας

+

Η Rust χρησιμοποιεί το τέλος μίας ορατότητας ως το μέρος όπου αποδεσμεύει και αποδομεί έναν πόρο. Ο όρος γι' αυτήν την αποδέσμευση και αποδόμηση είναι «απόρρίψη».

+

Λεπτομέρειες:

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

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:

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

[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:

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

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:

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

[Non tradotto] 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:

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

スコープベースのリソース管理

+

Rust では、スコープの終わりをリソースのデストラクトと解放の場所として使用します。

+

このデストラクトと解放のことをドロップ (drop) と呼びます。

+

メモリの詳細:

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

범위 기반 리소스 관리

+

Rust는 범위(scope)가 끝나는 곳에서 리소스를 소멸하고 할당 해제합니다.

+

이 소멸과 할당 해제를 의미하는 용어로 drop을 사용합니다.

+

메모리 상세:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/44_pl.html b/44_pl.html new file mode 100644 index 000000000..5d4822247 --- /dev/null +++ b/44_pl.html @@ -0,0 +1,64 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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:

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

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:

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

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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/44_ru.html b/44_ru.html new file mode 100644 index 000000000..37b4bc457 --- /dev/null +++ b/44_ru.html @@ -0,0 +1,61 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Управление ресурсами на основе области видимости

+

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

+

Термин для обозначения деструктора и освобождения ресурсов/памяти называется drop (дроп или удаление).

+

Детали для запоминания:

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

การจัดการรีซอร์สโดยอิงตามขอบเขตข้อมูล

+

Rust ใช้จุดสิ้นสุดของขอบเขตเป็นจุดในการ ทำลายโครงสร้าง(deconstruct) และ คืนหน่วยความจำ(deallocate)

+

ตอนนี้เราจะเรียกการ ทำลายโครงสร้าง และการคืนหน่วยความจำนี้ว่า drop

+

รายละเอียดหน่วยความจำ:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/44_tr.html b/44_tr.html new file mode 100644 index 000000000..4624f89f5 --- /dev/null +++ b/44_tr.html @@ -0,0 +1,61 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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ı:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/44_ua.html b/44_ua.html new file mode 100644 index 000000000..64c623643 --- /dev/null +++ b/44_ua.html @@ -0,0 +1,64 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Управління даними на основі розміру.

+

Rust використовує кінець області видимості як місце для деконструкції та +перерозподілу ресурсу.

+

Термін для такої деконструкції та вивільнення називається drop (скидання).

+

Деталі роботи за памяттю:

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

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ớ:

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

基于域的资源管理

+

Rust 将使用资源最后被使用的位置或者一个函数域的结束来作为资源被析构和释放的地方。 此处析构和释放的概念被称之为 drop(丢弃)。

+

内存细节:

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

範圍 (scope-based) 資源管理

+

Rust 以範圍的邊界來解構及回收資源。 +這類解構及回收的專有名詞稱作徹下 (drop)。

+

記憶體細節:

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

[Noch nicht übersetzt] 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:

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

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:

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

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:

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

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:

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

[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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/45_fr.html b/45_fr.html new file mode 100644 index 000000000..898f8bc1c --- /dev/null +++ b/45_fr.html @@ -0,0 +1,61 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/45_gr.html b/45_gr.html new file mode 100644 index 000000000..f4608891c --- /dev/null +++ b/45_gr.html @@ -0,0 +1,60 @@ + + + + Ξενάγηση στη 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..a62a21a99 --- /dev/null +++ b/45_hu.html @@ -0,0 +1,62 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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:

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

[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:

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

On Cade Secun Hierarchie

+

Quande un struct es lassat cader, su elementes infantal cade in prim. +Detallies pri memorie:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/45_it.html b/45_it.html new file mode 100644 index 000000000..8f5f3c16c --- /dev/null +++ b/45_it.html @@ -0,0 +1,60 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

[Non tradotto] 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:

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

ドロップは階層的

+

構造体がドロップされると、まず構造体自体がドロップされ、次にその子要素が個別に削除されます。

+

メモリの詳細:

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

Dropping은 계층적이다

+

struct가 drop 될 때는, struct 자신이 제일 먼저 drop 되고, 이후에 그 자식들이 각각 drop 되고, 등의 순서로 처리됩니다.

+

메모리 상세:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/45_pl.html b/45_pl.html new file mode 100644 index 000000000..088565a3e --- /dev/null +++ b/45_pl.html @@ -0,0 +1,60 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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:

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

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:

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

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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/45_ru.html b/45_ru.html new file mode 100644 index 000000000..e461796d6 --- /dev/null +++ b/45_ru.html @@ -0,0 +1,60 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Иерархическое удаление (Dropping is Hierarchical)

+

Когда структура drop'ается, в начале происходит drop самой структуры, а потом её детей по очереди и так далее.

+

Детали для запоминания:

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

การ drop ตามลำดับชั้น

+

เมื่อ struct ถูก drop ลง ตัว struct เองจะถูก drop ก่อน จากนั้นลูกๆของมันจึงจะ drop ตัวเอง และเป็นแบบนี้ไปเรื่อยๆ

+

รายละเอียดหน่วยความจำ:

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

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ı:

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

Видалення відбувається по іерархії

+

Якщо ви видаляте якусь структуру, то спочатку видаляється сама структура, а потім дочірні елементи, потім дочірні дочірніх. Тобто зверху вниз.

+

Деталі роботи за памяттю:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/45_vi.html b/45_vi.html new file mode 100644 index 000000000..9fc329d87 --- /dev/null +++ b/45_vi.html @@ -0,0 +1,60 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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ớ:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/45_zh-cn.html b/45_zh-cn.html new file mode 100644 index 000000000..66c21de20 --- /dev/null +++ b/45_zh-cn.html @@ -0,0 +1,60 @@ + + + + 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..87feec2cc --- /dev/null +++ b/45_zh-tw.html @@ -0,0 +1,60 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

徹下是有階級的

+

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

+

記憶體細節:

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

[Noch nicht übersetzt] 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:

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

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:

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

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:

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

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:

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

[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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/46_fr.html b/46_fr.html new file mode 100644 index 000000000..ee97ddfd2 --- /dev/null +++ b/46_fr.html @@ -0,0 +1,60 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/46_gr.html b/46_gr.html new file mode 100644 index 000000000..b7a470975 --- /dev/null +++ b/46_gr.html @@ -0,0 +1,61 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

Μεταβίβαση κυριότητας

+

Όταν ένας ιδιοκτήτης δίδεται ως όρισμα σε μία συνάρτηση, η κυριότητα μεταφέρεται στην παράμετρο της συνάρτησης.

+

Μετά από μία μεταβίβαση η μεταβλητή στην αρχική συνάρτηση δεν μπορεί να χρησιμοποιηθεί πλέον.

+

Λεπτομέρειες:

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

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:

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

[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:

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

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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/46_it.html b/46_it.html new file mode 100644 index 000000000..5f106cdde --- /dev/null +++ b/46_it.html @@ -0,0 +1,60 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

[Non tradotto] 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:

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

所有権の移動

+

所有者が関数の実引数として渡されると、所有権は関数の仮引数に移動 (move) します。

+

移動後は、元の関数内の変数は使用できなくなります。

+

メモリの詳細:

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

소유권 이전

+

owner가 함수의 인자로 전달되면, ownership은 그 함수의 매개변수로 이동(move)됩니다.

+

move 이후에는 원래 함수에 있던 변수는 더 이상 사용할 수 없습니다.

+

메모리 상세:

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

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:

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

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:

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

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 paramentrul funcției. +După o cedare a proprietății, variabila din funcția originală nu mai poate fi folosită.

+

Detalii despre memorie:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/46_ru.html b/46_ru.html new file mode 100644 index 000000000..ad0ad4607 --- /dev/null +++ b/46_ru.html @@ -0,0 +1,60 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Передача владения (Moving Ownership)

+

Когда владелец ресурса используется в качестве аргумента функции, владение передаётся параметру этой функции.

+

После передачи (move) переменной из оригинальной функции, перемещённую переменную больше нельзя использовать в месте откуда мы её передали.

+

Детали для запоминания:

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

การเปลี่ยนเจ้าของ

+

มื่อเจ้าของถูกส่งผ่านเป็นอาร์กิวเมนต์ไปยังฟังก์ชันความเป็นเจ้าของจะถูกย้ายไปที่พารามิเตอร์ฟังก์ชัน

+

หลังจาก ย้าย ไปแล้ว ตัวแปรในฟังก์ชันเดิมจะไม่สามารถใช้งานได้อีกต่อไป

+

รายละเอียดหน่วยความจำ:

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

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ı:

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

Передача володіння

+

Коли власник передає дані як аргумент у функцію, то до аргументу також переходить право власності.

+

Після передачі володіння, минолого власника (тобто наприклад змінну) використовувати не можна, через те що володіння передано іншому власнику.

+

Деталі роботи за памяттю:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/46_vi.html b/46_vi.html new file mode 100644 index 000000000..b691561aa --- /dev/null +++ b/46_vi.html @@ -0,0 +1,60 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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ớ:

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

移交所有权

+

将所有者作为参数传递给函数时,其所有权将移交至该函数的参数。 在一次移动后,原函数中的变量将无法再被使用。

+

内存细节:

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

擁有權轉移

+

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

+

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

+

記憶體細節:

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

[Noch nicht übersetzt] Returning Ownership

+

Ownership can also be returned from a function.

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

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..0b1479d17 --- /dev/null +++ b/47_es.html @@ -0,0 +1,55 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..dfb479c14 --- /dev/null +++ b/47_fa.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..027a1a79f --- /dev/null +++ b/47_fi.html @@ -0,0 +1,55 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

[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..fc6678750 --- /dev/null +++ b/47_fr.html @@ -0,0 +1,55 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..8d066b4a3 --- /dev/null +++ b/47_gr.html @@ -0,0 +1,55 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

Επιστροφή κυριότητας

+

Η κυριότητα μπορεί να επιστραφεί και από κάποια συνάρτησης

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

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..7617d83b0 --- /dev/null +++ b/47_id.html @@ -0,0 +1,55 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[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..7558b87cd --- /dev/null +++ b/47_ie.html @@ -0,0 +1,55 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..3cd181e9d --- /dev/null +++ b/47_it.html @@ -0,0 +1,55 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

[Non tradotto] Returning Ownership

+

Ownership can also be returned from a function.

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

所有権を返す

+

所有権を関数から返すこともできます。

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

소유권 리턴하기

+

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

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

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..959194e4b --- /dev/null +++ b/47_pt-br.html @@ -0,0 +1,55 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..8328f474d --- /dev/null +++ b/47_ro.html @@ -0,0 +1,55 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..afc8c41ae --- /dev/null +++ b/47_ru.html @@ -0,0 +1,55 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Возвращение владения (Returning Ownership)

+

Владение также может быть возвращено обратно из функции.

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

การกลับมาเป็นเจ้าของ

+

แน่นอนว่า ความเป็นเจ้าของก็สามารถได้คืนจากฟังก์ชันได้

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/47_tr.html b/47_tr.html new file mode 100644 index 000000000..004de8e17 --- /dev/null +++ b/47_tr.html @@ -0,0 +1,55 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..b2853a020 --- /dev/null +++ b/47_ua.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Повернення володіння

+

При поверненнф значення з функції, повертається також і володіння. +Тому володіння даними отримує той, хто прийме повернуті значення, +будь то змінна, чи параметр іншої функції.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/47_vi.html b/47_vi.html new file mode 100644 index 000000000..9c0fcaeee --- /dev/null +++ b/47_vi.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..0f7745c2a --- /dev/null +++ b/47_zh-cn.html @@ -0,0 +1,55 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

归还所有权

+

所有权也可以从一个函数中被归还。

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

擁有權歸還

+

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

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

[Noch nicht übersetzt] 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_en.html b/48_en.html new file mode 100644 index 000000000..ece2b2088 --- /dev/null +++ b/48_en.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..5e166c72c --- /dev/null +++ b/48_es.html @@ -0,0 +1,56 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..5407b0766 --- /dev/null +++ b/48_fa.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..e3692e3f5 --- /dev/null +++ b/48_fi.html @@ -0,0 +1,56 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

[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..a3f8eb957 --- /dev/null +++ b/48_fr.html @@ -0,0 +1,56 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..d9795685e --- /dev/null +++ b/48_gr.html @@ -0,0 +1,55 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

Δανεισμός κυριότητας μέσω αναφορών

+

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

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

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..d142633af --- /dev/null +++ b/48_id.html @@ -0,0 +1,56 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[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..d43b3429c --- /dev/null +++ b/48_ie.html @@ -0,0 +1,56 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..32a96a78f --- /dev/null +++ b/48_it.html @@ -0,0 +1,56 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

[Non tradotto] 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_ja.html b/48_ja.html new file mode 100644 index 000000000..45cf4abf1 --- /dev/null +++ b/48_ja.html @@ -0,0 +1,56 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

参照による所有権の借用

+

参照は、& 演算子を使ってリソースへのアクセスを借用できるようにしてくれます。

+

参照も他のリソースと同様にドロップされます。

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

참조로 소유권 대여하기

+

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

+

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

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

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..524346962 --- /dev/null +++ b/48_pt-br.html @@ -0,0 +1,56 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..cb108fd7b --- /dev/null +++ b/48_ro.html @@ -0,0 +1,56 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

Î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..2301cfc14 --- /dev/null +++ b/48_ru.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Заимствование во владение с помощью ссылок

+

Ссылки позволяют нам заимствовать доступ к ресурсу с помощью оператора &.

+

Ссылки drop'аются (удаляются) точно так же как и остальные ресурсы на основании области видимости.

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

การยืมความเป็นเจ้าของด้วยวิธีอ้างอิง

+

การอ้างอิงถึงช่วยให้เรายืมการเข้าถึงรีซอร์สได้ด้วยการใช้ตัวดำเนินการ &

+

การอ้างอิงก็สามารถ drop ได้เหมือนกัน

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

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..98cd20964 --- /dev/null +++ b/48_ua.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Отримання володіння через посилання

+

Володіння також можна передати за допомогою посилання, для цього треба перед змінною +поставити оператор &.

+

Посилання видаляються з пам'яті так само як і будь-які інші ресурси даних.

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

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..b1f36841a --- /dev/null +++ b/48_zh-cn.html @@ -0,0 +1,56 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

使用引用借用所有权

+

引用允许我们通过 & 操作符来借用对一个资源的访问权限。 +引用也会如同其他资源一样被释放。

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

從參考 (references) 借擁有權

+

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

+

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

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

[Noch nicht übersetzt] 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:

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

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:

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

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:

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

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:

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

[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:

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

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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/49_gr.html b/49_gr.html new file mode 100644 index 000000000..ed4d20bca --- /dev/null +++ b/49_gr.html @@ -0,0 +1,60 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

Μεταβίβαση επικαρπίας κυριότητας («μεταβλητός δανεισμός») μέσω αναφορών

+

Μπορούμε επίσης να ζητήσουμε μεταβλητή πρόσβαση σε κάποιον πόρο μέσω του τελεστή &mut.

+

Μία ιδιοκτήτρια πόρου δεν μπορεί ούτε να μετακινηθεί ούτε να μεταβληθεί ενώ είναι μεταβλητά δανεισμένη.

+

Λεπτομέρειες:

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

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:

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

[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:

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

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:

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

[Non tradotto] 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:

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

参照による所有権の可変な借用

+

&mut 演算子を使えば、リソースへの変更可能なアクセスを借用することもできます。

+

リソースの所有者は、可変な借用の間は移動や変更ができません。

+

メモリの詳細:

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

참조로 변경 가능한 소유권 대여하기

+

&mut 연산자를 통해 리소스에 대한 mutable한 접근 권한도 대여할 수 있습니다.

+

리소스의 owner는 mutable하게 대여된 상태에서는 move 되거나 변경될 수 없습니다.

+

메모리 상세:

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

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:

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

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:

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

Î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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/49_ru.html b/49_ru.html new file mode 100644 index 000000000..c3f59b881 --- /dev/null +++ b/49_ru.html @@ -0,0 +1,60 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Заимствование во владение с правами на изменение (Mutable Borrow)

+

Мы также можем заимствовать доступ к ресурсу с правами на его изменение с помощью оператора &mut.

+

Оригинальный владелец ресурса не может быть еще раз передан (move'нут) или одновременно изменён (для&mut ссылки), все время пока он заимствован mut'абельно другой функцией/переменной.

+

Детали для запоминания:

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

การยืมความเป็นเจ้าของ กับของที่เปลี่ยนแปลงค่าได้ ด้วยวิธีอ้างอิง

+

นอกจากนี้เรายังสามารถยืมการเข้าถึงรีซอร์สที่เปลี่ยนค่าได้ด้วยตัวดำเนินการ &mut

+

โดยที่ตัวเจ้าของเองจะไม่สามารถย้ายหรือแก้ไขอะไรได้ในขณะที่ถูกยืม

+

รายละเอียดหน่วยความจำ:

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

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ı:

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

Отримання володіння через мутабельні посилання

+

Якщо ви хочете отримати володіння у мутабельному посиланні, то замість оператора & треба писати &mut.

+

Ресурс не можна змінювати чи переміщувати, поки на нього вказує мутабельне посилання.

+

Деталі роботи за памяттю:

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

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ớ:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/49_zh-cn.html b/49_zh-cn.html new file mode 100644 index 000000000..59fa6232b --- /dev/null +++ b/49_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/49_zh-tw.html b/49_zh-tw.html new file mode 100644 index 000000000..72884b9a3 --- /dev/null +++ b/49_zh-tw.html @@ -0,0 +1,60 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

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

+

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

+

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

+

記憶體細節:

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

[Noch nicht übersetzt] 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_en.html b/50_en.html new file mode 100644 index 000000000..ec452fb83 --- /dev/null +++ b/50_en.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..1b9e40514 --- /dev/null +++ b/50_es.html @@ -0,0 +1,56 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..77386747c --- /dev/null +++ b/50_fa.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..83a0c1756 --- /dev/null +++ b/50_fi.html @@ -0,0 +1,56 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

[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..15989dc4a --- /dev/null +++ b/50_fr.html @@ -0,0 +1,58 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..1ad91442a --- /dev/null +++ b/50_gr.html @@ -0,0 +1,56 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

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..26626c8f0 --- /dev/null +++ b/50_hu.html @@ -0,0 +1,57 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..fd4431ade --- /dev/null +++ b/50_id.html @@ -0,0 +1,56 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[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..38e2f5315 --- /dev/null +++ b/50_ie.html @@ -0,0 +1,57 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..9b11faf95 --- /dev/null +++ b/50_it.html @@ -0,0 +1,56 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

[Non tradotto] 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_ja.html b/50_ja.html new file mode 100644 index 000000000..95b2c14d1 --- /dev/null +++ b/50_ja.html @@ -0,0 +1,56 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

参照外し

+

&mut による参照では、* 演算子によって参照を外す (dereference) ことで、所有者の値を設定できます。

+

* 演算子によって所有者の値のコピーを取得することもできます(コピー可能な型については後の章で説明します)。

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

역참조

+

&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..0d0a9f03b --- /dev/null +++ b/50_pl.html @@ -0,0 +1,56 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..24593289c --- /dev/null +++ b/50_pt-br.html @@ -0,0 +1,56 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..174058aa4 --- /dev/null +++ b/50_ro.html @@ -0,0 +1,56 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..6d04423b1 --- /dev/null +++ b/50_ru.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Разыменование (Dereferencing)

+

Используя &mut ссылки, Вы можете установить новое значение переменной, используя * оператор разыменования ссылки.

+

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

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

การอ้างอิง

+

การอ้างอิงด้วยการใช้ &mut เช่นนี้ เวลาที่คุณจะกำหนดค่าใหม่ให้มัน ให้ใช้ตัวดำเนินการ *

+

ในการกลับกัน คุณก็สามารถสำเนาค่านั้นออกมาด้วยตัวดำเนินกาารเดียวกัน * (ซึ่งขึ้นอยู่ด้วยว่าค่านั้นยอมให้ทำสำเนาได้หรือไม่ - ไว้เราจะไปคุยกันเรื่อง type ที่ยอมให้สำเนาได้อีกทีในภายหลัง)

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

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..94a61254e --- /dev/null +++ b/50_ua.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Розіменування посилань

+

Використовуючи &mut ви можете встановити значення ресурсу на котрий посилаються за допомогою оператора*. +Щоб зкопіювати значення з ресурсу через посилання також можна використати оператор * (про копіювання данних різних типів ми поговоримо пізніше).

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

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..363f67501 --- /dev/null +++ b/50_zh-cn.html @@ -0,0 +1,55 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

解引用

+

使用 &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..3ca86000d --- /dev/null +++ b/50_zh-tw.html @@ -0,0 +1,56 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

解參考 (dereferencing)

+

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

+

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

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

[Noch nicht übersetzt] Passing Around Borrowed Data

+

Rust's rules for references might best be summarized by:

+ +

This doesn't tend to be a problem when passing around references to functions.

+

Memory details:

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

Passing Around Borrowed Data

+

Rust's rules for references might best be summarized by:

+ +

This doesn't tend to be a problem when passing around references to functions.

+

Memory details:

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

Mover los Datos Prestados

+

Las reglas de referencia de Rust se resumen de la siguiente manera:

+ +

Esto no suele ser un problema cuando se pasan referencias a funciones.

+

Detalles de la memoria:

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

Passing Around Borrowed Data

+

Rust's rules for references might best be summarized by:

+ +

This doesn't tend to be a problem when passing around references to functions.

+

Memory details:

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

[Kääntämätön] Passing Around Borrowed Data

+

Rust's rules for references might best be summarized by:

+ +

This doesn't tend to be a problem when passing around references to functions.

+

Memory details:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/51_fr.html b/51_fr.html new file mode 100644 index 000000000..63b4b2364 --- /dev/null +++ b/51_fr.html @@ -0,0 +1,70 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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:

+ +

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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/51_gr.html b/51_gr.html new file mode 100644 index 000000000..064d1ca49 --- /dev/null +++ b/51_gr.html @@ -0,0 +1,65 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

Passing Around Borrowed Data

+

Rust's rules for references might best be summarized by:

+ +

This doesn't tend to be a problem when passing around references to functions.

+

Memory details:

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

A kölcsönkért adatok ide-oda helyezése

+

A Rust referenciáinak szabályait talán így lehet a legjobban megfogalmazni:

+ +

Hogyan érinti ez a memóriát:

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

[belum diterjemahkan] Passing Around Borrowed Data

+

Rust's rules for references might best be summarized by:

+ +

This doesn't tend to be a problem when passing around references to functions.

+

Memory details:

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

Transferer Pruntat Data

+

On posse curtmen resumar li regules de Rust pri referenties quam seque:

+ +

To por li pluparte ne es un problema quande on transfere referenties a functiones.

+

Detallies pri memorie:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/51_it.html b/51_it.html new file mode 100644 index 000000000..5a8d57918 --- /dev/null +++ b/51_it.html @@ -0,0 +1,65 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

[Non tradotto] Passing Around Borrowed Data

+

Rust's rules for references might best be summarized by:

+ +

This doesn't tend to be a problem when passing around references to functions.

+

Memory details:

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

借用したデータの受け渡し

+

Rust の参照に関するルールは、以下のようにまとめられます。

+ +

これは関数へ参照を渡す際に問題となることはありません。

+

メモリの詳細:

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

대여한 데이터 전달하기

+

Rust의 참조 규칙은 다음과 같이 요약될 수 있습니다:

+ +

이는 보통 함수로 참조를 넘겨줄 때에는 문제가 되지 않습니다.

+

메모리 상세:

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

Przekazywanie Pożyczonych Danych

+

Zasady Rusta dotyczące refencji i pożyczania mogą być ujęte w następujących dwóch punktach:

+ +

Te zasady nie powinny nam sprawiać zbyt wielu problemów w przypadku przekazywania referencji do wywoływanych funkcji.

+

Kilka szczegółów:

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

Passando Dados Emprestados

+

As regras do Rust para referências podem ser melhor resumidas assim:

+ +

Isso não costuma ser um problema ao passar referências a funções.

+

Detalhes da memória:

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

Trimiterea Datelor Împrumutate

+

Regulile din Rust pentru referințe pot fi rezumate foarte bine de:

+ +

Aceste lucruri nu tind să fie o problemă atunci când trimitem referințe unor funcții.

+

Detalii despre memorie:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/51_ru.html b/51_ru.html new file mode 100644 index 000000000..a2e3a4c63 --- /dev/null +++ b/51_ru.html @@ -0,0 +1,68 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Передача заимствованных данных

+

Правила Rust'a для ссылок можно просуммировать так:

+ +

Обычно это не вызывает проблем при передаче ссылок в функции.

+

Детали для запоминания:

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

การส่งผ่านข้อมูลที่ยืมมา

+

กฎที่ใช้กับการอ้างอิงใน Rust อาจจะสรุปออกมาได้ดังนี้:

+ +

สิ่งนี้ไม่มีแนวโน้มที่จะเป็นปัญหาเมื่อส่งต่อการอ้างอิงถึงฟังก์ชัน

+

รายละเอียดหน่วยความจำ:

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

Ödünç Alınan Verinin Taşınması

+

Rust'un referans kuralları aşağıdaki şekilde özetlenebilir:

+ +

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ı:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/51_ua.html b/51_ua.html new file mode 100644 index 000000000..58c355e2f --- /dev/null +++ b/51_ua.html @@ -0,0 +1,65 @@ + + + + Тур по 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..d3927ba53 --- /dev/null +++ b/51_vi.html @@ -0,0 +1,65 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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:

+ +

Đ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ớ:

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

传递借用的数据

+

Rust 对于引用的规则也许最好用以下的方式总结:

+ +

而在函数间进行引用的传递时,以上这些通常都不会成为问题。

+

内存细节:

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

傳遞借來的資料 (borrowed data)

+

對 Rust 的參考規則最好的總結可能是: Rust's rules for references might best be summarized by:

+ +

這並不會造成當你想傳遞參考到一個函式的困擾。

+

記憶體細節:

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

[Noch nicht übersetzt] References Of References

+

References can even be used on pieces of references.

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

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..0eaa366ce --- /dev/null +++ b/52_es.html @@ -0,0 +1,55 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..9f6b4395c --- /dev/null +++ b/52_fa.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..b2f704467 --- /dev/null +++ b/52_fi.html @@ -0,0 +1,55 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

[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..282ef3dcc --- /dev/null +++ b/52_fr.html @@ -0,0 +1,55 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..e22a043ef --- /dev/null +++ b/52_gr.html @@ -0,0 +1,55 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

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..5d4e26361 --- /dev/null +++ b/52_hu.html @@ -0,0 +1,55 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..5fa04de28 --- /dev/null +++ b/52_id.html @@ -0,0 +1,55 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[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..6e1667b5f --- /dev/null +++ b/52_ie.html @@ -0,0 +1,55 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..33101550d --- /dev/null +++ b/52_it.html @@ -0,0 +1,55 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

[Non tradotto] References Of References

+

References can even be used on pieces of references.

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

参照の参照

+

参照の一部を参照することができます。

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

참조의 참조

+

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

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/52_pl.html b/52_pl.html new file mode 100644 index 000000000..886af25ee --- /dev/null +++ b/52_pl.html @@ -0,0 +1,56 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..4d83cd5fe --- /dev/null +++ b/52_pt-br.html @@ -0,0 +1,55 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..fce4e93c8 --- /dev/null +++ b/52_ro.html @@ -0,0 +1,55 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..29e4c1104 --- /dev/null +++ b/52_ru.html @@ -0,0 +1,55 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Ссылки на ссылки (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..e2cf2c134 --- /dev/null +++ b/52_th.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

การอ้างอิงถึงตัวอ้างอิงตัวอื่น

+

การอ้างอิงสามารถใช้อ้างถึงการอ้างอิงอื่นได้

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

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..94d954f65 --- /dev/null +++ b/52_ua.html @@ -0,0 +1,55 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Посилання на посилання

+

Посилання можна використовувати навіть у фрагментах посилань.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/52_vi.html b/52_vi.html new file mode 100644 index 000000000..87fde407f --- /dev/null +++ b/52_vi.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..81125c8ec --- /dev/null +++ b/52_zh-cn.html @@ -0,0 +1,55 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

引用的引用

+

引用甚至也可以用在其他引用上。

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

參考的參考 (references of references)

+

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

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

[Noch nicht übersetzt] 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_en.html b/53_en.html new file mode 100644 index 000000000..7056367fb --- /dev/null +++ b/53_en.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..819fee139 --- /dev/null +++ b/53_es.html @@ -0,0 +1,57 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..9725ecd2d --- /dev/null +++ b/53_fa.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..e510e305d --- /dev/null +++ b/53_fi.html @@ -0,0 +1,59 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

[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..21a6bf32e --- /dev/null +++ b/53_fr.html @@ -0,0 +1,60 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..c06149c0b --- /dev/null +++ b/53_gr.html @@ -0,0 +1,59 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

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..20814f097 --- /dev/null +++ b/53_hu.html @@ -0,0 +1,61 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..042994842 --- /dev/null +++ b/53_id.html @@ -0,0 +1,59 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[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..4b7b4de01 --- /dev/null +++ b/53_ie.html @@ -0,0 +1,59 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..f455754b0 --- /dev/null +++ b/53_it.html @@ -0,0 +1,59 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

[Non tradotto] 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_ja.html b/53_ja.html new file mode 100644 index 000000000..5850cca1d --- /dev/null +++ b/53_ja.html @@ -0,0 +1,57 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

明示的なライフタイム

+

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..d79ccc40c --- /dev/null +++ b/53_ko.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

명시적인 생명주기

+

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..7ce0d19c9 --- /dev/null +++ b/53_pl.html @@ -0,0 +1,57 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..71164f5d5 --- /dev/null +++ b/53_pt-br.html @@ -0,0 +1,57 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..3355be37c --- /dev/null +++ b/53_ro.html @@ -0,0 +1,59 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

Durate de viață explicite

+

Cu toate că Rust nu arată acest lucu î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..f2816ccc1 --- /dev/null +++ b/53_ru.html @@ -0,0 +1,59 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Явное указание времени жизни (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..0c0bdced9 --- /dev/null +++ b/53_th.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..372da9615 --- /dev/null +++ b/53_tr.html @@ -0,0 +1,57 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..fcf201ed1 --- /dev/null +++ b/53_ua.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Явний час життя

+

Хоч компілятор вам цього не покаже, але він розуміє час життя кожної змінної. І саме це дає йому можливість аналізувати код, і сказати вам, чи буде посилання жити довше ніж сама змінна. +Але ви також можете самостійно сказати якому ресурсу скільки жити. Для цього існують спеціальні параметри. +Щоб виставити час життя, або якщо більш корректно - пріоритети , вам лише треба поставити символ ', а потім додати одну із латинських букв (наприклад '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..601ea8019 --- /dev/null +++ b/53_vi.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..770bd72fa --- /dev/null +++ b/53_zh-cn.html @@ -0,0 +1,55 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

显式生命周期

+

尽管 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..22e7cc55b --- /dev/null +++ b/53_zh-tw.html @@ -0,0 +1,57 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

明確的生命週期

+

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

+

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

+

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

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

[Noch nicht übersetzt] 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_en.html b/54_en.html new file mode 100644 index 000000000..4a12df88b --- /dev/null +++ b/54_en.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..0afd48ec3 --- /dev/null +++ b/54_es.html @@ -0,0 +1,55 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..5959ac218 --- /dev/null +++ b/54_fa.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..2d62b47d4 --- /dev/null +++ b/54_fi.html @@ -0,0 +1,56 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

[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..0281b50df --- /dev/null +++ b/54_fr.html @@ -0,0 +1,56 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..ebfcb2a34 --- /dev/null +++ b/54_gr.html @@ -0,0 +1,56 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

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..091d324a7 --- /dev/null +++ b/54_hu.html @@ -0,0 +1,56 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..ae9f39a8a --- /dev/null +++ b/54_id.html @@ -0,0 +1,56 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[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..2c2cc9182 --- /dev/null +++ b/54_ie.html @@ -0,0 +1,56 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..be8e6c526 --- /dev/null +++ b/54_it.html @@ -0,0 +1,56 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

[Non tradotto] 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_ja.html b/54_ja.html new file mode 100644 index 000000000..ff7e6353c --- /dev/null +++ b/54_ja.html @@ -0,0 +1,55 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

複数のライフタイム

+

ライフタイム指定子は、関数の引数や戻り値のライフタイムをコンパイラが解決できない場合に、明示的に指定することができます。

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

여러 개의 생명주기

+

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

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/54_pl.html b/54_pl.html new file mode 100644 index 000000000..664704fb5 --- /dev/null +++ b/54_pl.html @@ -0,0 +1,55 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..629c76601 --- /dev/null +++ b/54_pt-br.html @@ -0,0 +1,55 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..62befe945 --- /dev/null +++ b/54_ro.html @@ -0,0 +1,56 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..46b0b2953 --- /dev/null +++ b/54_ru.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Несколько времён жизни (Multiple Lifetimes)

+

Спецификация времени жизни позволяет явно ее указать, когда компилятор не может сам определить, как соотносятся +все времена жизни параметров функции и возвращаемого значения.

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

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..4f79c4477 --- /dev/null +++ b/54_tr.html @@ -0,0 +1,55 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

Ç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..16169b9f6 --- /dev/null +++ b/54_ua.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Кілька модифікаторів пріорітету

+

Модифікатори часу життя, або ж приорітету, дозволяють нам створювати сценарії, котрі мають деякі відмінності від тих що за замовчуванням створює компілятор. +Це досягається за допомогою використання декількох модифікаторів часу життя, а точніше, їх комбінування.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/54_vi.html b/54_vi.html new file mode 100644 index 000000000..4d5837cee --- /dev/null +++ b/54_vi.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

Đ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..12986be46 --- /dev/null +++ b/54_zh-cn.html @@ -0,0 +1,55 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

多个生命周期

+

生命周期注解可以通过区分函数签名中不同部分的生命周期,来允许我们显式地明确某些编译器靠自己无法解决的场景。

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

多個生命週期

+

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

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

[Noch nicht übersetzt] 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_en.html b/55_en.html new file mode 100644 index 000000000..c37f035a9 --- /dev/null +++ b/55_en.html @@ -0,0 +1,67 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..376c8e70a --- /dev/null +++ b/55_es.html @@ -0,0 +1,63 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..8b9f5aae1 --- /dev/null +++ b/55_fa.html @@ -0,0 +1,67 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..2b2b90722 --- /dev/null +++ b/55_fi.html @@ -0,0 +1,67 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

[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..2bebf239a --- /dev/null +++ b/55_fr.html @@ -0,0 +1,71 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..b3b736c15 --- /dev/null +++ b/55_gr.html @@ -0,0 +1,67 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

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..6f0e2998d --- /dev/null +++ b/55_hu.html @@ -0,0 +1,73 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..984f13364 --- /dev/null +++ b/55_id.html @@ -0,0 +1,67 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[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..807ceeae1 --- /dev/null +++ b/55_ie.html @@ -0,0 +1,68 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..cf6f4ee94 --- /dev/null +++ b/55_it.html @@ -0,0 +1,67 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

[Non tradotto] 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_ja.html b/55_ja.html new file mode 100644 index 000000000..75b55337c --- /dev/null +++ b/55_ja.html @@ -0,0 +1,68 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

スタティックライフタイム

+

スタティック変数は、コンパイル時に作成され、プログラムの開始から終了まで存在するメモリリソースです。 +これらの変数の型は明示的に指定しなければなりません。

+

スタティックライフタイムは、プログラムの終了まで無期限に持続するメモリリソースです。 +この定義では、スタティックライフタイムを持つリソースは実行時にも作成できることに注意してください。

+

スタティックライフタイムを持つリソースには、特別なライフタイム指定子 '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..f95cc3f63 --- /dev/null +++ b/55_ko.html @@ -0,0 +1,68 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

정적인 생명주기

+

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..0926725d7 --- /dev/null +++ b/55_pl.html @@ -0,0 +1,63 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..d6de6350e --- /dev/null +++ b/55_pt-br.html @@ -0,0 +1,64 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..26dbbde39 --- /dev/null +++ b/55_ro.html @@ -0,0 +1,65 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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ă la resursele cu durată de viață statică (drop).

+

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..f09fe0673 --- /dev/null +++ b/55_ru.html @@ -0,0 +1,72 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Статические времена жизни (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..d2429a7a6 --- /dev/null +++ b/55_th.html @@ -0,0 +1,68 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

Static Lifetimes

+

ตัวแปรแบบ static เป็นรีซอร์สในหน่วยความจำที่ถูกสร้างตั้งแต่ compile-time และจะคงอยู่ ตั้งแต่โปรแกรมเริ่มทำงานจนจบ พวกมันต้องระบุ type ให้ชัดเจน

+

static lifetime เป็นรีซอร์สในหน่วยความจำที่จะอยู่ตลอดจนจบโปรแกรม ข้อสังเกตคือ จากนิยามนี้ static lifetime บางตัวอาจจะเกิดตอน runtime ก็ได้

+

รีซอร์สของ static lifetime ใช้ 'static เป็นตัวกำหนด

+

รีซอร์สของ 'static จะไม่มีวันโดน drop

+

ถึงแม้ว่าจะใช้รีซอร์สของ static lifetime มาเก็บการอ้างอิง พวกมันก็ยังต้องเป็น 'static` เหมือนกัน (ถ้าน้อยไปมันจะอยู่ได้ไม่นานพอ)

+

รายละเอียดหน่วยความจำ:

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

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..690b9d4c2 --- /dev/null +++ b/55_ua.html @@ -0,0 +1,62 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Статичний час життя

+

Статичні змінні - це змінні котрі створюються на початку, або під час роботи програми, і існують до самого її кінця. Такі змінні повинні мати чітко вказані типи. +Статичні ресурси можуть існувати невизначено довго, але лише до моменту вимкнення програми. Також треба зауважити що такі ресурси можуть бути створені прямо під час виконання програми.

+

Статичні ресурси мають спеціальну позначку - static. Такі ресурси не будуть видалятися під час виконання програми, поки цього не захоче сам користувач.

+

Якщо на ресурс є якісь посилання - вони повинні бути також статичними, інакше вони можуть не "прожити" потрібний період часу.

+

Деталі роботи за памяттю:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/55_vi.html b/55_vi.html new file mode 100644 index 000000000..06077566a --- /dev/null +++ b/55_vi.html @@ -0,0 +1,63 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..40e9b554f --- /dev/null +++ b/55_zh-cn.html @@ -0,0 +1,60 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

静态生命周期

+

一个静态变量是一个在编译期间即被创建并存在于整个程序始末的内存资源。他们必须被明确指定类型。 一个静态生命周期是指一段内存资源无限期地延续到程序结束。需要注意的一点是,在此定义之下,一些静态生命周期的资源也可以在运行时被创建。 拥有静态生命周期的资源会拥有一个特殊的生命周期注解 '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..f49fde733 --- /dev/null +++ b/55_zh-tw.html @@ -0,0 +1,64 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

靜態生命週期 (static lifetimes)

+

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

+

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

+

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

+

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

+

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

+

記憶體細節:

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

[Noch nicht übersetzt] 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_en.html b/56_en.html new file mode 100644 index 000000000..3f1c59b02 --- /dev/null +++ b/56_en.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..8c79c21d1 --- /dev/null +++ b/56_es.html @@ -0,0 +1,57 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..cfd86dbee --- /dev/null +++ b/56_fa.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..ac6df363c --- /dev/null +++ b/56_fi.html @@ -0,0 +1,57 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

[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..c7a75d5bf --- /dev/null +++ b/56_fr.html @@ -0,0 +1,62 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..45937d1b2 --- /dev/null +++ b/56_gr.html @@ -0,0 +1,57 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

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..3dac78e5e --- /dev/null +++ b/56_hu.html @@ -0,0 +1,58 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

É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..df3acb877 --- /dev/null +++ b/56_id.html @@ -0,0 +1,57 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[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..a551c289e --- /dev/null +++ b/56_ie.html @@ -0,0 +1,57 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..81892509a --- /dev/null +++ b/56_it.html @@ -0,0 +1,57 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

[Non tradotto] 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_ja.html b/56_ja.html new file mode 100644 index 000000000..032fbf606 --- /dev/null +++ b/56_ja.html @@ -0,0 +1,57 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

データ型のライフタイム

+

関数と同様に、データ型はメンバのライフタイムを指定できます。

+

Rust は、参照を含む構造体が、その参照が指す所有者よりも長く存在しないことを検証します。

+

構造体には、何もないところを指している参照を含めることはできません。

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

데이터 자료형의 생명주기

+

함수와 마찬가지로, 데이터 자료형의 구성원들도 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..f1678d660 --- /dev/null +++ b/56_pl.html @@ -0,0 +1,57 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..af21f5c4f --- /dev/null +++ b/56_pt-br.html @@ -0,0 +1,57 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..b8810c5c4 --- /dev/null +++ b/56_ro.html @@ -0,0 +1,57 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

Durate de viață în interiorul Structurilor de Date

+

Similiar 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..70322b573 --- /dev/null +++ b/56_ru.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Времена жизни у типов данных (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..531383774 --- /dev/null +++ b/56_th.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..a4e21304b --- /dev/null +++ b/56_tr.html @@ -0,0 +1,57 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..11875b2cb --- /dev/null +++ b/56_ua.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Час життя в типах даних

+

Подібно до функцій, типи даних можна параметризувати за допомогою специфікаторів часу життя специфікаторами часу життя його членів.

+

Rust перевіряє, що структура даних, яка містить посилання, ніколи не існує довше, ніж власники, на яких вона посилається.

+

Ми не можемо мати структури, які працюють з посиланнями, що вказують на неіснуючі дані!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/56_vi.html b/56_vi.html new file mode 100644 index 000000000..acabaae9a --- /dev/null +++ b/56_vi.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..1af06765c --- /dev/null +++ b/56_zh-cn.html @@ -0,0 +1,55 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

数据类型中的生命周期

+

和函数相同,数据类型也可以用生命周期注解来参数化其成员。 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..04ef3b479 --- /dev/null +++ b/56_zh-tw.html @@ -0,0 +1,57 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

資料型別的生命週期

+

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

+

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

+

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

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

[Noch nicht übersetzt] 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:

+ +

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_en.html b/57_en.html new file mode 100644 index 000000000..c37fa11c5 --- /dev/null +++ b/57_en.html @@ -0,0 +1,64 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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:

+ +

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..e3f941d1a --- /dev/null +++ b/57_es.html @@ -0,0 +1,62 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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:

+ +

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..2e082fb87 --- /dev/null +++ b/57_fa.html @@ -0,0 +1,64 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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:

+ +

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..d890d899e --- /dev/null +++ b/57_fi.html @@ -0,0 +1,64 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

[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:

+ +

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..f1aeba666 --- /dev/null +++ b/57_fr.html @@ -0,0 +1,64 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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:

+ +

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..ad554e552 --- /dev/null +++ b/57_gr.html @@ -0,0 +1,64 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

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:

+ +

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..404808ea2 --- /dev/null +++ b/57_hu.html @@ -0,0 +1,65 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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:

+ +

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..fc10377fd --- /dev/null +++ b/57_id.html @@ -0,0 +1,64 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[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:

+ +

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..e0a56f8fe --- /dev/null +++ b/57_ie.html @@ -0,0 +1,64 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/57_it.html b/57_it.html new file mode 100644 index 000000000..6a008583b --- /dev/null +++ b/57_it.html @@ -0,0 +1,64 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

[Non tradotto] 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:

+ +

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_ja.html b/57_ja.html new file mode 100644 index 000000000..2f3928a33 --- /dev/null +++ b/57_ja.html @@ -0,0 +1,64 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

第 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..42a626dcb --- /dev/null +++ b/57_ko.html @@ -0,0 +1,64 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

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..7ccc60a9b --- /dev/null +++ b/57_pl.html @@ -0,0 +1,63 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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:

+ +

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..36c5ac74e --- /dev/null +++ b/57_pt-br.html @@ -0,0 +1,62 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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:

+ +

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..878f4decf --- /dev/null +++ b/57_ro.html @@ -0,0 +1,64 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

Capitolul 5 - Încheiere

+

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:

+ +

Î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..30ec2d65c --- /dev/null +++ b/57_ru.html @@ -0,0 +1,65 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Глава 5 - Заключение

+

Уф, Вы через многое прошли, поздравляю! Я знаю, тут было много информации, но Вы на пути +становления Rust разработчика. Надеюсь, теперь немного понятней, как Rust пытается решить многие из +проблем системного программирования:

+ +

В следующеей главе мы применим эти знания, когда будем смотреть, как 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..024abe6df --- /dev/null +++ b/57_th.html @@ -0,0 +1,62 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

บทที่ 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..e0c9e4be5 --- /dev/null +++ b/57_tr.html @@ -0,0 +1,62 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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:

+ +

Öğ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..b8b9dfa25 --- /dev/null +++ b/57_ua.html @@ -0,0 +1,64 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Розділ 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..65be2c34b --- /dev/null +++ b/57_vi.html @@ -0,0 +1,63 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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:

+ +

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..06409a36a --- /dev/null +++ b/57_zh-cn.html @@ -0,0 +1,62 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

第五章 - 总结

+

哇,恭喜您成功走完了本章!我知道这下可能会有很多需要吸收的东西,但是您已经在成为一名 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..3f50dd701 --- /dev/null +++ b/57_zh-tw.html @@ -0,0 +1,62 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

第五章 - 總結

+

呼,恭喜撐過這章!我知道你有很多要消化,但你正以很棒的姿態成為一名 Rust 人。 希望你清楚的了解 Rust 以一門語言來說,是如何解決下列許多系統程式 (systems programming) 的共同問題:

+ +

在下一章節裡,我們將會應用一些這裡的知識,來看看 Rust 怎麼處理文字。

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

[Noch nicht übersetzt] String Literals

+

String literals are always Unicode.

+

String literals type are &'static str:

+ +

Memory details:

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

String Literals

+

String literals are always Unicode.

+

String literals type are &'static str:

+ +

Memory details:

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

Cadenas de Caracteres Literales

+

Las cadenas de caracteres literales son siempre unicode y de tipo &'static str:

+ +

Detalles de la memoria:

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

String Literals

+

String literals are always Unicode.

+

String literals type are &'static str:

+ +

Memory details:

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

[Kääntämätön] String Literals

+

String literals are always Unicode.

+

String literals type are &'static str:

+ +

Memory details:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/59_fr.html b/59_fr.html new file mode 100644 index 000000000..e3e58c09a --- /dev/null +++ b/59_fr.html @@ -0,0 +1,67 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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.

+ +

Détails de la mémoire:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/59_gr.html b/59_gr.html new file mode 100644 index 000000000..753be16bd --- /dev/null +++ b/59_gr.html @@ -0,0 +1,65 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

[Αμετάφραστο] String Literals

+

String literals are always Unicode.

+

String literals type are &'static str:

+ +

Memory details:

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

Szöveg értékek

+

A szöveg értékek mindig Unicode kódolásúak.

+

A típusuk &'static str:

+ +

Hogyan érinti ez a memóriát:

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

[belum diterjemahkan] String Literals

+

String literals are always Unicode.

+

String literals type are &'static str:

+ +

Memory details:

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

String Literals

+

String literals (caten-litterales) es sempre Unicode

+

Li tip por string literals es &'static str

+ +

Detallies pri memorie:

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

[Non tradotto] String Literals

+

String literals are always Unicode.

+

String literals type are &'static str:

+ +

Memory details:

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

文字列リテラル

+

文字列リテラルは常にUnicodeです。 +文字列リテラルの型は&'static strです。:

+ +

メモリに関する詳細:

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

문자열

+

문자열은 언제나 유니코드로 되어 있습니다.

+

문자열의 자료형은 &'static str입니다:

+ +

메모리 상세:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/59_pl.html b/59_pl.html new file mode 100644 index 000000000..2eb4e6b59 --- /dev/null +++ b/59_pl.html @@ -0,0 +1,65 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

String Literals

+

String literals are always Unicode.

+

String literals type are &'static str:

+ +

Memory details:

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

Literais string

+

Asd literais string são sempre Unicode.

+

O tipo de literais String é &'static str:

+ +

Detalhes da memória:

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

Șiruri de caractere literale

+

Șirurile de caractere literale (în engleză string literals) sunt întotdeauna reprezentate folosind codificarea utf-8 al setului de caracatere Unicode.

+

Șirurile de caractere literale sunt de tipul &'static str:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/59_ru.html b/59_ru.html new file mode 100644 index 000000000..b0f2f7a4b --- /dev/null +++ b/59_ru.html @@ -0,0 +1,66 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Тип строковые литералы (String Literals)

+

Строковые литералы Rust всегда в кодировке Unicode.

+

Типом строковых литералов всегда является описание &'static str:

+ +

Тонкости памяти:

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

การประกาศ String

+

String เป็น Unicode เสมอ

+

type ของ String ประกาศโดยใช้ &'static str:

+ +

รายละเอียดหน่วยความจำ:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/59_tr.html b/59_tr.html new file mode 100644 index 000000000..6059d0e35 --- /dev/null +++ b/59_tr.html @@ -0,0 +1,65 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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:

+ +

Bellek ayrıntıları:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/59_ua.html b/59_ua.html new file mode 100644 index 000000000..0af480a81 --- /dev/null +++ b/59_ua.html @@ -0,0 +1,65 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Рядкові літерали

+

Рядкові літерали завжди представлені у Unicode.

+

Тип рядкових літералів - &'static str:

+ +

Деталі про роботу з пам'яттю:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/59_vi.html b/59_vi.html new file mode 100644 index 000000000..2d1521947 --- /dev/null +++ b/59_vi.html @@ -0,0 +1,65 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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:

+ +

Chi tiết bộ nhớ:

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

字符串常量(String Literals)

+

字符串常量(String Literals)采用 Unicode 编码(注:下文提及的 utf-8 为 Unicode 的一部分)。

+

字符串常量的类型为 &'static str

+ +

内存细节:

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

字串常量 (string literals)

+

字串常量總是以萬國碼 (unicode) 表示。

+

字串常量型別為 &'static str

+ +

記憶體細節:

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

[Noch nicht übersetzt] 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_en.html b/60_en.html new file mode 100644 index 000000000..100bda700 --- /dev/null +++ b/60_en.html @@ -0,0 +1,62 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..2d906ff10 --- /dev/null +++ b/60_es.html @@ -0,0 +1,60 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

¿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..efa9046cc --- /dev/null +++ b/60_fa.html @@ -0,0 +1,62 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..45c87ffe6 --- /dev/null +++ b/60_fi.html @@ -0,0 +1,62 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

[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..8709c2d1e --- /dev/null +++ b/60_fr.html @@ -0,0 +1,68 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..21df96d0d --- /dev/null +++ b/60_gr.html @@ -0,0 +1,62 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

[Αμετάφραστο] 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..1c7531630 --- /dev/null +++ b/60_hu.html @@ -0,0 +1,66 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..bb988ac2b --- /dev/null +++ b/60_id.html @@ -0,0 +1,62 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[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..9e7d8313a --- /dev/null +++ b/60_ie.html @@ -0,0 +1,62 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..64ccba326 --- /dev/null +++ b/60_it.html @@ -0,0 +1,62 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

[Non tradotto] 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_ja.html b/60_ja.html new file mode 100644 index 000000000..da4c5e486 --- /dev/null +++ b/60_ja.html @@ -0,0 +1,59 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

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..cdd868689 --- /dev/null +++ b/60_ko.html @@ -0,0 +1,62 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

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..e7be324f5 --- /dev/null +++ b/60_pl.html @@ -0,0 +1,62 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..ebb0131eb --- /dev/null +++ b/60_pt-br.html @@ -0,0 +1,59 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..b13f999f3 --- /dev/null +++ b/60_ro.html @@ -0,0 +1,62 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..2c29e3308 --- /dev/null +++ b/60_ru.html @@ -0,0 +1,62 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Что такое 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..b2076285a --- /dev/null +++ b/60_th.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..e4b53c026 --- /dev/null +++ b/60_tr.html @@ -0,0 +1,67 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..4896463d5 --- /dev/null +++ b/60_ua.html @@ -0,0 +1,62 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Що таке 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..39fef2bad --- /dev/null +++ b/60_vi.html @@ -0,0 +1,60 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..cc3ae0934 --- /dev/null +++ b/60_zh-cn.html @@ -0,0 +1,59 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

什么是 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..382330e08 --- /dev/null +++ b/60_zh-tw.html @@ -0,0 +1,60 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

什麼是 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_de.html b/61_de.html new file mode 100644 index 000000000..6096fac02 --- /dev/null +++ b/61_de.html @@ -0,0 +1,65 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour durch Rust + + Inhaltsverzeichnis +
+
+

[Noch nicht übersetzt] 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:

+ +

The complete list exists here.

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

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:

+ +

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..ee8e4d431 --- /dev/null +++ b/61_es.html @@ -0,0 +1,65 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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.

+ +

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..b4bb39d11 --- /dev/null +++ b/61_fa.html @@ -0,0 +1,65 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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:

+ +

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..cf21c9757 --- /dev/null +++ b/61_fi.html @@ -0,0 +1,65 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

[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:

+ +

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..ec9287053 --- /dev/null +++ b/61_fr.html @@ -0,0 +1,66 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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:

+ +

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..aeb477674 --- /dev/null +++ b/61_gr.html @@ -0,0 +1,65 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

[Αμετάφραστο] 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:

+ +

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..e4f1818e9 --- /dev/null +++ b/61_hu.html @@ -0,0 +1,67 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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:

+ +

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..8e7f2da39 --- /dev/null +++ b/61_id.html @@ -0,0 +1,65 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[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:

+ +

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..0717cf0f1 --- /dev/null +++ b/61_ie.html @@ -0,0 +1,65 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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.

+ +

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..a01ad8172 --- /dev/null +++ b/61_it.html @@ -0,0 +1,65 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

[Non tradotto] 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:

+ +

The complete list exists here.

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

エスケープ文字

+

特定の文字を視覚的に表現するのは難しいので、エスケープ コード を使用することでその場所に記号を挿入することができます。

+

RustではC言語の共通エスケープコードがサポートされています。:

+ +

エスケープ文字の一覧はここにあります。

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

예외처리문자

+

어떤 문자들은 시각적으로 표현하기 어려우므로, 예외처리 코드(escape code) 로 대체하여 씁니다.

+

Rust는 C 기반 언어들의 일반적인 예외처리 코드를 지원합니다:

+ +

전체 목록은 여기서 보실 수 있습니다.

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

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:

+ +

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..4060f1b6e --- /dev/null +++ b/61_pt-br.html @@ -0,0 +1,65 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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:

+ +

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..9b592dde8 --- /dev/null +++ b/61_ro.html @@ -0,0 +1,65 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

Secvențe Escape

+

Este o provocare să reprezinți vizual anumite caractere, așa că secvențele escape (în engleză escape codes) ne permit să punem un simbol în locul lor.

+

Rust suportă codurile de escape comune ale limbajelor bazate pe C:

+ +

Lista completă există aici.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/61_ru.html b/61_ru.html new file mode 100644 index 000000000..158acf45b --- /dev/null +++ b/61_ru.html @@ -0,0 +1,65 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Экранирующие символы (Escaping Characters)

+

Некоторые символы сложно представлять визуально, поэтому экранирующие коды (escape codes) позволяют размещать такие символы на их месте

+

Rust поддерживает общие экранирующие коды взятые из Cи-подобных яызков:

+ +

Полный список смотрите по ссылке здесь.

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

Escaping Characters

+

มีอักขระหลายตัวที่ไม่สามารถเห็นได้ด้วยตา escape codes จึงเข้ามาช่วยในเรื่องนี้

+

Rust รับรอง escape codes ที่ภาษา C ใช้กันอยู่แล้ว:

+ +

ดูทั้งหมดได้ ที่นี่.

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

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:

+ +

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..9e1e3898f --- /dev/null +++ b/61_ua.html @@ -0,0 +1,65 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Екранування символів

+

Візуально представити певні символи складно, тому екранування дозволяє нам розмістити символ у потрібному місці.

+

Rust підтримує типові екрановані символи з С-подібних мов:

+ +

Повний список знаходиться тут.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/61_vi.html b/61_vi.html new file mode 100644 index 000000000..c1603ba15 --- /dev/null +++ b/61_vi.html @@ -0,0 +1,65 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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:

+ +

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..d3aa4cb36 --- /dev/null +++ b/61_zh-cn.html @@ -0,0 +1,65 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

转义字符

+

有些字符难以使用可视字符表示,这时可通过转义字符来表示这些字符。

+

Rust 支持类 C 语言中的常见转义字符;

+ +

完整的转义字符表在这

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

跳脫字元

+

在畫面上要表示某些特定的字元是非常有挑戰性的,所以 跳脫符號 (escape codes) 允許我們用一個符號來表示。

+

Rust 支援 C 語言相關的跳脫符號:

+ +

完整列表在這裡.

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

[Noch nicht übersetzt] 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_en.html b/62_en.html new file mode 100644 index 000000000..a99bf24f7 --- /dev/null +++ b/62_en.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..c76e68aa2 --- /dev/null +++ b/62_es.html @@ -0,0 +1,56 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..2bff26d15 --- /dev/null +++ b/62_fa.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..ff2928314 --- /dev/null +++ b/62_fi.html @@ -0,0 +1,56 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

[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..da0ca8b4d --- /dev/null +++ b/62_fr.html @@ -0,0 +1,56 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..a466dfe0f --- /dev/null +++ b/62_gr.html @@ -0,0 +1,56 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

[Αμετάφραστο] 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..2c3b71547 --- /dev/null +++ b/62_hu.html @@ -0,0 +1,56 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..d6e1017d7 --- /dev/null +++ b/62_id.html @@ -0,0 +1,56 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[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..4faa4e93f --- /dev/null +++ b/62_ie.html @@ -0,0 +1,56 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..916a4140c --- /dev/null +++ b/62_it.html @@ -0,0 +1,56 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

[Non tradotto] 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_ja.html b/62_ja.html new file mode 100644 index 000000000..482ad008c --- /dev/null +++ b/62_ja.html @@ -0,0 +1,56 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

複数行の文字列リテラル

+

Rustにおける文字列はデフォルトで複数行に対応しています。

+

改行したくない場合は、行の最後に \ を挿入しましょう。

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

여러 줄로 된 문자열

+

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

+

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

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/62_pl.html b/62_pl.html new file mode 100644 index 000000000..4d5964991 --- /dev/null +++ b/62_pl.html @@ -0,0 +1,56 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..72d6c8f74 --- /dev/null +++ b/62_pt-br.html @@ -0,0 +1,56 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..8f5987393 --- /dev/null +++ b/62_ro.html @@ -0,0 +1,56 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

Șiruri de caractere literale pe mai multe linii

+

Șirurile de caractere din Rust sunt î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..4d8cd4db1 --- /dev/null +++ b/62_ru.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Многострочные строковые литералы (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..d0b66b800 --- /dev/null +++ b/62_th.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..8b2307df1 --- /dev/null +++ b/62_tr.html @@ -0,0 +1,56 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

Ç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..b83e4a8c2 --- /dev/null +++ b/62_ua.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Багаторядкові рядкові літерали

+

Текст у Rust є багаторядковим за замовчуванням.

+

Ви можете використовувати \ у кінці рядка, якщо ви не хочете +щоб він був перенесений на інший.

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

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..b99e0ef21 --- /dev/null +++ b/62_zh-cn.html @@ -0,0 +1,56 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

多行字符串常量

+

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..d28677635 --- /dev/null +++ b/62_zh-tw.html @@ -0,0 +1,56 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

多行字串常量

+

Rust 字串預設是多行的。

+

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

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

[Noch nicht übersetzt] 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_en.html b/63_en.html new file mode 100644 index 000000000..4dd53cbc8 --- /dev/null +++ b/63_en.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..fae3a218b --- /dev/null +++ b/63_es.html @@ -0,0 +1,55 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..0b9c8d776 --- /dev/null +++ b/63_fa.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..06c08799d --- /dev/null +++ b/63_fi.html @@ -0,0 +1,56 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

[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..8895f33d5 --- /dev/null +++ b/63_fr.html @@ -0,0 +1,58 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..287253e63 --- /dev/null +++ b/63_gr.html @@ -0,0 +1,56 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

[Αμετάφραστο] 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..0254a7302 --- /dev/null +++ b/63_hu.html @@ -0,0 +1,60 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..c3ecb7c3e --- /dev/null +++ b/63_id.html @@ -0,0 +1,56 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[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..795786e76 --- /dev/null +++ b/63_ie.html @@ -0,0 +1,56 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..37181cb8b --- /dev/null +++ b/63_it.html @@ -0,0 +1,56 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

[Non tradotto] 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_ja.html b/63_ja.html new file mode 100644 index 000000000..71d659db4 --- /dev/null +++ b/63_ja.html @@ -0,0 +1,56 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

生文字列リテラル

+

生文字列では、r#"で始まり"#で終わる文字列を逐語的に書くことができます。 +これによって、通常の文字列との区別がつかない可能性のある文字をリテラルとして挿入することができます。(二重引用符やバックスラッシュなど)

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

원시 문자열

+

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

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/63_pl.html b/63_pl.html new file mode 100644 index 000000000..871a41078 --- /dev/null +++ b/63_pl.html @@ -0,0 +1,56 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..3f23a6dc7 --- /dev/null +++ b/63_pt-br.html @@ -0,0 +1,55 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..2357ebdb1 --- /dev/null +++ b/63_ro.html @@ -0,0 +1,56 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

Șiruri de caractere literale brute

+

Șiruri de caractere brute (în engleză raw strings) ne permit scrierea unei secvente 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-urile).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/63_ru.html b/63_ru.html new file mode 100644 index 000000000..81bf9acad --- /dev/null +++ b/63_ru.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Сырые (необработанные) строковые литералы (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..3befce52e --- /dev/null +++ b/63_th.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..d2af777b6 --- /dev/null +++ b/63_tr.html @@ -0,0 +1,55 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..4aa91b201 --- /dev/null +++ b/63_ua.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Необроблені рядкові літерали

+

Необроблені рядки дозволяють нам записати послідовність символів дослівно, починаючи з r#" і закінчуючи"#. Це дає нам можливість вставляти +символи, які інакше можуть сплутати звичайний рядок із літералами (наприклад подвійні лапки та зворотні слеші).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/63_vi.html b/63_vi.html new file mode 100644 index 000000000..694e4116e --- /dev/null +++ b/63_vi.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..8279a3e4f --- /dev/null +++ b/63_zh-cn.html @@ -0,0 +1,55 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

原始字符串常量

+

原始字符串支持写入原始的文本而无需为特殊字符转义,因而不会导致可读性下降(如双引号与反斜杠无需写为 \"\\),只需以 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..a43d40a82 --- /dev/null +++ b/63_zh-tw.html @@ -0,0 +1,55 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

原始字串常量 (raw string literals)

+

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

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

[Noch nicht übersetzt] 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_en.html b/64_en.html new file mode 100644 index 000000000..3a076deaa --- /dev/null +++ b/64_en.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..a2298dd7d --- /dev/null +++ b/64_es.html @@ -0,0 +1,55 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..2a30df289 --- /dev/null +++ b/64_fa.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..ecf2b70f6 --- /dev/null +++ b/64_fi.html @@ -0,0 +1,55 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

[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..a6b462765 --- /dev/null +++ b/64_fr.html @@ -0,0 +1,56 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..117671f38 --- /dev/null +++ b/64_gr.html @@ -0,0 +1,55 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

[Αμετάφραστο] 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..2904d02be --- /dev/null +++ b/64_hu.html @@ -0,0 +1,56 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..55a96f79d --- /dev/null +++ b/64_id.html @@ -0,0 +1,55 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[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..dd55ce602 --- /dev/null +++ b/64_ie.html @@ -0,0 +1,55 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..188fba4bf --- /dev/null +++ b/64_it.html @@ -0,0 +1,55 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

[Non tradotto] 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_ja.html b/64_ja.html new file mode 100644 index 000000000..5469a39c3 --- /dev/null +++ b/64_ja.html @@ -0,0 +1,55 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

ファイルから文字列リテラルを読み込む

+

非常に大きなテキストがある場合は, 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..7e9abc976 --- /dev/null +++ b/64_ko.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

파일에서 문자열 가져오기

+

매우 큰 텍스트가 필요하다면 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..ce7a3611a --- /dev/null +++ b/64_pl.html @@ -0,0 +1,55 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..2463d074f --- /dev/null +++ b/64_pt-br.html @@ -0,0 +1,55 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..f70119434 --- /dev/null +++ b/64_ro.html @@ -0,0 +1,55 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

Șiruri de caractere literale din fisiere

+

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..3dcacf629 --- /dev/null +++ b/64_ru.html @@ -0,0 +1,55 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Строковые литераты из файлов

+

Если у вас очень большой текст, попробуйте использовать макрос 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..aa6b56a8d --- /dev/null +++ b/64_th.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..3c4cf228a --- /dev/null +++ b/64_tr.html @@ -0,0 +1,55 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..07d16d6f4 --- /dev/null +++ b/64_ua.html @@ -0,0 +1,55 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Рядкові літерали з файлів

+

Якщо у вас є дуже великий текст, спробуйте використати для нього макрос 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..2615d65ae --- /dev/null +++ b/64_vi.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..50e2ddef0 --- /dev/null +++ b/64_zh-cn.html @@ -0,0 +1,55 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

文件中的字符串常量

+

如果你需要使用大量文本,可以尝试用宏 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..fdb933ec1 --- /dev/null +++ b/64_zh-tw.html @@ -0,0 +1,55 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

從檔案來的字串常量

+

如果你有一些非常長的文字,可以考慮使用巨集 (marco) include_str! 將字串從本地檔案讀到你的程式裡:

+
let hello_html = include_str!("hello.html");
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/65_de.html b/65_de.html new file mode 100644 index 000000000..ceae954c0 --- /dev/null +++ b/65_de.html @@ -0,0 +1,63 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour durch Rust + + Inhaltsverzeichnis +
+
+

[Noch nicht übersetzt] 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:

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

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:

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

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:

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

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:

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

[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:

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

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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/65_gr.html b/65_gr.html new file mode 100644 index 000000000..dbb3b0f7d --- /dev/null +++ b/65_gr.html @@ -0,0 +1,63 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

[Αμετάφραστο] 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:

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

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:

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

[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:

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

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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/65_it.html b/65_it.html new file mode 100644 index 000000000..901bc2484 --- /dev/null +++ b/65_it.html @@ -0,0 +1,63 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

[Non tradotto] 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:

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

文字列スライス

+

文字列スライスは、常に有効な utf-8 でなければならないメモリ内のバイト列への参照です。

+

文字列のスライス(サブスライス)である str のスライスも有効な utf-8 でなければなりません。

+

&str の一般的なメソッド:

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

문자열 슬라이스

+

문자열 slice는 메모리 상의 바이트 열에 대한 참조이며, 언제나 유효한 utf-8이어야 합니다.

+

str slice의 문자열 slice (sub-slice)도 역시 유효한 utf-8이어야 합니다.

+

&str의 흔히 사용되는 메소드는 다음과 같습니다:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/65_pl.html b/65_pl.html new file mode 100644 index 000000000..7c4ab93b4 --- /dev/null +++ b/65_pl.html @@ -0,0 +1,63 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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:

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

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:

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

Subșiruri de caractere

+

Un subșir de caractere (în engleză string slice) este o referință la o secvență de octeți din memorie ce trebuie întotdeauna să fie î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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/65_ru.html b/65_ru.html new file mode 100644 index 000000000..5f47ddc75 --- /dev/null +++ b/65_ru.html @@ -0,0 +1,63 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Строковые срезы (String Slice)

+

Строковым срезом является ссылка на последовательность байт в памяти, которые всегда должны быть действительными символами в кодировке utf-8.

+

Строковый срез (саб-срез) от среза str, также должен быть действительным в utf-8.

+

Общие методы типа &str:

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

String Slice

+

string slice ใดก็ตามคือการอ้างถึง ไบต์กลุ่มหนึ่งในหน่วยความจำที่อยู่ในรูป utf-8 ที่ถูกต้องเสมอ

+

string slice (ส่วนย่อย) แต่ละชิ้นของ str ก็ต้องเป็น utf-8 ที่ถูกต้องแน่นอนเช่นกัน

+

เมธอดที่ใช้โดยทั่วไปของ &str ได้แก่:

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

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:

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

Рядкові зрізи (String Slice)

+

Зріз рядка — це посилання на послідовність байтів у пам’яті, яка завжди має бути дійсною у utf-8.

+

Фрагмент рядка (підфрагмент) фрагмента str також має бути дійсним у utf-8. +Розповсюдженеі методи &str:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/65_vi.html b/65_vi.html new file mode 100644 index 000000000..0e2f32b49 --- /dev/null +++ b/65_vi.html @@ -0,0 +1,63 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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:

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

字符串片段(String Slice)

+

字符串片段是对内存中字节序列的引用,而且这段字节序列必须是合法的 utf-8 字节序列。

+

str 片段的字符串片段(子片段),也必须是合法的 utf-8 字节序列。

+

&str 的常用方法:

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

字串切片 (string slice)

+

一個字串切片是一個指到記憶體裡一連串位元組的參考,而且必定是合法的 utf-8。

+

一個 str 切片的字串切片 (一個子切片),必定也是合法的 utf-8。

+

常見的 &str 方法:

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

[Noch nicht übersetzt] 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_en.html b/66_en.html new file mode 100644 index 000000000..4cb53c241 --- /dev/null +++ b/66_en.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..eecba4168 --- /dev/null +++ b/66_es.html @@ -0,0 +1,56 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..3245b9b7e --- /dev/null +++ b/66_fa.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..75cc8c6cd --- /dev/null +++ b/66_fi.html @@ -0,0 +1,56 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

[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..7810d98ad --- /dev/null +++ b/66_fr.html @@ -0,0 +1,59 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..7e64c2d5f --- /dev/null +++ b/66_gr.html @@ -0,0 +1,56 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

[Αμετάφραστο] 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..cf97dee33 --- /dev/null +++ b/66_hu.html @@ -0,0 +1,57 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..8bae68fd7 --- /dev/null +++ b/66_id.html @@ -0,0 +1,56 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[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..e27ae31fa --- /dev/null +++ b/66_ie.html @@ -0,0 +1,56 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..f16699ed6 --- /dev/null +++ b/66_it.html @@ -0,0 +1,56 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

[Non tradotto] 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_ja.html b/66_ja.html new file mode 100644 index 000000000..a63a423c0 --- /dev/null +++ b/66_ja.html @@ -0,0 +1,56 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

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..4cb5d0a90 --- /dev/null +++ b/66_ko.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

문자

+

유니코드를 다루는 것이 꽤나 어렵다보니, 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..de4d2d85f --- /dev/null +++ b/66_pl.html @@ -0,0 +1,56 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..efaa4371b --- /dev/null +++ b/66_pt-br.html @@ -0,0 +1,56 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..61573fdcc --- /dev/null +++ b/66_ro.html @@ -0,0 +1,56 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..250f86bd7 --- /dev/null +++ b/66_ru.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Символы (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..733dbb519 --- /dev/null +++ b/66_th.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..c87f3a3a1 --- /dev/null +++ b/66_tr.html @@ -0,0 +1,56 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..fe3b4b2ae --- /dev/null +++ b/66_ua.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Тип 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..a50ac56c3 --- /dev/null +++ b/66_vi.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..a034d17d9 --- /dev/null +++ b/66_zh-cn.html @@ -0,0 +1,56 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

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..154ff9caa --- /dev/null +++ b/66_zh-tw.html @@ -0,0 +1,56 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

字元 (chars)

+

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

+

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

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

[Noch nicht übersetzt] 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:

+ +

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_en.html b/67_en.html new file mode 100644 index 000000000..b96c20fdb --- /dev/null +++ b/67_en.html @@ -0,0 +1,65 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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:

+ +

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..c68b2fde9 --- /dev/null +++ b/67_es.html @@ -0,0 +1,65 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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:

+ +

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..26b9081c3 --- /dev/null +++ b/67_fa.html @@ -0,0 +1,65 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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:

+ +

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..41c6bea0f --- /dev/null +++ b/67_fi.html @@ -0,0 +1,65 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

[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:

+ +

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..37beb5586 --- /dev/null +++ b/67_fr.html @@ -0,0 +1,69 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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:

+ +

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..1d98bc162 --- /dev/null +++ b/67_gr.html @@ -0,0 +1,65 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

[Αμετάφραστο] 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:

+ +

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..c53b3240a --- /dev/null +++ b/67_hu.html @@ -0,0 +1,68 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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:

+ +

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..558039af9 --- /dev/null +++ b/67_id.html @@ -0,0 +1,65 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[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:

+ +

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..07b175ce8 --- /dev/null +++ b/67_ie.html @@ -0,0 +1,65 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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:

+ +

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..0b550a018 --- /dev/null +++ b/67_it.html @@ -0,0 +1,65 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

[Non tradotto] 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:

+ +

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_ja.html b/67_ja.html new file mode 100644 index 000000000..91bf04246 --- /dev/null +++ b/67_ja.html @@ -0,0 +1,65 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

String

+

String はヒープにutf-8バイト列をもつ構造体です。

+

そのメモリはヒープ上にあるため、文字列リテラルでは出来ないような、拡張や修正などが可能です。

+

共通のメソッド:

+ +

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..d3d5764db --- /dev/null +++ b/67_ko.html @@ -0,0 +1,65 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

스트링

+

String은 utf-8 바이트 열을 heap memory에 소유하는 struct입니다.

+

String의 메모리는 heap에 있기 때문에, 문자열과는 달리 늘리거나 변경하거나 기타 등등을 할 수 있습니다.

+

흔히 쓰는 메소드입니다:

+ +

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..6052c26dc --- /dev/null +++ b/67_pl.html @@ -0,0 +1,65 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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:

+ +

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..ec0cd73f6 --- /dev/null +++ b/67_pt-br.html @@ -0,0 +1,65 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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:

+ +

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..52884bc91 --- /dev/null +++ b/67_ro.html @@ -0,0 +1,65 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

Șiruri de caractere

+

Un șir de caractere (în engleză 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:

+ +

Atunci când un șir de caractere este eliminat (drop), este eliminată și memoria heap a acestuia.

+

Șirile de caractere au un operator + care extinde șirul cu un &str. (Ș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.) dar s-ar putea să nu fie atât de ergonomic pe cât sperați.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/67_ru.html b/67_ru.html new file mode 100644 index 000000000..99dcafedc --- /dev/null +++ b/67_ru.html @@ -0,0 +1,65 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Строковый тип (String)

+

Тип String является структурой, которая владеет последовательностью utf-8 байтов в куче.

+

Так как эта память в куче, то ее можно расширять, изменять и т.д. способами, которые не доступны для типа строковых литералов.

+

Общие методы:

+ +

Когда 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..011f2fda4 --- /dev/null +++ b/67_th.html @@ -0,0 +1,65 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

String

+

String ก็คือ struct ที่ครอบครองลำดับของ ไบต์ของ utf-8 ที่อยู่ใน heap

+

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

+

เมธอดที่ใช้ทั่วไปได้แก่:

+ +

เมื่อ 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..3d6c318da --- /dev/null +++ b/67_tr.html @@ -0,0 +1,65 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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 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..f0bc6c68b --- /dev/null +++ b/67_ua.html @@ -0,0 +1,65 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Структура String

+

String— це структура, яка зберігає у собі послідовність байтів utf-8 у купі (heap memory). +Оскільки його пам’ять знаходиться в купі, його можна розширювати, змінювати тощо так, як це неможливо зробити з рядковими літералами.

+

Розповсюдженні методи:

+ +

Якщо 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..ba574eea9 --- /dev/null +++ b/67_vi.html @@ -0,0 +1,65 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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:

+ +

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..5260c1a78 --- /dev/null +++ b/67_zh-cn.html @@ -0,0 +1,65 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

字符串(String)

+

字符串String 是一个结构体,其持有以堆(heap)的形式在内存中存储的 utf-8 字节序列。

+

由于它以堆的形式来存储,字符串可以延长、修改等等。这些都是字符串常量(string literals)无法执行的操作。

+

常用方法:

+ +

如果字符串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..6b8e6790f --- /dev/null +++ b/67_zh-tw.html @@ -0,0 +1,65 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

字串 (string)

+

一個字串 是一個結構,它在堆記憶體 (heap memory) 裡擁有一連串的 utf-8 位元組。

+

因為它的記憶體在堆 (heap) 上,所以它可以被延長、修改…等,而字串常量 (string literals) 不能。

+

常見的方法:

+ +

當一個字串被徹下時,它的堆記憶體也同時被徹下。

+

String+ 運算子可以與一個 &str 延長字串,而且他會回傳自己,但它可能不如你想像中的好用。

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

[Noch nicht übersetzt] 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_en.html b/68_en.html new file mode 100644 index 000000000..96ec40316 --- /dev/null +++ b/68_en.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..7cebe5f5b --- /dev/null +++ b/68_es.html @@ -0,0 +1,55 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..ef4d65f18 --- /dev/null +++ b/68_fa.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..82e780b55 --- /dev/null +++ b/68_fi.html @@ -0,0 +1,56 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

[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..b45f167d2 --- /dev/null +++ b/68_fr.html @@ -0,0 +1,56 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..9a5c71eba --- /dev/null +++ b/68_gr.html @@ -0,0 +1,56 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

[Αμετάφραστο] 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..5df75908f --- /dev/null +++ b/68_hu.html @@ -0,0 +1,56 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..55b776a44 --- /dev/null +++ b/68_id.html @@ -0,0 +1,56 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[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..02809b02f --- /dev/null +++ b/68_ie.html @@ -0,0 +1,56 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..2984398d8 --- /dev/null +++ b/68_it.html @@ -0,0 +1,56 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

[Non tradotto] 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_ja.html b/68_ja.html new file mode 100644 index 000000000..357ed8076 --- /dev/null +++ b/68_ja.html @@ -0,0 +1,55 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

関数パラメータとしてのテキスト

+

文字列リテラルや文字列は、一般的に文字列スライスとして関数に渡されます。 これによって、実際には所有権を渡す必要がないほとんど場合において柔軟性が増します。

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

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

+

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

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

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..2a5a06d7a --- /dev/null +++ b/68_pt-br.html @@ -0,0 +1,55 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..d19f0de69 --- /dev/null +++ b/68_ro.html @@ -0,0 +1,56 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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, cand 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..600a92b4f --- /dev/null +++ b/68_ru.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Текст как параметр функции (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..d482c64e2 --- /dev/null +++ b/68_th.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

การส่งพารามิเตอร์ด้วยข้อความ

+

โดยปกติ ไม่ว่าจะเป็นข้อความของ 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..e58d4e5df --- /dev/null +++ b/68_tr.html @@ -0,0 +1,55 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

İş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..9de5fa35d --- /dev/null +++ b/68_ua.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Текст,як параметр функції

+

Рядкові літерали та рядки зазвичай передаються функціям як рядкові зрізи. Це забезпечує велику гнучкість для більшості +сценаріїв, коли вам фактично не потрібно передавати право володіння.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/68_vi.html b/68_vi.html new file mode 100644 index 000000000..525f18ae1 --- /dev/null +++ b/68_vi.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..0374cc99b --- /dev/null +++ b/68_zh-cn.html @@ -0,0 +1,55 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

将文本作为函数的参数

+

字符串常量(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..4ec39393c --- /dev/null +++ b/68_zh-tw.html @@ -0,0 +1,55 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

將文字當作函式參數

+

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

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

[Noch nicht übersetzt] Building Strings

+

concat and join are two simple but powerful ways for building strings.

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

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..55277c3ca --- /dev/null +++ b/69_es.html @@ -0,0 +1,55 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..b76360f8e --- /dev/null +++ b/69_fa.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..6a3ee8ec0 --- /dev/null +++ b/69_fi.html @@ -0,0 +1,55 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

[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..12719eb26 --- /dev/null +++ b/69_fr.html @@ -0,0 +1,55 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..59f65570f --- /dev/null +++ b/69_gr.html @@ -0,0 +1,55 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

[Αμετάφραστο] 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..d75c86485 --- /dev/null +++ b/69_hu.html @@ -0,0 +1,55 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..01cb05b90 --- /dev/null +++ b/69_id.html @@ -0,0 +1,55 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[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..6a443119e --- /dev/null +++ b/69_ie.html @@ -0,0 +1,55 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..c35af78c3 --- /dev/null +++ b/69_it.html @@ -0,0 +1,55 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

[Non tradotto] Building Strings

+

concat and join are two simple but powerful ways for building strings.

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

文字列の構築

+

concatjoin は、文字列を構築するためのシンプルだが強力な方法です。

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

스트링 만들기

+

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

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

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..966447ab4 --- /dev/null +++ b/69_pt-br.html @@ -0,0 +1,55 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..b6d5e927a --- /dev/null +++ b/69_ro.html @@ -0,0 +1,55 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..be01fb259 --- /dev/null +++ b/69_ru.html @@ -0,0 +1,55 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Создание строк

+

Методы concat и join являются двумя простыми, но мощными способами для создания строк.

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

การสร้าง 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..d7932b7db --- /dev/null +++ b/69_tr.html @@ -0,0 +1,55 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..cbc2de68a --- /dev/null +++ b/69_ua.html @@ -0,0 +1,55 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Побудова рядків

+

concat і join - два прості, але потужні способи створення рядків.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/69_vi.html b/69_vi.html new file mode 100644 index 000000000..e6cecd1c4 --- /dev/null +++ b/69_vi.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..e3283de53 --- /dev/null +++ b/69_zh-cn.html @@ -0,0 +1,55 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

字符串构建

+

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..c3a4af171 --- /dev/null +++ b/69_zh-tw.html @@ -0,0 +1,55 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

建立字串

+

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

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

[Noch nicht übersetzt] 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_en.html b/70_en.html new file mode 100644 index 000000000..84ec41fa8 --- /dev/null +++ b/70_en.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..1fa875efc --- /dev/null +++ b/70_es.html @@ -0,0 +1,57 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..2c02883fb --- /dev/null +++ b/70_fa.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..663a283a8 --- /dev/null +++ b/70_fi.html @@ -0,0 +1,57 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

[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..f4fa3b1d9 --- /dev/null +++ b/70_fr.html @@ -0,0 +1,61 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..f80531c07 --- /dev/null +++ b/70_gr.html @@ -0,0 +1,57 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

[Αμετάφραστο] 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..a93b3f274 --- /dev/null +++ b/70_hu.html @@ -0,0 +1,61 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..f10f79ece --- /dev/null +++ b/70_id.html @@ -0,0 +1,57 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[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..c5c130ba5 --- /dev/null +++ b/70_ie.html @@ -0,0 +1,57 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..d92bbbf9c --- /dev/null +++ b/70_it.html @@ -0,0 +1,57 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

[Non tradotto] 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_ja.html b/70_ja.html new file mode 100644 index 000000000..ddb1bba4b --- /dev/null +++ b/70_ja.html @@ -0,0 +1,57 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

文字列のフォーマット

+

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..d69710931 --- /dev/null +++ b/70_ko.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

스트링 양식 만들기

+

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..9e3b937e4 --- /dev/null +++ b/70_pl.html @@ -0,0 +1,57 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..447945250 --- /dev/null +++ b/70_pt-br.html @@ -0,0 +1,57 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..85298e665 --- /dev/null +++ b/70_ro.html @@ -0,0 +1,57 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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 (exemplu: {}).

+

format! utilizează aceleași șiruri parametrizate ca și println!.

+

Capabilitățile acestei funcții sunt de o amploare prea mare pentru Turul limbajului Rust; consultați 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..0143a6e7c --- /dev/null +++ b/70_ru.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Форматирование строк (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..8df951226 --- /dev/null +++ b/70_th.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

การจัดรูปแบบ 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..d17f56c43 --- /dev/null +++ b/70_tr.html @@ -0,0 +1,57 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..3c7982ead --- /dev/null +++ b/70_ua.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Форматування рядків

+

Макрос 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..10983bdfd --- /dev/null +++ b/70_vi.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

Đị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..127f7be0e --- /dev/null +++ b/70_zh-cn.html @@ -0,0 +1,57 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

字符串格式化

+

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..4156eb78a --- /dev/null +++ b/70_zh-tw.html @@ -0,0 +1,57 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

字串格式化

+

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

+

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

+

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

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

[Noch nicht übersetzt] 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_en.html b/71_en.html new file mode 100644 index 000000000..bb7f6b201 --- /dev/null +++ b/71_en.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..5b27bcdcb --- /dev/null +++ b/71_es.html @@ -0,0 +1,56 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..b7d04b6ae --- /dev/null +++ b/71_fa.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..6dee118d6 --- /dev/null +++ b/71_fi.html @@ -0,0 +1,58 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

[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..f22d9b36b --- /dev/null +++ b/71_fr.html @@ -0,0 +1,58 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..1286185a3 --- /dev/null +++ b/71_gr.html @@ -0,0 +1,58 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

[Αμετάφραστο] 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..a4031e0ce --- /dev/null +++ b/71_hu.html @@ -0,0 +1,58 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..79d96d1a7 --- /dev/null +++ b/71_id.html @@ -0,0 +1,58 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[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..1c051ba36 --- /dev/null +++ b/71_ie.html @@ -0,0 +1,58 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..df122ccd4 --- /dev/null +++ b/71_it.html @@ -0,0 +1,58 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

[Non tradotto] 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_ja.html b/71_ja.html new file mode 100644 index 000000000..da05828b3 --- /dev/null +++ b/71_ja.html @@ -0,0 +1,56 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

文字列変換

+

多くの型は 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..bdd45e1e0 --- /dev/null +++ b/71_ko.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

스트링 변환

+

많은 자료형이 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..a5d588ac5 --- /dev/null +++ b/71_pl.html @@ -0,0 +1,58 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..bbbb69d29 --- /dev/null +++ b/71_pt-br.html @@ -0,0 +1,56 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..8b29f257b --- /dev/null +++ b/71_ro.html @@ -0,0 +1,57 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..44dab415d --- /dev/null +++ b/71_ru.html @@ -0,0 +1,58 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Преобразование строк (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..1ee8e1f23 --- /dev/null +++ b/71_th.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

การแปลงค่า 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..633747dcd --- /dev/null +++ b/71_tr.html @@ -0,0 +1,57 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..8c7d7acbe --- /dev/null +++ b/71_ua.html @@ -0,0 +1,58 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Конвертація рядків

+

Багато типів можна конвертувати у 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..9beadea39 --- /dev/null +++ b/71_vi.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..bd6c7157d --- /dev/null +++ b/71_zh-cn.html @@ -0,0 +1,56 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

字符串转换

+

许多类型都可以通过 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..c85210dcf --- /dev/null +++ b/71_zh-tw.html @@ -0,0 +1,56 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

字串轉換

+

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

+

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

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

[Noch nicht übersetzt] 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_en.html b/72_en.html new file mode 100644 index 000000000..2993648da --- /dev/null +++ b/72_en.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..53d61fe03 --- /dev/null +++ b/72_es.html @@ -0,0 +1,54 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..55ffff017 --- /dev/null +++ b/72_fa.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..737c54ad5 --- /dev/null +++ b/72_fi.html @@ -0,0 +1,56 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

[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..6d305b455 --- /dev/null +++ b/72_fr.html @@ -0,0 +1,60 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..805dc4654 --- /dev/null +++ b/72_gr.html @@ -0,0 +1,56 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

[Αμετάφραστο] 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..a7ef8444b --- /dev/null +++ b/72_hu.html @@ -0,0 +1,57 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..7d75ca41b --- /dev/null +++ b/72_id.html @@ -0,0 +1,56 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[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..0ca2957b9 --- /dev/null +++ b/72_ie.html @@ -0,0 +1,56 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..df3ed8c9e --- /dev/null +++ b/72_it.html @@ -0,0 +1,56 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

[Non tradotto] 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_ja.html b/72_ja.html new file mode 100644 index 000000000..e658dce4d --- /dev/null +++ b/72_ja.html @@ -0,0 +1,54 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

第 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..83f0ea5d7 --- /dev/null +++ b/72_ko.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

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..d6f58de06 --- /dev/null +++ b/72_pl.html @@ -0,0 +1,56 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..136566b36 --- /dev/null +++ b/72_pt-br.html @@ -0,0 +1,54 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..4e52fce66 --- /dev/null +++ b/72_ro.html @@ -0,0 +1,56 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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 și despre capacitățile dezvăluite 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..9c78b2f2c --- /dev/null +++ b/72_ru.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Глава 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..da47e9f6c --- /dev/null +++ b/72_th.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

บทที่ 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..5a73cfca7 --- /dev/null +++ b/72_tr.html @@ -0,0 +1,54 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..b56ffa7c2 --- /dev/null +++ b/72_ua.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Розділ 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..61d8721e3 --- /dev/null +++ b/72_vi.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..c0e5301e9 --- /dev/null +++ b/72_zh-cn.html @@ -0,0 +1,54 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

第六章 - 总结

+

现在你已经懂得 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..324ddf68a --- /dev/null +++ b/72_zh-tw.html @@ -0,0 +1,54 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

第六章 - 總結

+

現在你知道文字的基本了!如同你所看到的,萬國碼使得文字處理有一點難處理,但標準函式庫 (standard library) 有很多函式讓它容易被管理。

+

截至目前為止,我們大部份都以程序化程式設計 (procedural paradigm) 的角度來看待 Rust (即,單單只有函式跟資料), 但現在是時候讓我們討論特徵 (traits) 及 Rust 物件導向程式設計 (object oriented paradigm) 的能力了。

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

[Noch nicht übersetzt] What Is OOP?

+

Object oriented programming roughly refers to programming languages that have a number of iconic features:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/74_en.html b/74_en.html new file mode 100644 index 000000000..5fb7a279e --- /dev/null +++ b/74_en.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

What Is OOP?

+

Object oriented programming roughly refers to programming languages that have a number of iconic features:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/74_es.html b/74_es.html new file mode 100644 index 000000000..e6414f015 --- /dev/null +++ b/74_es.html @@ -0,0 +1,59 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

¿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:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/74_fa.html b/74_fa.html new file mode 100644 index 000000000..29dfccbb1 --- /dev/null +++ b/74_fa.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

What Is OOP?

+

Object oriented programming roughly refers to programming languages that have a number of iconic features:

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

[Kääntämätön] What Is OOP?

+

Object oriented programming roughly refers to programming languages that have a number of iconic features:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/74_fr.html b/74_fr.html new file mode 100644 index 000000000..3ddb39832 --- /dev/null +++ b/74_fr.html @@ -0,0 +1,64 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/74_gr.html b/74_gr.html new file mode 100644 index 000000000..46d38e984 --- /dev/null +++ b/74_gr.html @@ -0,0 +1,59 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

[Αμετάφραστο] What Is OOP?

+

Object oriented programming roughly refers to programming languages that have a number of iconic features:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/74_hu.html b/74_hu.html new file mode 100644 index 000000000..3011afb01 --- /dev/null +++ b/74_hu.html @@ -0,0 +1,63 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

Mi az az OOP?

+

Az Objektum-Orientált Programozás többé-kevésbé olyan nyelvekre utal, amik a következő +tulajdonságokkal rendelkeznek:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/74_id.html b/74_id.html new file mode 100644 index 000000000..644dac89a --- /dev/null +++ b/74_id.html @@ -0,0 +1,59 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[belum diterjemahkan] What Is OOP?

+

Object oriented programming roughly refers to programming languages that have a number of iconic features:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/74_ie.html b/74_ie.html new file mode 100644 index 000000000..151d9d489 --- /dev/null +++ b/74_ie.html @@ -0,0 +1,59 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

Quo es OOP?

+

Object-orientat programmation, curtmen dit, parla pri lingues de programmation con quelc trates iconic:

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

[Non tradotto] What Is OOP?

+

Object oriented programming roughly refers to programming languages that have a number of iconic features:

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

オブジェクト指向プログラミングとは?

+

オブジェクト指向プログラミングとは、大まかに以下のようないくつかの象徴的な特徴を持つプログラミング言語のことです。

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/74_ko.html b/74_ko.html new file mode 100644 index 000000000..ca0436988 --- /dev/null +++ b/74_ko.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

OOP란 무엇인가?

+

객체 지향 프로그래밍은 대충 다음과 같은 상징적 특징을 가진 프로그래밍 언어를 뜻합니다:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/74_pl.html b/74_pl.html new file mode 100644 index 000000000..a3f8f33ec --- /dev/null +++ b/74_pl.html @@ -0,0 +1,59 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

What Is OOP?

+

Object oriented programming roughly refers to programming languages that have a number of iconic features:

+ + +
+
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..fc68ae88b --- /dev/null +++ b/74_pt-br.html @@ -0,0 +1,59 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/74_ro.html b/74_ro.html new file mode 100644 index 000000000..54633807c --- /dev/null +++ b/74_ro.html @@ -0,0 +1,59 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

Ce este POO?

+

Programarea orientată pe obiecte se referă, în linii mari, la limbajele de programare ce prezintă anumite caracteristici reprezentative:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/74_ru.html b/74_ru.html new file mode 100644 index 000000000..b55cd48c8 --- /dev/null +++ b/74_ru.html @@ -0,0 +1,59 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Что такое ООП (OOP)?

+

Объектно-ориентированное программирование грубо говоря относится к языкам программирования, которые имеют некоторое количество символических особенностей:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/74_th.html b/74_th.html new file mode 100644 index 000000000..8a24292f0 --- /dev/null +++ b/74_th.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

แล้ว OOP มันคืออะไร?

+

Object oriented programming หรือการโปรแกรมเชิงวัตถุ โดยทั่วไปมักจะหมายถึง คุณสมบัติที่โดดเด่นเหล่านี้:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/74_tr.html b/74_tr.html new file mode 100644 index 000000000..1c5e88a11 --- /dev/null +++ b/74_tr.html @@ -0,0 +1,59 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

Nesne Yönelimli Programlama Nedir?

+

Nesne yönelimli programlama aşağıda kabaca özetlenen, bir dizi ikonik özelliğe sahip programlama dillerini ifade eder:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/74_ua.html b/74_ua.html new file mode 100644 index 000000000..c9de68c44 --- /dev/null +++ b/74_ua.html @@ -0,0 +1,59 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Що таке ООП?

+

Об'єктно-орієнтоване програмування має наступні принципи:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/74_vi.html b/74_vi.html new file mode 100644 index 000000000..27178f4f6 --- /dev/null +++ b/74_vi.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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:

+ + +
+
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..9a2ac0497 --- /dev/null +++ b/74_zh-cn.html @@ -0,0 +1,59 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

什么是 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..f8b441aac --- /dev/null +++ b/74_zh-tw.html @@ -0,0 +1,59 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

什麼是 OOP?

+

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

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

[Noch nicht übersetzt] Rust Is Not OOP

+

Rust lacks inheritance of data and behavior in any meaningful way.

+ +

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..2510abe2f --- /dev/null +++ b/75_en.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

Rust Is Not OOP

+

Rust lacks inheritance of data and behavior in any meaningful way.

+ +

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..198861059 --- /dev/null +++ b/75_es.html @@ -0,0 +1,58 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

Rust No Es POO

+

Rust carece de herencia de datos y comportamiento de un modo significativo.

+ +

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..d6e90a42d --- /dev/null +++ b/75_fa.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

Rust Is Not OOP

+

Rust lacks inheritance of data and behavior in any meaningful way.

+ +

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..136753be0 --- /dev/null +++ b/75_fi.html @@ -0,0 +1,58 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

[Kääntämätön] Rust Is Not OOP

+

Rust lacks inheritance of data and behavior in any meaningful way.

+ +

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..ed187e796 --- /dev/null +++ b/75_fr.html @@ -0,0 +1,59 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

Rust n'est pas POO

+

Il n'y a pas d'héritage avec Rust.

+ +

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..71fde51cf --- /dev/null +++ b/75_gr.html @@ -0,0 +1,58 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

[Αμετάφραστο] Rust Is Not OOP

+

Rust lacks inheritance of data and behavior in any meaningful way.

+ +

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..92508ab9d --- /dev/null +++ b/75_hu.html @@ -0,0 +1,59 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

A Rust nem OOP

+

A Rust nyelvből hiányzik az adatok és viselkedés öröklése. Tehát:

+ +

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..af9e88345 --- /dev/null +++ b/75_id.html @@ -0,0 +1,58 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[belum diterjemahkan] Rust Is Not OOP

+

Rust lacks inheritance of data and behavior in any meaningful way.

+ +

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..599b0d228 --- /dev/null +++ b/75_ie.html @@ -0,0 +1,58 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

Rust ne es OOP

+

A Rust manca li grand trates de heredantie de data e conduida.

+ +

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..286a98e82 --- /dev/null +++ b/75_it.html @@ -0,0 +1,58 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

[Non tradotto] Rust Is Not OOP

+

Rust lacks inheritance of data and behavior in any meaningful way.

+ +

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..bba56c68d --- /dev/null +++ b/75_ja.html @@ -0,0 +1,58 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

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..12c4bbef3 --- /dev/null +++ b/75_ko.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

Rust는 OOP가 아니다

+

Rust에서는 어떠한 방법으로도 데이터와 동작의 상속이 불가능합니다.

+ +

어쨌거나, 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..9bb49d9b3 --- /dev/null +++ b/75_pl.html @@ -0,0 +1,58 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

Rust Is Not OOP

+

Rust lacks inheritance of data and behavior in any meaningful way.

+ +

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..9ddf19d0e --- /dev/null +++ b/75_pt-br.html @@ -0,0 +1,58 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

Rust não é OOP

+

O Rust carece de herança de dados e comportamentos de qualquer maneira significativa.

+ +

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..14f7fafb9 --- /dev/null +++ b/75_ro.html @@ -0,0 +1,58 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

Rust Nu Este POO

+

Rust nu dispune de o metodă semnificativă de moștenire a datelor și comportamentelor.

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/75_ru.html b/75_ru.html new file mode 100644 index 000000000..683f0e1ff --- /dev/null +++ b/75_ru.html @@ -0,0 +1,58 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

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..e6596d84f --- /dev/null +++ b/75_th.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

Rust ไม่ได้เป็น OOP

+

อย่างไรก็ดี Rust ยังขาดคุณสมบัติในเรื่องการสืบทอด ทั้งข้อมูลและพฤติกรรมในความหมายนั้น

+ +

ที่อยากจะบอกก็คือ 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..27bd325a7 --- /dev/null +++ b/75_tr.html @@ -0,0 +1,58 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

Rust Bir Nesne Yönelimli Programlama Dili Değildir

+

Rust, veri ve davranışları anlamlı olacak şekilde miras alma yeteneğinden yoksundur.

+ +

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..a11b46412 --- /dev/null +++ b/75_ua.html @@ -0,0 +1,58 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

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..3b390a948 --- /dev/null +++ b/75_vi.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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.

+ +

Đ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..43ea8a185 --- /dev/null +++ b/75_zh-cn.html @@ -0,0 +1,58 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

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..01c3266fb --- /dev/null +++ b/75_zh-tw.html @@ -0,0 +1,58 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

Rust 不是 OOP

+

Rust 沒有任何方式可以繼承資料及行為。

+ +

但是,Rust 實作許多程式語言的特徵,所以你可能不會注意到這些缺少的東西。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/76_de.html b/76_de.html new file mode 100644 index 000000000..6598fbe7f --- /dev/null +++ b/76_de.html @@ -0,0 +1,68 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour durch Rust + + Inhaltsverzeichnis +
+
+

[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:

+ +

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..138bdac9d --- /dev/null +++ b/76_en.html @@ -0,0 +1,68 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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:

+ +

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..94f3d35ae --- /dev/null +++ b/76_es.html @@ -0,0 +1,68 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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:

+ +

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..b73596268 --- /dev/null +++ b/76_fa.html @@ -0,0 +1,68 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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:

+ +

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..00c954f2f --- /dev/null +++ b/76_fi.html @@ -0,0 +1,68 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

[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:

+ +

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..a7e30ada9 --- /dev/null +++ b/76_fr.html @@ -0,0 +1,72 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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:

+ +

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..4d644015e --- /dev/null +++ b/76_gr.html @@ -0,0 +1,68 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

[Αμετάφραστο] 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:

+ +

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..dfe38a844 --- /dev/null +++ b/76_hu.html @@ -0,0 +1,71 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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:

+ +

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..c0142bd48 --- /dev/null +++ b/76_id.html @@ -0,0 +1,68 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[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:

+ +

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..51864d570 --- /dev/null +++ b/76_ie.html @@ -0,0 +1,68 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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:

+ +

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..fdf77d668 --- /dev/null +++ b/76_it.html @@ -0,0 +1,68 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

[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:

+ +

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..2f3797a2e --- /dev/null +++ b/76_ja.html @@ -0,0 +1,68 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

メソッドによるカプセル化

+

Rustは、いくつかの関数(メソッド とも呼ばれる)に関連付けられた構造体である オブジェクト の概念をサポートしています。

+

どのメソッドの最初のパラメータも、メソッド呼び出しに関連付けられたインスタンスへの参照でなければなりません(例: instanceOfObj.foo())。Rustが使うのは下記の通り:

+ +

メソッドは、キーワード 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..b3a49e82b --- /dev/null +++ b/76_ko.html @@ -0,0 +1,68 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

메소드 캡슐화 하기

+

Rust는 함수(메소드라고도 하는)가 연결된 struct인 객체라는 개념을 지원합니다.

+

모든 메소드의 첫번째 매개변수는 메소드 호출과 연관된 인스턴스에 대한 참조여야 합니다 (예: instanceOfObj.foo()). Rust에서는 다음을 사용합니다:

+ +

메소드는 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..11a7e2d30 --- /dev/null +++ b/76_pl.html @@ -0,0 +1,68 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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:

+ +

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..a8a786f42 --- /dev/null +++ b/76_pt-br.html @@ -0,0 +1,68 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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:

+ +

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..d1d21b9c2 --- /dev/null +++ b/76_ro.html @@ -0,0 +1,68 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

Încapsulare prin matode

+

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:

+ +
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..6f6e66124 --- /dev/null +++ b/76_ru.html @@ -0,0 +1,68 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Инкапсуляция с помощью методов

+

Rust поддерживает концепцию объекта, который представляет собой структуру, связанную с некоторыми функциями (также известными как методы).

+

Первый параметр любого метода (а не функции) должен быть ссылкой на сам экземпляр, связанный с вызовом этого метода (например, instanceOfObj.foo()). Rust использует для этого параметра типы:

+ +

Методы определяются в блоке реализации начинающемся с ключевого слова 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..b8ad6d815 --- /dev/null +++ b/76_th.html @@ -0,0 +1,68 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

Encapsulation ด้วยการมีเมธอด

+

Rust สนับสนุนแนวคิดของ object ด้วยการผูกฟังก์ชันบางตัวไว้กับ struct ได้ (เราเรียกมันว่า เมธอด แทน)

+

โดยที่พารามิเตอร์ตัวแรกของเมธอดจะต้องอ้างถึง อินสแตนซ์ ที่มันยึดโยงอยู่ เพื่อให้เรียกใช้เป็นเมธอดได้ (ตัวอย่างเช่น instanceOfObj.foo()) วิธีที่ Rust ทำก็คือ

+ +

การกำหนดการทำงานของมันจะทำภายในบล็อกของคีย์เวิร์ด 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..1484cff9a --- /dev/null +++ b/76_tr.html @@ -0,0 +1,68 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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:

+ +

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..9f0eca18c --- /dev/null +++ b/76_ua.html @@ -0,0 +1,68 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Інкапсуляція в методах

+

Rust підтримує концепцію об'єкта, який є структурою, пов'язаною з деякими функціями (також відомими як методи).

+

Першим параметром будь-якого методу має бути посилання на екземпляр пов'язаний з викликом методу (наприклад, instanceOfObj.foo()). Rust використовує:

+ +

Методи визначаються в блоці реалізації з ключовим словом 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..f15e568e2 --- /dev/null +++ b/76_vi.html @@ -0,0 +1,68 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

Đó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:

+ +

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..64d758b01 --- /dev/null +++ b/76_zh-cn.html @@ -0,0 +1,68 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

使用方法进行封装

+

Rust 支持对象的概念。“对象”是一个与一些函数(也称为方法)相关联的结构体。

+

任何方法的第一个参数必须是与方法调用相关联的实例的引用。(例如 instanceOfObj.foo())。Rust 使用:

+ +

方法是在一个有 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..32e46c531 --- /dev/null +++ b/76_zh-tw.html @@ -0,0 +1,68 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

封裝方法 (encapsulation with methods)

+

Rust 支援物件的概念,即是一個結構與它的一些函式 (或稱方法)。

+

方法呼叫時的第一個參數一定要是一個指向該實體的參考 (例如:instanceOfObj.foo())。 Rust 使用:

+ +

方法定義在實作區塊裡,並且用關鍵字 impl 包起來:

+
impl MyStruct { 
+    ...
+    fn foo(&self) {
+        ...
+    }
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/77_de.html b/77_de.html new file mode 100644 index 000000000..12823e756 --- /dev/null +++ b/77_de.html @@ -0,0 +1,57 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour durch Rust + + Inhaltsverzeichnis +
+
+

[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..25fe971b5 --- /dev/null +++ b/77_en.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..4fcd7360a --- /dev/null +++ b/77_es.html @@ -0,0 +1,57 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..385028fc8 --- /dev/null +++ b/77_fa.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..5c287c868 --- /dev/null +++ b/77_fi.html @@ -0,0 +1,57 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

[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..728ede445 --- /dev/null +++ b/77_fr.html @@ -0,0 +1,59 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..baa89ed94 --- /dev/null +++ b/77_gr.html @@ -0,0 +1,57 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

[Αμετάφραστο] 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..4b4b4a35e --- /dev/null +++ b/77_hu.html @@ -0,0 +1,57 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..43058c289 --- /dev/null +++ b/77_id.html @@ -0,0 +1,57 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[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..bf9615689 --- /dev/null +++ b/77_ie.html @@ -0,0 +1,57 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..bf8fb9ecb --- /dev/null +++ b/77_it.html @@ -0,0 +1,57 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

[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..414c6a4b4 --- /dev/null +++ b/77_ja.html @@ -0,0 +1,57 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

選択的な公開による抽象化

+

Rustは物体の内部構造を隠すことができます。

+

デフォルトでは、フィールドとメソッドは、それらが属しているモジュールにのみアクセス可能です。

+

pub キーワードは、構造体のフィールドとメソッドをモジュールの外部に公開します。

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

선택적 노출을 통한 추상화

+

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..f10fbcf93 --- /dev/null +++ b/77_pl.html @@ -0,0 +1,57 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..ae2a69243 --- /dev/null +++ b/77_pt-br.html @@ -0,0 +1,57 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..8948b8fec --- /dev/null +++ b/77_ro.html @@ -0,0 +1,57 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

Abstracție prin Expunere Selectivă

+

Rust poate ascude 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..0ec473293 --- /dev/null +++ b/77_ru.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Абстракция с выборочной экспозицией (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..c9f4c02e5 --- /dev/null +++ b/77_th.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..7d2549d67 --- /dev/null +++ b/77_tr.html @@ -0,0 +1,57 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..b7a940579 --- /dev/null +++ b/77_ua.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Абстракція з вибірковою експозицією

+

Rust може приховувати внутрішню роботу об'єктів.

+

За замовчуванням поля і методи доступні лише для модуля, до якого вони належать.

+

Ключове слово pub відкриває поля і методи структур за межами модуля.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/77_vi.html b/77_vi.html new file mode 100644 index 000000000..0979f9a62 --- /dev/null +++ b/77_vi.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..8633f2c10 --- /dev/null +++ b/77_zh-cn.html @@ -0,0 +1,57 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

抽象与选择性暴露

+

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..c063bddb8 --- /dev/null +++ b/77_zh-tw.html @@ -0,0 +1,57 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

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

+

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

+

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

+

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

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

[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..c3ebb239b --- /dev/null +++ b/78_en.html @@ -0,0 +1,71 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..613443c99 --- /dev/null +++ b/78_es.html @@ -0,0 +1,70 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..f396a08b5 --- /dev/null +++ b/78_fa.html @@ -0,0 +1,71 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..0b780a41a --- /dev/null +++ b/78_fi.html @@ -0,0 +1,71 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

[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..d5a3e69f9 --- /dev/null +++ b/78_fr.html @@ -0,0 +1,75 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..3a7aa5a4c --- /dev/null +++ b/78_gr.html @@ -0,0 +1,71 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

[Αμετάφραστο] 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..e2b935f48 --- /dev/null +++ b/78_hu.html @@ -0,0 +1,73 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..12281988f --- /dev/null +++ b/78_id.html @@ -0,0 +1,71 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[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..1bb70d7bd --- /dev/null +++ b/78_ie.html @@ -0,0 +1,71 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..355729b7a --- /dev/null +++ b/78_it.html @@ -0,0 +1,71 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

[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..fbaed97a8 --- /dev/null +++ b/78_ja.html @@ -0,0 +1,70 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

トレイトを用いたポリモーフィズム

+

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..3bf64a1e0 --- /dev/null +++ b/78_ko.html @@ -0,0 +1,71 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

다형성과 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..15974998a --- /dev/null +++ b/78_pl.html @@ -0,0 +1,71 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..3dd48e696 --- /dev/null +++ b/78_pt-br.html @@ -0,0 +1,70 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..1878e4780 --- /dev/null +++ b/78_ro.html @@ -0,0 +1,70 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..2e0f925c3 --- /dev/null +++ b/78_ru.html @@ -0,0 +1,70 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Полиморфизм с помощью типажей (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..6690f2645 --- /dev/null +++ b/78_th.html @@ -0,0 +1,71 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..4a80c8e4b --- /dev/null +++ b/78_tr.html @@ -0,0 +1,70 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

Ö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..016f42061 --- /dev/null +++ b/78_ua.html @@ -0,0 +1,71 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Поліморфізм у 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..d9a94a2ef --- /dev/null +++ b/78_vi.html @@ -0,0 +1,70 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..35656370b --- /dev/null +++ b/78_zh-cn.html @@ -0,0 +1,70 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

使用 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..8383aab4b --- /dev/null +++ b/78_zh-tw.html @@ -0,0 +1,70 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

特徵多型 (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_de.html b/79_de.html new file mode 100644 index 000000000..26eac84b0 --- /dev/null +++ b/79_de.html @@ -0,0 +1,57 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour durch Rust + + Inhaltsverzeichnis +
+
+

[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..009b90560 --- /dev/null +++ b/79_en.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..a756bc0e0 --- /dev/null +++ b/79_es.html @@ -0,0 +1,56 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..f829bfc22 --- /dev/null +++ b/79_fa.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..521c2aa95 --- /dev/null +++ b/79_fi.html @@ -0,0 +1,57 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

[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..5a6268b9b --- /dev/null +++ b/79_fr.html @@ -0,0 +1,58 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..3cd7fb064 --- /dev/null +++ b/79_gr.html @@ -0,0 +1,57 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

[Αμετάφραστο] 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..27c78c5cd --- /dev/null +++ b/79_hu.html @@ -0,0 +1,57 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..afed2d28c --- /dev/null +++ b/79_id.html @@ -0,0 +1,57 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[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..d9203099d --- /dev/null +++ b/79_ie.html @@ -0,0 +1,57 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..06cecf6e5 --- /dev/null +++ b/79_it.html @@ -0,0 +1,57 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

[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..ca661af27 --- /dev/null +++ b/79_ja.html @@ -0,0 +1,56 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

トレイトに実装されたメソッド

+

トレイトは実装されたメソッドを持つことができます。

+

この関数は構造体の内部フィールドに直接アクセスすることはできませんが、多くのトレイトの実装の間で動作を共有するのに便利です。

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

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..ab08054d8 --- /dev/null +++ b/79_pl.html @@ -0,0 +1,57 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..71ed7fbbf --- /dev/null +++ b/79_pt-br.html @@ -0,0 +1,56 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..2d5611f36 --- /dev/null +++ b/79_ro.html @@ -0,0 +1,56 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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 implementarori 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..27c931e56 --- /dev/null +++ b/79_ru.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Реализация методов в самих типажах

+

Типажи могут иметь реализованные методы.

+

Функции не имеют прямого доступа к внутренним полям структуры, но могут быть полезны для обмена поведением между многими реализациями типажа.

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

การสร้างเมธอดไว้ใน 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..a2d404353 --- /dev/null +++ b/79_tr.html @@ -0,0 +1,56 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

Ö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..34d853df5 --- /dev/null +++ b/79_ua.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Імплементація методів у Traits

+

Трейт може мати імплементовані методи.

+

Функції не мають прямого доступу до внутрішніх полів структури, але вони можуть бути корисним для спільного використання поведінки між багатьма реалізаторами трейтів.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/79_vi.html b/79_vi.html new file mode 100644 index 000000000..f56dc8c9e --- /dev/null +++ b/79_vi.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..7b10973e2 --- /dev/null +++ b/79_zh-cn.html @@ -0,0 +1,56 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

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..eecccd128 --- /dev/null +++ b/79_zh-tw.html @@ -0,0 +1,56 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

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

+

特徵可以有方法。

+

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

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

[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..4aee899be --- /dev/null +++ b/80_en.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..9a8621359 --- /dev/null +++ b/80_es.html @@ -0,0 +1,55 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..21ee0384a --- /dev/null +++ b/80_fa.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..62c1dd487 --- /dev/null +++ b/80_fi.html @@ -0,0 +1,55 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

[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..a50a75551 --- /dev/null +++ b/80_fr.html @@ -0,0 +1,55 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..648644046 --- /dev/null +++ b/80_gr.html @@ -0,0 +1,55 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

[Αμετάφραστο] 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..b12da1dd2 --- /dev/null +++ b/80_hu.html @@ -0,0 +1,55 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..09eda6fe5 --- /dev/null +++ b/80_id.html @@ -0,0 +1,55 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[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..56d36a297 --- /dev/null +++ b/80_ie.html @@ -0,0 +1,55 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..4d6f15da2 --- /dev/null +++ b/80_it.html @@ -0,0 +1,55 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

[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..19f9f7cf9 --- /dev/null +++ b/80_ja.html @@ -0,0 +1,55 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

トレイトの継承

+

トレイトは他のトレイトからメソッドを継承することができます。

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

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..0620e5588 --- /dev/null +++ b/80_pl.html @@ -0,0 +1,55 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..c161fd466 --- /dev/null +++ b/80_pt-br.html @@ -0,0 +1,55 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..4a5d34e42 --- /dev/null +++ b/80_ro.html @@ -0,0 +1,55 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..209d8e387 --- /dev/null +++ b/80_ru.html @@ -0,0 +1,55 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Наследование типажа (Trait Inheritance)

+

Типажи могут наследовать методы от других типажей.

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

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..6f43a771d --- /dev/null +++ b/80_tr.html @@ -0,0 +1,55 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

Ö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..712041991 --- /dev/null +++ b/80_ua.html @@ -0,0 +1,55 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Наслідування у Traits

+

Трейти можуть наслідувати методи з інших трейтів.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/80_vi.html b/80_vi.html new file mode 100644 index 000000000..9ad4e84f7 --- /dev/null +++ b/80_vi.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..b774e7c55 --- /dev/null +++ b/80_zh-cn.html @@ -0,0 +1,55 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

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..15692d7a0 --- /dev/null +++ b/80_zh-tw.html @@ -0,0 +1,55 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

特徵繼承 (trait inheritance)

+

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

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

[Noch nicht übersetzt] Dynamic vs Static Dispatch

+

Methods are executed in two ways:

+ +

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:

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

Dynamic vs Static Dispatch

+

Methods are executed in two ways:

+ +

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:

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

Resolución Dinámica y Estática

+

Los métodos se ejecutan de dos maneras:

+ +

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:

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

Dynamic vs Static Dispatch

+

Methods are executed in two ways:

+ +

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:

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

[Kääntämätön] Dynamic vs Static Dispatch

+

Methods are executed in two ways:

+ +

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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/81_fr.html b/81_fr.html new file mode 100644 index 000000000..5ae3cc33a --- /dev/null +++ b/81_fr.html @@ -0,0 +1,71 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

Dispatch dynamique ou statique

+

Une méthode est exécutée de deux manières:

+ +

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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/81_gr.html b/81_gr.html new file mode 100644 index 000000000..50324c8f9 --- /dev/null +++ b/81_gr.html @@ -0,0 +1,65 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

[Αμετάφραστο] Dynamic vs Static Dispatch

+

Methods are executed in two ways:

+ +

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:

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

Dinamikus és statikus meghívás

+

A metódusok kétféleképp hívhatóak meg:

+ +

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:

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

[belum diterjemahkan] Dynamic vs Static Dispatch

+

Methods are executed in two ways:

+ +

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:

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

Dinamic contra Static Dispatch (Depeche)

+

On execute metodes secun du manieres quam seque:

+ +

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..0c05643d3 --- /dev/null +++ b/81_it.html @@ -0,0 +1,65 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

[Non tradotto] Dynamic vs Static Dispatch

+

Methods are executed in two ways:

+ +

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:

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

動的ディスパッチと静的ディスパッチ

+

メソッドは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..ca942759d --- /dev/null +++ b/81_ko.html @@ -0,0 +1,65 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

동적 vs 정적 디스패치

+

메소드는 다음의 두 가지 방식으로 실행됩니다:

+ +

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..b6c395ff7 --- /dev/null +++ b/81_pl.html @@ -0,0 +1,65 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

Dynamic vs Static Dispatch

+

Methods are executed in two ways:

+ +

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:

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

Dispatch dinâmico x estático

+

Os métodos são executados de duas maneiras:

+ +

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:

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

Expediere Dinamică vs Statică

+

Metodele sunt executate în două moduri:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/81_ru.html b/81_ru.html new file mode 100644 index 000000000..57dcfd611 --- /dev/null +++ b/81_ru.html @@ -0,0 +1,65 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Динамическая vs Статическая диспетчеризация (Dynamic vs Static Dispatch)

+

Методы выполняются двумя способами:

+ +

Типы типажа в виде &dyn MyTrait дают возможность работать с экземплярами объектов косвенно, используя динамическую диспетчеризацию.

+

Когда используется динамическая диспетчеризация (dynamic dispatch), Rust будет просить вас поставить dyn перед типом типажа, чтобы люди знали об этом.

+

Детали для запоминания:

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

Dynamic vs Static Dispatch

+

เมธอดถูกเรียกได้จากสองวิธี:

+ +

&dyn MyTrait เป็นประเภทของ trait ที่จะทำให้เราทำงานกับอินสแตนซ์นั้นได้ โดยทางอ้อม ผ่านทาง dynamic dispatch

+

เมื่อจะใช้ dynamic dispatch เมื่อไหร่ Rust แนะนำให้ใส่ dyn เข้าไปหน้าตัวแปร trait เพื่อให้คนอื่นรับรู้

+

รายละเอียดหน่วยความจำ:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/81_tr.html b/81_tr.html new file mode 100644 index 000000000..6433a5e93 --- /dev/null +++ b/81_tr.html @@ -0,0 +1,65 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

Ya Dinamik Ya Statik İletim

+

Yöntemler iki şekilde işletilir:

+ +

&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ı:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/81_ua.html b/81_ua.html new file mode 100644 index 000000000..8ef8f3dd7 --- /dev/null +++ b/81_ua.html @@ -0,0 +1,65 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Динамічна та статична диспетчеризації.

+

Методи виконуються двома способами:

+ +

Типи трейтів &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..9b81100fd --- /dev/null +++ b/81_vi.html @@ -0,0 +1,65 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

Đ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:

+ +

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ớ:

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

动态调度和静态调度

+

方法的执行有两种方式:

+ +

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..99cf7b855 --- /dev/null +++ b/81_zh-tw.html @@ -0,0 +1,65 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

動態與靜態的發送 (dynamic vs static ispatch)

+

執行方法有兩種方式:

+ +

&dyn MyTrait 這個特徵型別讓我們有能力間接使用動態發送操作該實體物件。

+

當動態發送被使用時,Rust 鼓勵你將 dyn 放在你的特徵型別前面,這樣其他人才會知道。

+

記憶體細節:

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

[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:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/82_en.html b/82_en.html new file mode 100644 index 000000000..c0d28f4a2 --- /dev/null +++ b/82_en.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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:

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

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:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/82_fa.html b/82_fa.html new file mode 100644 index 000000000..3dd56f1cc --- /dev/null +++ b/82_fa.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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:

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

[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:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/82_fr.html b/82_fr.html new file mode 100644 index 000000000..3ef101432 --- /dev/null +++ b/82_fr.html @@ -0,0 +1,63 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/82_gr.html b/82_gr.html new file mode 100644 index 000000000..ed2434756 --- /dev/null +++ b/82_gr.html @@ -0,0 +1,59 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

[Αμετάφραστο] 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:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/82_hu.html b/82_hu.html new file mode 100644 index 000000000..641463668 --- /dev/null +++ b/82_hu.html @@ -0,0 +1,61 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/82_id.html b/82_id.html new file mode 100644 index 000000000..514e683a6 --- /dev/null +++ b/82_id.html @@ -0,0 +1,59 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[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:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/82_ie.html b/82_ie.html new file mode 100644 index 000000000..61b8fdbe2 --- /dev/null +++ b/82_ie.html @@ -0,0 +1,59 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/82_it.html b/82_it.html new file mode 100644 index 000000000..4c7c43124 --- /dev/null +++ b/82_it.html @@ -0,0 +1,59 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

[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:

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

トレイトオブジェクト

+

オブジェクトのインスタンスを &dyn MyTrait 型のパラメータに渡すとき、 トレイトオブジェクト と呼ばれるものを渡します。

+

インスタンスの正しいメソッドを間接的に呼び出すことを可能にするのがトレイトオブジェクトです。 トレイトオブジェクトは、インスタンスのポインタと、インスタンスのメソッドへの関数ポインタのリストを保持する構造体です。

+

メモリの詳細:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/82_ko.html b/82_ko.html new file mode 100644 index 000000000..a865670a1 --- /dev/null +++ b/82_ko.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

Trait 객체

+

객체의 인스턴스를 &dyn MyTrait 자료형을 가진 매개변수로 넘길 때, 이를 trait 객체라고 부릅니다.

+

trait 객체는 인스턴스의 올바른 메소드를 간접적으로 호출할 수 있게 해줍니다. +trait 객체는 인스턴스에 대한 포인터와 인스턴스 메소드들에 대한 함수 포인터 목록을 갖고있는 struct입니다.

+

메모리 상세:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/82_pl.html b/82_pl.html new file mode 100644 index 000000000..1ec58e56d --- /dev/null +++ b/82_pl.html @@ -0,0 +1,59 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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:

+ + +
+
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..c1669febb --- /dev/null +++ b/82_pt-br.html @@ -0,0 +1,58 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/82_ro.html b/82_ro.html new file mode 100644 index 000000000..3785f1261 --- /dev/null +++ b/82_ro.html @@ -0,0 +1,59 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/82_ru.html b/82_ru.html new file mode 100644 index 000000000..73fa3b9f2 --- /dev/null +++ b/82_ru.html @@ -0,0 +1,58 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Типаж объекты (Trait Objects)

+

Когда мы передаем экземпляр объекта в параметр типа &dyn MyTrait, мы передаем то, что называется типаж объект (trait object).

+

Типаж объект (trait object) - это то, что позволяет нам косвенно вызывать правильные методы экземпляра объекта. Типаж объект - это структура, которая содержит указатель нашего экземпляра со списком указателей функций на методы этого экземпляра.

+

Детали для запоминания:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/82_th.html b/82_th.html new file mode 100644 index 000000000..8e64f24bb --- /dev/null +++ b/82_th.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

Trait Objects

+

เมื่อเราส่งผ่านอินสแตนซ์ของ object ลงไปเป็นพารามิเตอร์ด้วยประเภท &dyn MyTrait หมายถึงเรากำลังส่งวิธีเรียก trait object ลงไป

+

แปลว่า trait object ก็คือวิธีการ ที่จะเรียกเมธอดของอินสแตนซ์ แบบอ้อมๆ ซึ่งความจริง trait object ก็คือ struct ที่ครอบครอง พอยเตอร์ ที่ชี้ไปที่อินสแตนซ์ของเรา กับลิสต์ พอยเตอร์ของฟังก์ชัน ที่ชี้ไปเมธอดของอินสแตนซ์ตัวนั้น

+

รายละเอียดหน่วยความจำ:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/82_tr.html b/82_tr.html new file mode 100644 index 000000000..ec764c4ec --- /dev/null +++ b/82_tr.html @@ -0,0 +1,58 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

Ö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ı:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/82_ua.html b/82_ua.html new file mode 100644 index 000000000..6abe2551f --- /dev/null +++ b/82_ua.html @@ -0,0 +1,58 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Об'єкти в Traits

+

Коли ми передаємо екземпляр об'єкту в параметр типу `&dyn MyTrait' ми передаємо те, що називається об'єкт-трайтер.

+

Об'єкт-трейт - це те, що дозволяє нам опосередковано викликати коректні методи екземпляру. Об'єкт трейту - це структура, яка містить вказівник на на наш екземпляр зі списком вказівників функцій на методи нашого екземпляру.

+

Деталі роботи за памяттю:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/82_vi.html b/82_vi.html new file mode 100644 index 000000000..bf1f684de --- /dev/null +++ b/82_vi.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

Đố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ớ:

+ + +
+
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..306cb6fe0 --- /dev/null +++ b/82_zh-cn.html @@ -0,0 +1,58 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

Trait 对象

+

当我们将一个对象的实例传递给类型为 &dyn MyTrait 的参数时,我们传递的是所谓的 trait 对象

+

Trait 对象允许我们间接调用一个实例的正确方法。一个 trait 对象对应一个结构。 它保存着我们实例的指针,并保有一个指向我们实例方法的函数指针列表。

+

内存细节:

+ + +
+
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..6d7c0632a --- /dev/null +++ b/82_zh-tw.html @@ -0,0 +1,58 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

特徵物件 (trait objects)

+

當我們傳遞一個物件的實體給一個型別為 &dyn MyTrait 當作參數時,我們傳遞的就是特徵物件

+

一個特徵物件允許我們間接正確地呼叫一個實體的方法。一個特徵物件是一個擁有實體指標的結構, 該體實有一個函式指標的列表,這些函式指標指向實體的方法。

+

記憶體細節:

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

[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:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/83_en.html b/83_en.html new file mode 100644 index 000000000..adde50e47 --- /dev/null +++ b/83_en.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/83_es.html b/83_es.html new file mode 100644 index 000000000..7fbd08339 --- /dev/null +++ b/83_es.html @@ -0,0 +1,57 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/83_fa.html b/83_fa.html new file mode 100644 index 000000000..c9de03778 --- /dev/null +++ b/83_fa.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/83_fi.html b/83_fi.html new file mode 100644 index 000000000..3aba43256 --- /dev/null +++ b/83_fi.html @@ -0,0 +1,58 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

[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:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/83_fr.html b/83_fr.html new file mode 100644 index 000000000..b8ea788b4 --- /dev/null +++ b/83_fr.html @@ -0,0 +1,64 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/83_gr.html b/83_gr.html new file mode 100644 index 000000000..4f83c0ae3 --- /dev/null +++ b/83_gr.html @@ -0,0 +1,58 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

[Αμετάφραστο] 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:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/83_hu.html b/83_hu.html new file mode 100644 index 000000000..0b4bb88ff --- /dev/null +++ b/83_hu.html @@ -0,0 +1,63 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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:

+ +

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..9d21d1710 --- /dev/null +++ b/83_id.html @@ -0,0 +1,58 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[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:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/83_ie.html b/83_ie.html new file mode 100644 index 000000000..14537e5e2 --- /dev/null +++ b/83_ie.html @@ -0,0 +1,58 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/83_it.html b/83_it.html new file mode 100644 index 000000000..67dbb4693 --- /dev/null +++ b/83_it.html @@ -0,0 +1,58 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

[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:

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

サイズの合わないデータの処理

+

トレイトを別の構造体の中に格納する場合、興味深い問題が発生します。 +トレイトは元の構造体を難読化するため、元のサイズも難読化されます。 +Rustでは、構造体に格納されるサイズの合わない値は、2つの方法で処理されます。

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/83_ko.html b/83_ko.html new file mode 100644 index 000000000..2d904cd01 --- /dev/null +++ b/83_ko.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

크기를 알 수 없는 데이터 다루기

+

trait을 다른 struct에 저장하는 것도 흥미로운 도전과제입니다. +trait은 원본 struct를 알기 어렵게 하느라 원래 크기 또한 알기 어렵게 합니다. Rust에서 크기를 알 수 없는 값이 struct에 저장될 때는 다음의 두 가지 방법으로 처리됩니다:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/83_pl.html b/83_pl.html new file mode 100644 index 000000000..b9e448da8 --- /dev/null +++ b/83_pl.html @@ -0,0 +1,58 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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:

+ + +
+
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..2b8246156 --- /dev/null +++ b/83_pt-br.html @@ -0,0 +1,58 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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:

+ +

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..5e5bdfdcf --- /dev/null +++ b/83_ro.html @@ -0,0 +1,61 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/83_ru.html b/83_ru.html new file mode 100644 index 000000000..9905452ec --- /dev/null +++ b/83_ru.html @@ -0,0 +1,58 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Обработка не размерных данных (Unsized Data)

+

Типажи представляют интересную проблему, когда мы хотим сохранить их в другой структуре. Типажи обфусцируют (obfuscate - запутывает) оригинальную структуру, +таким образом это также запутывает ее оригинальный размер. Не размерные значения, хранящиеся в структурах, обрабатываются в Rust двумя способами:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/83_th.html b/83_th.html new file mode 100644 index 000000000..ebf9f6d04 --- /dev/null +++ b/83_th.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

การจัดการข้อมูลที่ไม่รู้ไซส์

+

Traits ทำให้เกิดความยุ่งยากเมื่อเราอยากจะเก็บมันไว้ใน struct ตัวอื่น เพราะว่า Traits ทำให้เรามองเห็น struct ไม่ชัดเจน และความไม่ชัดเจนยังส่งผลไปที่ไซส์อีกด้วย +ตอนที่เราเอา ของที่เราไม่รู้ไซส์ที่แน่นอนนี้ไปใส่ใน struct จะมีวิธีจัดการมัน 2 วิธีคือ:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/83_tr.html b/83_tr.html new file mode 100644 index 000000000..6df4ef701 --- /dev/null +++ b/83_tr.html @@ -0,0 +1,57 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/83_ua.html b/83_ua.html new file mode 100644 index 000000000..165b7d7fe --- /dev/null +++ b/83_ua.html @@ -0,0 +1,58 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Обробка нерозмірних даних

+

Трейти створюють цікавий виклик, коли ми хочемо зберігати їх у в іншій структурі. Трейти затушовують оригінальну структуру, +таким чином, вони також приховують оригінальний розмір. Безрозмірні значення, що зберігаються у структурах, у 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..a74686fed --- /dev/null +++ b/83_vi.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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:

+ + +
+
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..1f4cf0562 --- /dev/null +++ b/83_zh-cn.html @@ -0,0 +1,57 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

处理未知大小的数据

+

当我们想把 Trait 存储在另一个结构中时,它们亦带来了一个有趣的挑战。 Trait 混淆了原始结构,因此它也混淆了原来的结构体的大小。在 Rust 中,在结构体中存储未知大小的值有两种处理方式。

+ + +
+
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..04b31d6cd --- /dev/null +++ b/83_zh-tw.html @@ -0,0 +1,57 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

處理末知大小的資料 (handling unsized data)

+

當我們想要將它們儲存在另一個結構時,特徵引入了一個有趣的挑戰。 特徵使原本的結構模糊不清,也使得原本的大小不清楚。在 Rust 裡,未知大小的數值被這兩種方式處理:

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

[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..467a5bf58 --- /dev/null +++ b/84_en.html @@ -0,0 +1,66 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..13ab0337e --- /dev/null +++ b/84_es.html @@ -0,0 +1,64 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..531e9d004 --- /dev/null +++ b/84_fa.html @@ -0,0 +1,66 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..a721639da --- /dev/null +++ b/84_fi.html @@ -0,0 +1,66 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

[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..8a398280f --- /dev/null +++ b/84_fr.html @@ -0,0 +1,70 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..5082f095c --- /dev/null +++ b/84_gr.html @@ -0,0 +1,66 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

[Αμετάφραστο] 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..38f18f79d --- /dev/null +++ b/84_hu.html @@ -0,0 +1,69 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..b89f4e352 --- /dev/null +++ b/84_id.html @@ -0,0 +1,66 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[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..388189b4c --- /dev/null +++ b/84_ie.html @@ -0,0 +1,66 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..091581ac6 --- /dev/null +++ b/84_it.html @@ -0,0 +1,66 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

[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..a2b4f36e3 --- /dev/null +++ b/84_ja.html @@ -0,0 +1,64 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

ジェネリック関数

+

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..30e9b980a --- /dev/null +++ b/84_ko.html @@ -0,0 +1,66 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

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..7cde00fb9 --- /dev/null +++ b/84_pl.html @@ -0,0 +1,66 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..015b1c9ab --- /dev/null +++ b/84_pt-br.html @@ -0,0 +1,64 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..637b7272e --- /dev/null +++ b/84_ro.html @@ -0,0 +1,65 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..91ea8b26f --- /dev/null +++ b/84_ru.html @@ -0,0 +1,64 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Обобщенные функции (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..2b549df32 --- /dev/null +++ b/84_th.html @@ -0,0 +1,64 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..25ec2801d --- /dev/null +++ b/84_tr.html @@ -0,0 +1,64 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..7b56a550e --- /dev/null +++ b/84_ua.html @@ -0,0 +1,64 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Узагальнені функції

+

Узагальнені типи (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..3320ba082 --- /dev/null +++ b/84_vi.html @@ -0,0 +1,64 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..3e106557a --- /dev/null +++ b/84_zh-cn.html @@ -0,0 +1,64 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

泛型函数

+

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..ff8e703ed --- /dev/null +++ b/84_zh-tw.html @@ -0,0 +1,64 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

泛型函式 (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_de.html b/85_de.html new file mode 100644 index 000000000..6f0f350e5 --- /dev/null +++ b/85_de.html @@ -0,0 +1,67 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour durch Rust + + Inhaltsverzeichnis +
+
+

[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..584f7ace4 --- /dev/null +++ b/85_en.html @@ -0,0 +1,67 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..28d4e0480 --- /dev/null +++ b/85_es.html @@ -0,0 +1,67 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..be3576db0 --- /dev/null +++ b/85_fa.html @@ -0,0 +1,67 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..24174ac78 --- /dev/null +++ b/85_fi.html @@ -0,0 +1,67 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

[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..321b41dfd --- /dev/null +++ b/85_fr.html @@ -0,0 +1,68 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..e51b392ad --- /dev/null +++ b/85_gr.html @@ -0,0 +1,67 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

[Αμετάφραστο] 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..e62f866eb --- /dev/null +++ b/85_hu.html @@ -0,0 +1,67 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..25173c794 --- /dev/null +++ b/85_id.html @@ -0,0 +1,67 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[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..5d5ae4f0b --- /dev/null +++ b/85_ie.html @@ -0,0 +1,67 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..c8a7afc3e --- /dev/null +++ b/85_it.html @@ -0,0 +1,67 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

[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..04235c130 --- /dev/null +++ b/85_ja.html @@ -0,0 +1,67 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

ジェネリクス関数の省略記法

+

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..438218fad --- /dev/null +++ b/85_ko.html @@ -0,0 +1,67 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

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..98305ea15 --- /dev/null +++ b/85_pl.html @@ -0,0 +1,67 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..52c16b097 --- /dev/null +++ b/85_pt-br.html @@ -0,0 +1,67 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..52980e21f --- /dev/null +++ b/85_ro.html @@ -0,0 +1,64 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

Prescurtare a Funcțiilor Generice

+

Rust are o prescurtare pentru exprimarea tipurilor generice constrânse de o trăsătură: +rust fn functia_mea(foo: impl Foo) { + ... +} +Este echivalent cu a scrie: +rust 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..ec946542b --- /dev/null +++ b/85_ru.html @@ -0,0 +1,67 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Сокращение в обобщенной функции (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..74171388d --- /dev/null +++ b/85_th.html @@ -0,0 +1,67 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..5d4f7412c --- /dev/null +++ b/85_tr.html @@ -0,0 +1,67 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..ae071df78 --- /dev/null +++ b/85_ua.html @@ -0,0 +1,67 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Скорочення в узагальнених функціях

+

У 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..d2e8f78da --- /dev/null +++ b/85_vi.html @@ -0,0 +1,67 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..c714366be --- /dev/null +++ b/85_zh-cn.html @@ -0,0 +1,67 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

泛型函数简写

+

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..34e367537 --- /dev/null +++ b/85_zh-tw.html @@ -0,0 +1,67 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

泛型函式簡寫 (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_de.html b/86_de.html new file mode 100644 index 000000000..8111d6e89 --- /dev/null +++ b/86_de.html @@ -0,0 +1,62 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour durch Rust + + Inhaltsverzeichnis +
+
+

[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..1944b6d04 --- /dev/null +++ b/86_en.html @@ -0,0 +1,62 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..95bbaa0fd --- /dev/null +++ b/86_es.html @@ -0,0 +1,60 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..c37dc6354 --- /dev/null +++ b/86_fa.html @@ -0,0 +1,62 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..08c26bef3 --- /dev/null +++ b/86_fi.html @@ -0,0 +1,62 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

[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..05676f165 --- /dev/null +++ b/86_fr.html @@ -0,0 +1,64 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..e3905ca13 --- /dev/null +++ b/86_gr.html @@ -0,0 +1,62 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

[Αμετάφραστο] 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..fba07aeef --- /dev/null +++ b/86_hu.html @@ -0,0 +1,63 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..e0a0bf7bb --- /dev/null +++ b/86_id.html @@ -0,0 +1,62 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[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..0d5fc0dcf --- /dev/null +++ b/86_ie.html @@ -0,0 +1,61 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..4a81bc325 --- /dev/null +++ b/86_it.html @@ -0,0 +1,62 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

[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..8d19b1e3f --- /dev/null +++ b/86_ja.html @@ -0,0 +1,60 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

ボックス

+

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..69e1909a7 --- /dev/null +++ b/86_ko.html @@ -0,0 +1,61 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

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..48aa1ca66 --- /dev/null +++ b/86_pl.html @@ -0,0 +1,62 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..8929b9ec3 --- /dev/null +++ b/86_pt-br.html @@ -0,0 +1,60 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..a3e775216 --- /dev/null +++ b/86_ro.html @@ -0,0 +1,61 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..4bd9b82a2 --- /dev/null +++ b/86_ru.html @@ -0,0 +1,60 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Тип умного указателя 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..80709e009 --- /dev/null +++ b/86_th.html @@ -0,0 +1,60 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..eaf40e72d --- /dev/null +++ b/86_tr.html @@ -0,0 +1,59 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..b92693a59 --- /dev/null +++ b/86_ua.html @@ -0,0 +1,60 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

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..4f0690753 --- /dev/null +++ b/86_vi.html @@ -0,0 +1,60 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..c19c98074 --- /dev/null +++ b/86_zh-cn.html @@ -0,0 +1,60 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

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..61aa8b180 --- /dev/null +++ b/86_zh-tw.html @@ -0,0 +1,60 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

Box

+

Box 是一種資料結構,允許我們將資料從堆疊 (stack) 搬到推 (heap) 上。

+

Box 是一種結構,也被稱為智慧指標 (smart pointer),它擁有指向在堆上的資料的指標。

+

因為 Box 是一個已經大小的結構 (因為它只擁有一個指標),所以當我們一定要知道某個結構的欄位大小時, 它就常常被用到。

+

Box 非常常見,它可以被用在任何地方:

+
Box::new(Foo { ... })
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/87_de.html b/87_de.html new file mode 100644 index 000000000..a1228018a --- /dev/null +++ b/87_de.html @@ -0,0 +1,66 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour durch Rust + + Inhaltsverzeichnis +
+
+

[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..1dad941eb --- /dev/null +++ b/87_en.html @@ -0,0 +1,66 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..96c929c09 --- /dev/null +++ b/87_es.html @@ -0,0 +1,66 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..2264e1af6 --- /dev/null +++ b/87_fa.html @@ -0,0 +1,66 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..33a501237 --- /dev/null +++ b/87_fi.html @@ -0,0 +1,66 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

[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..d36c41737 --- /dev/null +++ b/87_fr.html @@ -0,0 +1,69 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..b6b47a9f0 --- /dev/null +++ b/87_gr.html @@ -0,0 +1,66 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

[Αμετάφραστο] 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..c0ec9c0a6 --- /dev/null +++ b/87_hu.html @@ -0,0 +1,68 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..64fa10c6a --- /dev/null +++ b/87_id.html @@ -0,0 +1,66 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[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..bae527f64 --- /dev/null +++ b/87_ie.html @@ -0,0 +1,68 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..e59b4d8ec --- /dev/null +++ b/87_it.html @@ -0,0 +1,66 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

[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..94e6ffa73 --- /dev/null +++ b/87_ja.html @@ -0,0 +1,66 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

ジェネリクス構造体のおさらい

+

ジェネリクス構造体は、そのパラメータ化された型が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..f961b4a44 --- /dev/null +++ b/87_ko.html @@ -0,0 +1,66 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

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..da29764b2 --- /dev/null +++ b/87_pl.html @@ -0,0 +1,66 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..8f506f8a9 --- /dev/null +++ b/87_pt-br.html @@ -0,0 +1,66 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..5f485a950 --- /dev/null +++ b/87_ro.html @@ -0,0 +1,66 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..0f5f5167f --- /dev/null +++ b/87_ru.html @@ -0,0 +1,66 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Обощенные структуры снова (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..fe1dff301 --- /dev/null +++ b/87_th.html @@ -0,0 +1,66 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

กลับมาหา 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..87d324fca --- /dev/null +++ b/87_tr.html @@ -0,0 +1,67 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..017be98d0 --- /dev/null +++ b/87_ua.html @@ -0,0 +1,66 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Узагальнені структури

+

Узагальнені структури також можуть мати свої узагальнені, параметризовані типи, обмежені трейтами.

+
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..6e632f4b7 --- /dev/null +++ b/87_vi.html @@ -0,0 +1,66 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..986843823 --- /dev/null +++ b/87_zh-cn.html @@ -0,0 +1,66 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

重温泛型结构体

+

泛型结构体也可以通过 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..34a4b503f --- /dev/null +++ b/87_zh-tw.html @@ -0,0 +1,66 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

重訪泛型結構 (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_de.html b/88_de.html new file mode 100644 index 000000000..a8f1dae85 --- /dev/null +++ b/88_de.html @@ -0,0 +1,62 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour durch Rust + + Inhaltsverzeichnis +
+
+

[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..e3ae74848 --- /dev/null +++ b/88_en.html @@ -0,0 +1,62 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..866d83c15 --- /dev/null +++ b/88_es.html @@ -0,0 +1,60 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..43def35ac --- /dev/null +++ b/88_fa.html @@ -0,0 +1,62 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..4d5501e74 --- /dev/null +++ b/88_fi.html @@ -0,0 +1,62 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

[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..3b44a57f0 --- /dev/null +++ b/88_fr.html @@ -0,0 +1,66 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..18ce69790 --- /dev/null +++ b/88_gr.html @@ -0,0 +1,62 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

[Αμετάφραστο] 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..2f078c4ca --- /dev/null +++ b/88_hu.html @@ -0,0 +1,64 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..462458158 --- /dev/null +++ b/88_id.html @@ -0,0 +1,62 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[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..3eb9d1077 --- /dev/null +++ b/88_ie.html @@ -0,0 +1,57 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..6cd2cd071 --- /dev/null +++ b/88_it.html @@ -0,0 +1,62 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

[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..4b6e2148c --- /dev/null +++ b/88_ja.html @@ -0,0 +1,61 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

第 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..839018e7e --- /dev/null +++ b/88_ko.html @@ -0,0 +1,61 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

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..d52793f53 --- /dev/null +++ b/88_pl.html @@ -0,0 +1,62 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..40fe71beb --- /dev/null +++ b/88_pt-br.html @@ -0,0 +1,58 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..54bd50c6c --- /dev/null +++ b/88_ro.html @@ -0,0 +1,60 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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ăcutre 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..6fc00bf5f --- /dev/null +++ b/88_ru.html @@ -0,0 +1,60 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Глава 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..e3b7976a6 --- /dev/null +++ b/88_th.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

บทที่ 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..f3b39fd8b --- /dev/null +++ b/88_tr.html @@ -0,0 +1,58 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..11f4648db --- /dev/null +++ b/88_ua.html @@ -0,0 +1,62 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Розділ 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..20a07097a --- /dev/null +++ b/88_vi.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..33795a85b --- /dev/null +++ b/88_zh-cn.html @@ -0,0 +1,59 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

第七章 - 总结

+

现在我们手头有了更多可以清晰地表达我们的想法的语言功能! +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..660dfe024 --- /dev/null +++ b/88_zh-tw.html @@ -0,0 +1,59 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

第七章 - 總結

+

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

+

外部資源:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/90_de.html b/90_de.html new file mode 100644 index 000000000..58991de56 --- /dev/null +++ b/90_de.html @@ -0,0 +1,57 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour durch Rust + + Inhaltsverzeichnis +
+
+

[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..6f2c82cb1 --- /dev/null +++ b/90_en.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..1dcc06cc9 --- /dev/null +++ b/90_es.html @@ -0,0 +1,53 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..bc2187273 --- /dev/null +++ b/90_fa.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..e981a0f5e --- /dev/null +++ b/90_fi.html @@ -0,0 +1,57 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

[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..35a2810fe --- /dev/null +++ b/90_fr.html @@ -0,0 +1,58 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..e05912c3e --- /dev/null +++ b/90_gr.html @@ -0,0 +1,57 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

[Αμετάφραστο] 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..19ab54d5d --- /dev/null +++ b/90_hu.html @@ -0,0 +1,57 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..890e09319 --- /dev/null +++ b/90_id.html @@ -0,0 +1,57 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[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..985bf625f --- /dev/null +++ b/90_ie.html @@ -0,0 +1,57 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..d68a5df73 --- /dev/null +++ b/90_it.html @@ -0,0 +1,57 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

[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..da595d6c3 --- /dev/null +++ b/90_ja.html @@ -0,0 +1,57 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

[未翻訳] 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..32ef7ba30 --- /dev/null +++ b/90_ko.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

참조 다시 보기

+

참조는 근본적으로 메모리 상의 어떤 바이트들의 시작 위치를 가리키는 숫자일 뿐입니다. +참조의 유일한 용도는 특정 자료형의 데이터가 어디에 존재하는지에 대한 개념을 나타내는 것입니다. +일반 숫자와의 차이점은 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..692f9da05 --- /dev/null +++ b/90_pl.html @@ -0,0 +1,57 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..0a4a2a0ef --- /dev/null +++ b/90_pt-br.html @@ -0,0 +1,53 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..d9fcdce9d --- /dev/null +++ b/90_ro.html @@ -0,0 +1,57 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

[Nu e tradus] 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_ru.html b/90_ru.html new file mode 100644 index 000000000..f9a7e313f --- /dev/null +++ b/90_ru.html @@ -0,0 +1,53 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Ссылки снова (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..d5ec50668 --- /dev/null +++ b/90_th.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

กลับมาเรื่อง การอ้างอิง อีกรอบ

+

ความจริงแล้วการอ้างอิงมันก็แค่ตัวเลขที่บอกจุดเริ่มต้นของไบต์หนึ่งในหน่วยความจำ จุดประสงค์ก็เพื่อบอกให้รู้การมีอยู่ ว่าข้อมูลที่ระบุ 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..9234a8136 --- /dev/null +++ b/90_tr.html @@ -0,0 +1,53 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..81fd9138b --- /dev/null +++ b/90_ua.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Про посилання

+

По суті, посилання - це просто число, яке є стартовою позицією певних +байтів у пам'яті. Його єдина мета - дати уявлення, де знаходиться данні
+конкретного типу. Посилання відрізняється від звичайного числа тим, що 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..7e3c9c91a --- /dev/null +++ b/90_vi.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..5742f2417 --- /dev/null +++ b/90_zh-cn.html @@ -0,0 +1,53 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

重温引用

+

引用本质上只是表示内存中某些字节起始位置的数字。 它唯一的目的就是表示特定类型的数据存在于何处。 引用与数字的不同之处在于,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..3818b6597 --- /dev/null +++ b/90_zh-tw.html @@ -0,0 +1,57 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

[沒有翻譯] 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_de.html b/91_de.html new file mode 100644 index 000000000..08f57d8c0 --- /dev/null +++ b/91_de.html @@ -0,0 +1,72 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour durch Rust + + Inhaltsverzeichnis +
+
+

[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:

+ +

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:

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

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:

+ +

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:

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

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:

+ +

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:

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

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:

+ +

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:

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

[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:

+ +

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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/91_fr.html b/91_fr.html new file mode 100644 index 000000000..ceffc4491 --- /dev/null +++ b/91_fr.html @@ -0,0 +1,80 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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:

+ +

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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/91_gr.html b/91_gr.html new file mode 100644 index 000000000..b8e49dd32 --- /dev/null +++ b/91_gr.html @@ -0,0 +1,72 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

[Αμετάφραστο] 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:

+ +

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:

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

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:

+ +

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:

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

[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:

+ +

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:

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

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:

+ +

Detallies de memorie:

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

[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:

+ +

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:

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

[未翻訳] 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:

+ +

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:

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

원시 포인터

+

참조는 더 원시적인 자료형인 raw pointer로 변환될 수 있습니다. +raw pointer는 숫자와 마찬가지로 거의 제한 없이 여기저기 복사하고 이동할 수 있습니다. +Rust는 raw pointer가 가리키는 메모리 위치의 유효성을 보증하지 않습니다.

+

raw pointer에는 두 종류가 있습니다:

+ +

raw pointer는 숫자와 상호 변환이 가능합니다 (예: usize).

+

raw pointer는 unsafe한 코드의 데이터에 접근할 수 있습니다 (이에 대해서는 뒤에 다루겠습니다).

+

메모리 상세:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/91_pl.html b/91_pl.html new file mode 100644 index 000000000..4f7871071 --- /dev/null +++ b/91_pl.html @@ -0,0 +1,72 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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:

+ +

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:

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

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:

+ +

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:

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

[Nu e tradus] 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:

+ +

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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/91_ru.html b/91_ru.html new file mode 100644 index 000000000..c067a35be --- /dev/null +++ b/91_ru.html @@ -0,0 +1,68 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Сырые указатели (Raw Pointers)

+

Ссылки можно сконвертировать в более примитивные типы, называемые raw pointer (сырой указатель). Почти как с числом, его можно копировать и передавать с небольшими ограничениями. +Rust не дает никаких гарантий относительно того места памяти, на которое он указывает.

+

Существует два типа сырых указателей:

+ +

Сырые указатели могут быть сконвертированы "из" или "в" числа (например, usize).

+

Сырые указатели могут обращаться к данным с помощью unsafe кода (детальнее позже).

+

Детали для запоминания:

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

Raw Pointers

+

การอ้างอิงสามารถเปลี่ยนไปเป็น type ตั้งต้นที่เรียกว่า raw pointer ได้ ซึ่งมันมีลักษณะเหมือนเลขปกติที่ คัดลอกได้เคลื่อนที่ได้โดยแทบจะไม่มีข้อจำกัด +ซึ่ง Rust จะไม่รับประกันความถูกต้องของตำแหน่งในหน่วยความจำที่มันจะชี้ไปถึง

+

raw pointer มีสองแบบ:

+ +

Raw pointers สามารถแปลงค่าไปเป็นตัวเลขและแปลงกลับได้ (เช่น usize)

+

Raw pointers สามารถเข้าถึงข้อมูลได้ด้วยการใช้ unsafe (กล่าวเพิ่มเติมภายหลัง)

+

รายละเอียดหน่วยความจำ:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/91_tr.html b/91_tr.html new file mode 100644 index 000000000..958846d33 --- /dev/null +++ b/91_tr.html @@ -0,0 +1,67 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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:

+ +

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ı:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/91_ua.html b/91_ua.html new file mode 100644 index 000000000..ecf6d5249 --- /dev/null +++ b/91_ua.html @@ -0,0 +1,72 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Необробленні покажчики (Raw Pointers)

+

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

+

Існує 2 види необроблених покажчиків:

+ +

Необроблені покажчики можна перетворювати на числа та з них (наприклад, usize). +Необроблені покажчики можуть отримати доступ до даних за допомогою небезпечного коду (детальніше про це пізніше). +Деталі про роботу з пам'яттю:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/91_vi.html b/91_vi.html new file mode 100644 index 000000000..32680e2ad --- /dev/null +++ b/91_vi.html @@ -0,0 +1,67 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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ô:

+ +

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ớ:

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

指针

+

引用可以转换成一个更原始的类型,指针(raw pointer)。 像数字一样,它可以不受限制地复制和传递,但是Rust 不保证它指向的内存位置的有效性。 +有两种指针类型:

+ +

指针可以与数字相互转换(例如usize)。
+指针可以使用 unsafe 代码访问数据(稍后会详细介绍)。

+

内存细节:

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

[沒有翻譯] 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:

+ +

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:

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

[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:

+ +

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..2500a424d --- /dev/null +++ b/92_en.html @@ -0,0 +1,60 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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:

+ +

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..bc6c37836 --- /dev/null +++ b/92_es.html @@ -0,0 +1,59 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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:

+ +

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..d917c380c --- /dev/null +++ b/92_fa.html @@ -0,0 +1,60 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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:

+ +

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..74fd91c65 --- /dev/null +++ b/92_fi.html @@ -0,0 +1,60 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

[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:

+ +

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..f33978231 --- /dev/null +++ b/92_fr.html @@ -0,0 +1,61 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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:

+ +

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..a5eb0f553 --- /dev/null +++ b/92_gr.html @@ -0,0 +1,60 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

[Αμετάφραστο] 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:

+ +

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..503baad86 --- /dev/null +++ b/92_hu.html @@ -0,0 +1,60 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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:

+ +

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..cc32fc453 --- /dev/null +++ b/92_id.html @@ -0,0 +1,60 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[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:

+ +

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..6524ce83e --- /dev/null +++ b/92_ie.html @@ -0,0 +1,60 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/92_it.html b/92_it.html new file mode 100644 index 000000000..29b04aac6 --- /dev/null +++ b/92_it.html @@ -0,0 +1,60 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

[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:

+ +

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..05be419bd --- /dev/null +++ b/92_ja.html @@ -0,0 +1,60 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

[未翻訳] 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:

+ +

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..f6198c2be --- /dev/null +++ b/92_ko.html @@ -0,0 +1,60 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

역참조

+

참조 (i.e. &i32)를 통해 참조되는 데이터를 접근/변경하는 과정을 +역참조라고 합니다.

+

참조로 데이터에 접근/변경하는 데에는 다음의 두 가지 방법이 있습니다:

+ +

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..c0a3745ab --- /dev/null +++ b/92_pl.html @@ -0,0 +1,60 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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:

+ +

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..bb802d899 --- /dev/null +++ b/92_pt-br.html @@ -0,0 +1,59 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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:

+ +

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..7c56168b6 --- /dev/null +++ b/92_ro.html @@ -0,0 +1,60 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

[Nu e tradus] 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:

+ +

Rust has some powerful operators that allow us to do this.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/92_ru.html b/92_ru.html new file mode 100644 index 000000000..6a3743ae4 --- /dev/null +++ b/92_ru.html @@ -0,0 +1,60 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Разыменование (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..0cc034382 --- /dev/null +++ b/92_th.html @@ -0,0 +1,60 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..9b18e0895 --- /dev/null +++ b/92_tr.html @@ -0,0 +1,60 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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:

+ +

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..91cc21234 --- /dev/null +++ b/92_ua.html @@ -0,0 +1,60 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Розіменування

+

Процес доступу/управління даними, на які посилаються +за посиланням (тобто &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..869929448 --- /dev/null +++ b/92_vi.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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:

+ +

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..785d8c2c4 --- /dev/null +++ b/92_zh-cn.html @@ -0,0 +1,59 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

解引用

+

访问或操作 由引用(例如&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..d62fcbeb7 --- /dev/null +++ b/92_zh-tw.html @@ -0,0 +1,60 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

[沒有翻譯] 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:

+ +

Rust has some powerful operators that allow us to do this.

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

[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:

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

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:

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

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:

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

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:

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

[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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/93_fr.html b/93_fr.html new file mode 100644 index 000000000..327575e26 --- /dev/null +++ b/93_fr.html @@ -0,0 +1,66 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/93_gr.html b/93_gr.html new file mode 100644 index 000000000..882dd5d37 --- /dev/null +++ b/93_gr.html @@ -0,0 +1,65 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

[Αμετάφραστο] 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:

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

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:

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

[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:

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

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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/93_it.html b/93_it.html new file mode 100644 index 000000000..44c40e652 --- /dev/null +++ b/93_it.html @@ -0,0 +1,65 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

[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:

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

[未翻訳] 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:

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

* 연산자

+

* 연산자는 참조를 역참조 하는 명시적인 방법입니다.

+
let a: i32 = 42;
+let ref_ref_ref_a: &&&i32 = &&&a;
+let ref_a: &i32 = **ref_ref_ref_a;
+let b: i32 = *ref_a;
+
+

메모리 상세:

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

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:

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

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:

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

[Nu e tradus] 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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/93_ru.html b/93_ru.html new file mode 100644 index 000000000..d04906815 --- /dev/null +++ b/93_ru.html @@ -0,0 +1,64 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Оператор * (звездочка)

+

Оператор * является явным способом разыменовать ссылку.

+
let a: i32 = 42;
+let ref_ref_ref_a: &&&i32 = &&&a;
+let ref_a: &i32 = **ref_ref_ref_a;
+let b: i32 = *ref_a;
+
+

Детали для запоминания:

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

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;
+
+

รายละเอียดหน่วยความจำ:

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

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ı:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/93_ua.html b/93_ua.html new file mode 100644 index 000000000..ad085639d --- /dev/null +++ b/93_ua.html @@ -0,0 +1,65 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Оператор *

+

Оператор * є явним способом для розіменування посилання.

+
let a: i32 = 42;
+let ref_ref_ref_a: &&&i32 = &&&a;
+let ref_a: &i32 = **ref_ref_ref_a;
+let b: i32 = *ref_a;
+
+

Деталі про роботу з пам'яттю:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/93_vi.html b/93_vi.html new file mode 100644 index 000000000..3cb98b754 --- /dev/null +++ b/93_vi.html @@ -0,0 +1,64 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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ớ:

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

运算符 *

+

* 运算符是一种很明确的解引用的方法。

+
let a: i32 = 42;
+let ref_ref_ref_a: &&&i32 = &&&a;
+let ref_a: &i32 = **ref_ref_ref_a;
+let b: i32 = *ref_a;
+
+

内存细节:

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

[沒有翻譯] 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:

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

[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..73f93c11d --- /dev/null +++ b/94_en.html @@ -0,0 +1,63 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..16469f538 --- /dev/null +++ b/94_es.html @@ -0,0 +1,62 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..5eb71745b --- /dev/null +++ b/94_fa.html @@ -0,0 +1,63 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..7b9f0c0fb --- /dev/null +++ b/94_fi.html @@ -0,0 +1,63 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

[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..a7189da8e --- /dev/null +++ b/94_fr.html @@ -0,0 +1,66 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..03a95b109 --- /dev/null +++ b/94_gr.html @@ -0,0 +1,63 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

[Αμετάφραστο] 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..7f61a1a89 --- /dev/null +++ b/94_hu.html @@ -0,0 +1,64 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..fd67295e7 --- /dev/null +++ b/94_id.html @@ -0,0 +1,63 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[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..378e0a1ad --- /dev/null +++ b/94_ie.html @@ -0,0 +1,64 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..a43d28ee3 --- /dev/null +++ b/94_it.html @@ -0,0 +1,63 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

[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..bc2181734 --- /dev/null +++ b/94_ja.html @@ -0,0 +1,63 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

[未翻訳] 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..f73ed7ae9 --- /dev/null +++ b/94_ko.html @@ -0,0 +1,63 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

. 연산자

+

. 연산자는 참조의 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..1610a852b --- /dev/null +++ b/94_pl.html @@ -0,0 +1,63 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..ffe46d935 --- /dev/null +++ b/94_pt-br.html @@ -0,0 +1,62 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..fc5f0fc75 --- /dev/null +++ b/94_ro.html @@ -0,0 +1,63 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

[Nu e tradus] 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_ru.html b/94_ru.html new file mode 100644 index 000000000..92269feff --- /dev/null +++ b/94_ru.html @@ -0,0 +1,62 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Оператор . (точка)

+

Оператор . используется для доступа к полям и методам ссылки. Он работает более тонко.

+
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..8a11337db --- /dev/null +++ b/94_th.html @@ -0,0 +1,62 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..75667c7bc --- /dev/null +++ b/94_tr.html @@ -0,0 +1,62 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..ac7b0b5e8 --- /dev/null +++ b/94_ua.html @@ -0,0 +1,63 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Оператор .

+

Оператор . використовується для доступу до полів і методів посилання. Це працює дещо тонше.

+
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..7bcc51ec1 --- /dev/null +++ b/94_vi.html @@ -0,0 +1,62 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..bfbdd3266 --- /dev/null +++ b/94_zh-cn.html @@ -0,0 +1,62 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

运算符 .

+

.运算符用于访问引用的字段和方法,它的工作原理更加巧妙。

+
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..66942c872 --- /dev/null +++ b/94_zh-tw.html @@ -0,0 +1,63 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

[沒有翻譯] 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_de.html b/95_de.html new file mode 100644 index 000000000..96ae28554 --- /dev/null +++ b/95_de.html @@ -0,0 +1,61 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour durch Rust + + Inhaltsverzeichnis +
+
+

[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..0e9b52f34 --- /dev/null +++ b/95_en.html @@ -0,0 +1,61 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..8ba031f9e --- /dev/null +++ b/95_es.html @@ -0,0 +1,57 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..34b1d11e2 --- /dev/null +++ b/95_fa.html @@ -0,0 +1,61 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..872ae7789 --- /dev/null +++ b/95_fi.html @@ -0,0 +1,61 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

[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..d0458b9ee --- /dev/null +++ b/95_fr.html @@ -0,0 +1,65 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..61b76d56f --- /dev/null +++ b/95_gr.html @@ -0,0 +1,61 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

[Αμετάφραστο] 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..860f8f561 --- /dev/null +++ b/95_hu.html @@ -0,0 +1,61 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..8afcf2f50 --- /dev/null +++ b/95_id.html @@ -0,0 +1,61 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[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..b3344603e --- /dev/null +++ b/95_ie.html @@ -0,0 +1,61 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..7d63ad9a4 --- /dev/null +++ b/95_it.html @@ -0,0 +1,61 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

[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..efdf22ebd --- /dev/null +++ b/95_ja.html @@ -0,0 +1,61 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

[未翻訳] 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..c55c7b9db --- /dev/null +++ b/95_ko.html @@ -0,0 +1,61 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

스마트 포인터

+

& 연산자로 이미 존재하는 데이터의 참조를 생성하는 기능과 더불어, +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..cb1d95e29 --- /dev/null +++ b/95_pl.html @@ -0,0 +1,61 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..f6506b985 --- /dev/null +++ b/95_pt-br.html @@ -0,0 +1,57 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..c25956ff6 --- /dev/null +++ b/95_ro.html @@ -0,0 +1,61 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

[Nu e tradus] 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_ru.html b/95_ru.html new file mode 100644 index 000000000..1f0486329 --- /dev/null +++ b/95_ru.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Умные указатели (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..7a159fa7d --- /dev/null +++ b/95_th.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..23a96666b --- /dev/null +++ b/95_tr.html @@ -0,0 +1,57 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..00da48e42 --- /dev/null +++ b/95_ua.html @@ -0,0 +1,61 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Розумні вказівники (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..f073103b2 --- /dev/null +++ b/95_vi.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..c4b50e1f7 --- /dev/null +++ b/95_zh-cn.html @@ -0,0 +1,57 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

智能指针

+

除了能够使用&运算符创建对现有类型数据的引用之外, 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..4ae313359 --- /dev/null +++ b/95_zh-tw.html @@ -0,0 +1,61 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

[沒有翻譯] 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_de.html b/96_de.html new file mode 100644 index 000000000..54c9ac1f1 --- /dev/null +++ b/96_de.html @@ -0,0 +1,63 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour durch Rust + + Inhaltsverzeichnis +
+
+

[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..f283d3042 --- /dev/null +++ b/96_en.html @@ -0,0 +1,63 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..2f6dab7bc --- /dev/null +++ b/96_es.html @@ -0,0 +1,58 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..2d04677be --- /dev/null +++ b/96_fa.html @@ -0,0 +1,63 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..2aee2a3b4 --- /dev/null +++ b/96_fi.html @@ -0,0 +1,63 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

[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..1b4bf39f0 --- /dev/null +++ b/96_fr.html @@ -0,0 +1,67 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..4cbc1b2ea --- /dev/null +++ b/96_gr.html @@ -0,0 +1,63 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

[Αμετάφραστο] 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..8daeec841 --- /dev/null +++ b/96_hu.html @@ -0,0 +1,69 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..c0a792d1d --- /dev/null +++ b/96_id.html @@ -0,0 +1,63 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[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..6d76b4cc2 --- /dev/null +++ b/96_ie.html @@ -0,0 +1,64 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..919e3aa83 --- /dev/null +++ b/96_it.html @@ -0,0 +1,63 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

[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..2dd9f9efa --- /dev/null +++ b/96_ja.html @@ -0,0 +1,63 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

[未翻訳] 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..89a42edf6 --- /dev/null +++ b/96_ko.html @@ -0,0 +1,63 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

위험한 스마트 코드

+

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..861fc14b2 --- /dev/null +++ b/96_pl.html @@ -0,0 +1,63 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..c974380bf --- /dev/null +++ b/96_pt-br.html @@ -0,0 +1,59 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..4e2a6eef3 --- /dev/null +++ b/96_ro.html @@ -0,0 +1,63 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

[Nu e tradus] 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_ru.html b/96_ru.html new file mode 100644 index 000000000..df18859ae --- /dev/null +++ b/96_ru.html @@ -0,0 +1,59 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Умный небезопасный код (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..7f890d579 --- /dev/null +++ b/96_th.html @@ -0,0 +1,60 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..497952000 --- /dev/null +++ b/96_tr.html @@ -0,0 +1,58 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..1d2d38d2f --- /dev/null +++ b/96_ua.html @@ -0,0 +1,63 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Розумний небезпечний код (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..6716e4f95 --- /dev/null +++ b/96_vi.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..061bb932c --- /dev/null +++ b/96_zh-cn.html @@ -0,0 +1,59 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

智能不安全代码

+

智能指针倾向于经常使用不安全的代码。如前所述,它们是与 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..c7fd2a9ed --- /dev/null +++ b/96_zh-tw.html @@ -0,0 +1,63 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

[沒有翻譯] 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_de.html b/97_de.html new file mode 100644 index 000000000..3c4fcb929 --- /dev/null +++ b/97_de.html @@ -0,0 +1,66 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour durch Rust + + Inhaltsverzeichnis +
+
+

[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:

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

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:

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

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:

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

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:

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

[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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/97_fr.html b/97_fr.html new file mode 100644 index 000000000..464a6908a --- /dev/null +++ b/97_fr.html @@ -0,0 +1,74 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/97_gr.html b/97_gr.html new file mode 100644 index 000000000..1837ceff7 --- /dev/null +++ b/97_gr.html @@ -0,0 +1,66 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

[Αμετάφραστο] 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:

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

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:

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

[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:

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

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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/97_it.html b/97_it.html new file mode 100644 index 000000000..119f4ed63 --- /dev/null +++ b/97_it.html @@ -0,0 +1,66 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

[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:

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

[未翻訳] 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:

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

익숙한 친구들

+

이미 본 적 있는 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한 역참조를 사용합니다.

+

메모리 상세:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/97_pl.html b/97_pl.html new file mode 100644 index 000000000..7f46dca6d --- /dev/null +++ b/97_pl.html @@ -0,0 +1,66 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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:

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

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:

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

[Nu e tradus] 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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/97_ru.html b/97_ru.html new file mode 100644 index 000000000..c7b77e37b --- /dev/null +++ b/97_ru.html @@ -0,0 +1,62 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Знакомые друзья (Familiar Friends)

+

Рассмотрим некоторые умные указатели, которые мы уже видели, вроде Vec<T> и String.

+

Vec<T> является умным указателем, который владеет некоторым регионом байт памяти. Компилятор Rust не имеет понятия, что находится в этих байтах. Умный указатель интерпретирует их, что означает захват элементов из этой управляемой памяти, отслеживание где начинаются и заканчиваются структуры данных в этих байтах и затем, наконец, разыменовывание сырого указателя на структуры данных в виде красивого, чистого, эргономичного интерфейса, который можно использовать (например my_vec[3]).

+

Аналогично String отслеживает область байт памяти, программно ограничивает записанное в её содержимое так, чтобы оно было всегда допустимым utf-8 символом и помогает разыменовать эту область памяти в тип &str.

+

Обе эти структуры используют небезопасное разыменование сырых указателей для выполнения своей работы.

+

Детали для запоминания:

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

เพื่อนที่คุ้นเคย

+

คราวนี้เรามาพิจารณา 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

+

รายละเอียดหน่วยความจำ:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/97_tr.html b/97_tr.html new file mode 100644 index 000000000..006566bb1 --- /dev/null +++ b/97_tr.html @@ -0,0 +1,62 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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ı:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/97_ua.html b/97_ua.html new file mode 100644 index 000000000..de06b2767 --- /dev/null +++ b/97_ua.html @@ -0,0 +1,66 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Наші старі друзі

+

Розглянемо деякі розумні покажчики, які ми вже бачили, такі як Vec<T> та String.

+

Vec<T> - це розумний покажчик, який просто володіє деякою областю пам'яті у байтах. Компілятор Rust не має жодного уявлення про те, що +знаходиться у цих байтах. Розумний вказівник інтерпретує, тобто захоплює елементи з області пам'яті, якою він керує, +відстежує, де починаються і де закінчуються структури даних у цих байтах, і потім нарешті розіменовує необроблений вказівник +на структури даних з гарним чистим і лаконічним інтерфейсом, якими ми можемо користуватися (наприклад, my_vec[3]).

+

Аналогічно, String відстежує область пам'яті у байтах, і програмно обмежує вміст, що записується до неї, щоб завжди +бути коректною у кодуванні utf-8 і допомагає розіменовувати цю ділянку пам'яті до типу &str.

+

Обидві ці структури даних використовують небезпечне розіменування необроблених вказівників для виконання вказівників для виконання своєї роботи.

+

Подробиці про роботу з пам'ятю:

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

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ớ:

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

熟悉的朋友

+

想一想一些我们已经见过的智能指针,例如 Vec<T>String

+

Vec<T> 是一个智能指针,它只拥有一些字节的内存区域。 Rust 编译器不知道这些字节中存在着什么。 智能指针解释从它管理的内存区域获取数据意味着什么,跟踪这些字节中的数据结构开始和结束的位置,最后将指针解引用到数据结构中, 成为一个漂亮干净的可以阅读的接口供我们使用(例如my_vec[3])。

+

类似地,String 跟踪字节的内存区域,并以编程方式将写入其中的内容限制为始终有效的 utf-8,并帮助将该内存区域解引用为类型 &str

+

这两种数据结构都使用不安全的解引用指针来完成它们的工作。

+

内存细节:

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

[沒有翻譯] 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:

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

[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..587c0390a --- /dev/null +++ b/98_en.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..d3974fe9c --- /dev/null +++ b/98_es.html @@ -0,0 +1,56 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..2886214c4 --- /dev/null +++ b/98_fa.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..2d055cf4f --- /dev/null +++ b/98_fi.html @@ -0,0 +1,56 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

[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..d75194482 --- /dev/null +++ b/98_fr.html @@ -0,0 +1,58 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..f5ff032a6 --- /dev/null +++ b/98_gr.html @@ -0,0 +1,56 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

[Αμετάφραστο] 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..ce2e07825 --- /dev/null +++ b/98_hu.html @@ -0,0 +1,56 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..86ab97624 --- /dev/null +++ b/98_id.html @@ -0,0 +1,56 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[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..62d6434b9 --- /dev/null +++ b/98_ie.html @@ -0,0 +1,56 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..daf654858 --- /dev/null +++ b/98_it.html @@ -0,0 +1,56 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

[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..13d898b1b --- /dev/null +++ b/98_ja.html @@ -0,0 +1,56 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

[未翻訳] 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..6469a3cb2 --- /dev/null +++ b/98_ko.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

힙에 할당된 메모리

+

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..99ee1c5d6 --- /dev/null +++ b/98_pl.html @@ -0,0 +1,56 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..980869793 --- /dev/null +++ b/98_pt-br.html @@ -0,0 +1,56 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..96bae0d0d --- /dev/null +++ b/98_ro.html @@ -0,0 +1,56 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

[Nu e tradus] 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_ru.html b/98_ru.html new file mode 100644 index 000000000..48adcdea4 --- /dev/null +++ b/98_ru.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Память, выделяемая в куче (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..3e117b3ea --- /dev/null +++ b/98_th.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

การจัดสรรพื้นที่ใน 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..e772fd6e0 --- /dev/null +++ b/98_tr.html @@ -0,0 +1,56 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

Ö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..5924442a9 --- /dev/null +++ b/98_ua.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Пам'ять у купі (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..f358b0980 --- /dev/null +++ b/98_vi.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..355fb9f36 --- /dev/null +++ b/98_zh-cn.html @@ -0,0 +1,56 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

堆分配内存

+

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..4e48aa66f --- /dev/null +++ b/98_zh-tw.html @@ -0,0 +1,56 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

[沒有翻譯] 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_de.html b/99_de.html new file mode 100644 index 000000000..4229f5285 --- /dev/null +++ b/99_de.html @@ -0,0 +1,63 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour durch Rust + + Inhaltsverzeichnis +
+
+

[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..48eabcce2 --- /dev/null +++ b/99_en.html @@ -0,0 +1,63 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..1d370a43c --- /dev/null +++ b/99_es.html @@ -0,0 +1,59 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..dace5a3cd --- /dev/null +++ b/99_fa.html @@ -0,0 +1,63 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..e90bc6326 --- /dev/null +++ b/99_fi.html @@ -0,0 +1,63 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

[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..2700d8f1e --- /dev/null +++ b/99_fr.html @@ -0,0 +1,68 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..ca16b81cc --- /dev/null +++ b/99_gr.html @@ -0,0 +1,63 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

[Αμετάφραστο] 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..bf923a862 --- /dev/null +++ b/99_hu.html @@ -0,0 +1,64 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..9e6bcb58f --- /dev/null +++ b/99_id.html @@ -0,0 +1,63 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[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..d443e2156 --- /dev/null +++ b/99_ie.html @@ -0,0 +1,63 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..83c30d334 --- /dev/null +++ b/99_it.html @@ -0,0 +1,63 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

[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..755a02841 --- /dev/null +++ b/99_ja.html @@ -0,0 +1,63 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

[未翻訳] 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..efcc6fab9 --- /dev/null +++ b/99_ko.html @@ -0,0 +1,63 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

실패할 수 있는 메인 다시 보기

+

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..9a96db574 --- /dev/null +++ b/99_pl.html @@ -0,0 +1,63 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..7e806e858 --- /dev/null +++ b/99_pt-br.html @@ -0,0 +1,59 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..f4847696b --- /dev/null +++ b/99_ro.html @@ -0,0 +1,63 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

[Nu e tradus] 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_ru.html b/99_ru.html new file mode 100644 index 000000000..edd01ac7b --- /dev/null +++ b/99_ru.html @@ -0,0 +1,59 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Сигнатура ошибки в функции 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..1b2c7d55e --- /dev/null +++ b/99_th.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

กลับมาที่ 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..ee4eb6213 --- /dev/null +++ b/99_tr.html @@ -0,0 +1,59 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..ad903b09d --- /dev/null +++ b/99_ua.html @@ -0,0 +1,63 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Обробка помилок функції 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..b5144fd5b --- /dev/null +++ b/99_vi.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..29610286e --- /dev/null +++ b/99_zh-cn.html @@ -0,0 +1,59 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

重温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..054665690 --- /dev/null +++ b/99_zh-tw.html @@ -0,0 +1,63 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

[沒有翻譯] 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_de.html b/TOC_de.html new file mode 100644 index 000000000..4d82f02e7 --- /dev/null +++ b/TOC_de.html @@ -0,0 +1,170 @@ + + + + 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

[Noch nicht übersetzt] Chapter 5 - Ownership & Borrowing Data

[Noch nicht übersetzt] Chapter 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..4a064b151 --- /dev/null +++ b/TOC_en.html @@ -0,0 +1,170 @@ + + + + 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..c15c89a0c --- /dev/null +++ b/TOC_es.html @@ -0,0 +1,170 @@ + + + + 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..23437b903 --- /dev/null +++ b/TOC_fa.html @@ -0,0 +1,170 @@ + + + + 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..f439e0a7e --- /dev/null +++ b/TOC_fi.html @@ -0,0 +1,170 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + +
+
+

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..3c8771895 --- /dev/null +++ b/TOC_fr.html @@ -0,0 +1,170 @@ + + + + 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..97849b918 --- /dev/null +++ b/TOC_gr.html @@ -0,0 +1,170 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + +
+
+

Μαθήματα

+

Κεφάλαιο 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..9d9762432 --- /dev/null +++ b/TOC_hu.html @@ -0,0 +1,170 @@ + + + + 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..1e193ec19 --- /dev/null +++ b/TOC_id.html @@ -0,0 +1,170 @@ + + + + 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..f486f86eb --- /dev/null +++ b/TOC_ie.html @@ -0,0 +1,170 @@ + + + + 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..205e7c65a --- /dev/null +++ b/TOC_it.html @@ -0,0 +1,170 @@ + + + + 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

[Non tradotto] Chapter 5 - Ownership & Borrowing Data

[Non tradotto] Chapter 6 - Text

[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..d0494f741 --- /dev/null +++ b/TOC_ja.html @@ -0,0 +1,170 @@ + + + + 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..85a8fd4bf --- /dev/null +++ b/TOC_ko.html @@ -0,0 +1,170 @@ + + + + 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..85f147af5 --- /dev/null +++ b/TOC_pl.html @@ -0,0 +1,170 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + +
+
+

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..d59006974 --- /dev/null +++ b/TOC_pt-br.html @@ -0,0 +1,170 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + +
+
+

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..5f3c7f46c --- /dev/null +++ b/TOC_ro.html @@ -0,0 +1,170 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + +
+
+

Lecții

+

Capitolul 1 - Ideiile ș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

[Nu e tradus] Chapter 8 - Smart Pointers

Capitolul 9 - Organizarea și Structurarea Proiectului

[Nu e tradus] Chapter 10 - The End

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

Занятия

+

Глава 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..917ac7871 --- /dev/null +++ b/TOC_th.html @@ -0,0 +1,170 @@ + + + + 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..6937e2c89 --- /dev/null +++ b/TOC_tr.html @@ -0,0 +1,170 @@ + + + + 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..494e58118 --- /dev/null +++ b/TOC_ua.html @@ -0,0 +1,170 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + +
+
+

Заняття

+

Розділ 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..857137354 --- /dev/null +++ b/TOC_vi.html @@ -0,0 +1,170 @@ + + + + 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..fed2c425a --- /dev/null +++ b/TOC_zh-cn.html @@ -0,0 +1,170 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + +
+
+

课程

+

第一章 - 基础知识

第二章 - 基本控制流

第三章 - 基本数据结构类型

第四章 - 泛型

第五章 - 所有权和数据借用

第六章 - 文本

第七章 - 面向对象编程

第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..e48ce5930 --- /dev/null +++ b/TOC_zh-tw.html @@ -0,0 +1,170 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + +
+
+

課堂

+

第一章 - 基礎概念

第二章 - 基本流程控制

第三章 - 基本資料結構 (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_de.html b/beta_00_de.html new file mode 100644 index 000000000..a1d587056 --- /dev/null +++ b/beta_00_de.html @@ -0,0 +1,84 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour durch Rust + + Inhaltsverzeichnis +
+
+

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..efe6a5366 --- /dev/null +++ b/beta_00_es.html @@ -0,0 +1,84 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..58a7f554c --- /dev/null +++ b/beta_00_fa.html @@ -0,0 +1,78 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

سلام,

+

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

+

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

+ +

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

+

ما با یک مثال کلاسیک قابلیت راست در 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..28f02ffca --- /dev/null +++ b/beta_00_fi.html @@ -0,0 +1,89 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

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..790fabb0a --- /dev/null +++ b/beta_00_fr.html @@ -0,0 +1,84 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..886883222 --- /dev/null +++ b/beta_00_gr.html @@ -0,0 +1,78 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

Γεια,

+

Καλώς ήρθατε στην Ξενάγηση στη 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..249efa3e5 --- /dev/null +++ b/beta_00_hu.html @@ -0,0 +1,84 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..72b1842b0 --- /dev/null +++ b/beta_00_id.html @@ -0,0 +1,79 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

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..29e191cdc --- /dev/null +++ b/beta_00_ie.html @@ -0,0 +1,55 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..d5c4eb233 --- /dev/null +++ b/beta_00_it.html @@ -0,0 +1,82 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

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..dfebc6b2c --- /dev/null +++ b/beta_00_ja.html @@ -0,0 +1,83 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

こんにちは、

+

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..1d06370e0 --- /dev/null +++ b/beta_00_ko.html @@ -0,0 +1,79 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

안녕하세요,

+

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..0dacce616 --- /dev/null +++ b/beta_00_pl.html @@ -0,0 +1,77 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..a43eb9bf3 --- /dev/null +++ b/beta_00_pt-br.html @@ -0,0 +1,79 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..8696cc98f --- /dev/null +++ b/beta_00_ro.html @@ -0,0 +1,88 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..c7cfc086c --- /dev/null +++ b/beta_00_ru.html @@ -0,0 +1,82 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Привет,

+

Добро пожаловать в Тур по 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..53b1da246 --- /dev/null +++ b/beta_00_th.html @@ -0,0 +1,78 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

สวัสดี,

+

ยินดีต้อนรับสู่ 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..bc7121cf6 --- /dev/null +++ b/beta_00_tr.html @@ -0,0 +1,77 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..b73e25fbb --- /dev/null +++ b/beta_00_ua.html @@ -0,0 +1,78 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Привіт,

+

Ласкаво просимо до 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..7f9745427 --- /dev/null +++ b/beta_00_vi.html @@ -0,0 +1,82 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..7409072e8 --- /dev/null +++ b/beta_00_zh-cn.html @@ -0,0 +1,79 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

你好,

+

欢迎来到 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..50507951b --- /dev/null +++ b/beta_00_zh-tw.html @@ -0,0 +1,79 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

您好,

+

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

+

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

+

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

+ +

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

+

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

+

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

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

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..60d599d06 --- /dev/null +++ b/beta_02_en.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..652266978 --- /dev/null +++ b/beta_02_es.html @@ -0,0 +1,56 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..82a3ba7b1 --- /dev/null +++ b/beta_02_fa.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..6224c38c1 --- /dev/null +++ b/beta_02_fi.html @@ -0,0 +1,56 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

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..23d3c694b --- /dev/null +++ b/beta_02_fr.html @@ -0,0 +1,56 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..214a559b5 --- /dev/null +++ b/beta_02_gr.html @@ -0,0 +1,56 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

Η Παιδική Χαρά της 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..5102dfc0d --- /dev/null +++ b/beta_02_hu.html @@ -0,0 +1,58 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..318d42800 --- /dev/null +++ b/beta_02_id.html @@ -0,0 +1,56 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

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..eaf9cb04a --- /dev/null +++ b/beta_02_ie.html @@ -0,0 +1,55 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..f6557b3f5 --- /dev/null +++ b/beta_02_it.html @@ -0,0 +1,56 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

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..feb6332e2 --- /dev/null +++ b/beta_02_ja.html @@ -0,0 +1,56 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

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..6895a6d83 --- /dev/null +++ b/beta_02_ko.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

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..729d352e6 --- /dev/null +++ b/beta_02_pl.html @@ -0,0 +1,56 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..6772efc5f --- /dev/null +++ b/beta_02_pt-br.html @@ -0,0 +1,56 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..84a849815 --- /dev/null +++ b/beta_02_ro.html @@ -0,0 +1,56 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..6f5d36169 --- /dev/null +++ b/beta_02_ru.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

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..2ba0d04b7 --- /dev/null +++ b/beta_02_th.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..9fad1cc1d --- /dev/null +++ b/beta_02_tr.html @@ -0,0 +1,56 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..f5d44c72e --- /dev/null +++ b/beta_02_ua.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

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..e4553d615 --- /dev/null +++ b/beta_02_vi.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..728b85cc1 --- /dev/null +++ b/beta_02_zh-cn.html @@ -0,0 +1,56 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

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..21ebdbd84 --- /dev/null +++ b/beta_02_zh-tw.html @@ -0,0 +1,56 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

The Rust Playground (Rust 語言遊樂場)

+

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

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

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..efba1e640 --- /dev/null +++ b/beta_03_en.html @@ -0,0 +1,60 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..76f1e1088 --- /dev/null +++ b/beta_03_es.html @@ -0,0 +1,60 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..646e123c1 --- /dev/null +++ b/beta_03_fa.html @@ -0,0 +1,60 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..cca445cd9 --- /dev/null +++ b/beta_03_fi.html @@ -0,0 +1,58 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

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..fbb815a9a --- /dev/null +++ b/beta_03_fr.html @@ -0,0 +1,61 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..3180b477e --- /dev/null +++ b/beta_03_gr.html @@ -0,0 +1,58 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

Μεταβλητές

+

Οι μεταβλητές δηλώνονται με τη λέξη-κλειδί 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..2eb8ae3c6 --- /dev/null +++ b/beta_03_hu.html @@ -0,0 +1,60 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..923e47fe1 --- /dev/null +++ b/beta_03_id.html @@ -0,0 +1,58 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

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..acecaf82d --- /dev/null +++ b/beta_03_ie.html @@ -0,0 +1,55 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..e893903d4 --- /dev/null +++ b/beta_03_it.html @@ -0,0 +1,60 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

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..800c3adf3 --- /dev/null +++ b/beta_03_ja.html @@ -0,0 +1,59 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

変数

+

変数は 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..34eab77af --- /dev/null +++ b/beta_03_ko.html @@ -0,0 +1,60 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

변수

+

변수는 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..ee6928f77 --- /dev/null +++ b/beta_03_pl.html @@ -0,0 +1,59 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..f46001752 --- /dev/null +++ b/beta_03_pt-br.html @@ -0,0 +1,59 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..bb173522c --- /dev/null +++ b/beta_03_ro.html @@ -0,0 +1,60 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..b7a5b2146 --- /dev/null +++ b/beta_03_ru.html @@ -0,0 +1,58 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Переменные (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..497b1ae0e --- /dev/null +++ b/beta_03_th.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

ตัวแปร

+

การประกาศตัวแปร ใช้คียเวิร์ด 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..472287c9c --- /dev/null +++ b/beta_03_tr.html @@ -0,0 +1,58 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..460189c12 --- /dev/null +++ b/beta_03_ua.html @@ -0,0 +1,58 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Змінні

+

Змінні оголошуються за допомогою ключового слова 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..5f624f892 --- /dev/null +++ b/beta_03_vi.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..5eac94845 --- /dev/null +++ b/beta_03_zh-cn.html @@ -0,0 +1,58 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

变量

+

变量使用 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..82b60e9f4 --- /dev/null +++ b/beta_03_zh-tw.html @@ -0,0 +1,58 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

變量 (Variables)

+

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

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

Variablenwerte ändern

+

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

+ +

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..4c78c6c7f --- /dev/null +++ b/beta_04_en.html @@ -0,0 +1,62 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

Changing Variables

+

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

+ +

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..36c511fec --- /dev/null +++ b/beta_04_es.html @@ -0,0 +1,62 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

Modificar Variables

+

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

+ +

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..860ded5cc --- /dev/null +++ b/beta_04_fa.html @@ -0,0 +1,62 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

Changing Variables

+

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

+ +

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..83e1a77b2 --- /dev/null +++ b/beta_04_fi.html @@ -0,0 +1,61 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

Muuttumattomat muuttujat

+

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

+ +

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..2fde031c3 --- /dev/null +++ b/beta_04_fr.html @@ -0,0 +1,62 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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:

+ +

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..4e87fe194 --- /dev/null +++ b/beta_04_gr.html @@ -0,0 +1,61 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

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

+

Η 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..f66d9d793 --- /dev/null +++ b/beta_04_hu.html @@ -0,0 +1,64 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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:

+ +

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..4841ed4bc --- /dev/null +++ b/beta_04_id.html @@ -0,0 +1,61 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

Merubah Variabel

+

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

+ +

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..dbe5a62c1 --- /dev/null +++ b/beta_04_ie.html @@ -0,0 +1,55 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

Changear valores

+

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

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..937d50356 --- /dev/null +++ b/beta_04_it.html @@ -0,0 +1,62 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

Modificare le Variabili

+

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

+ +

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..6720c720d --- /dev/null +++ b/beta_04_ja.html @@ -0,0 +1,61 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

変数の変更

+

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..afe11f6c9 --- /dev/null +++ b/beta_04_ko.html @@ -0,0 +1,61 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

변수의 값 변경하기

+

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

+ +

변경 가능(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..22b8833a2 --- /dev/null +++ b/beta_04_pl.html @@ -0,0 +1,61 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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 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..f12007d8c --- /dev/null +++ b/beta_04_pt-br.html @@ -0,0 +1,61 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

Modificando valores

+

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

+ +

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..1b22244c8 --- /dev/null +++ b/beta_04_ro.html @@ -0,0 +1,62 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

Modificarea variabilelor

+

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

+ +

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..762a2ff1b --- /dev/null +++ b/beta_04_ru.html @@ -0,0 +1,61 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

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

+

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

+ +

Изменяемые (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..45f36da7d --- /dev/null +++ b/beta_04_th.html @@ -0,0 +1,61 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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

+

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

+ +

ตัวแปรที่เปลี่ยนค่าได้ จะมีคีเวิร์ด 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..1e5683f63 --- /dev/null +++ b/beta_04_tr.html @@ -0,0 +1,61 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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:

+ +

İ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..93d371876 --- /dev/null +++ b/beta_04_ua.html @@ -0,0 +1,61 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

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

+

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

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

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:

+ +

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..8e532db46 --- /dev/null +++ b/beta_04_zh-cn.html @@ -0,0 +1,61 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

修改变量

+

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..a06dcb55f --- /dev/null +++ b/beta_04_zh-tw.html @@ -0,0 +1,61 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

改變變數的值

+

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

+ +

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

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

Basistypen

+

Rust besitzt eine vielzahl an bekannten Datentypen

+ +

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..31e3ec39f --- /dev/null +++ b/beta_05_en.html @@ -0,0 +1,71 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

Basic Types

+

Rust has a variety of familiar types:

+ +

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..c643662a8 --- /dev/null +++ b/beta_05_es.html @@ -0,0 +1,68 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

Tipos Básicos

+

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

+ +

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..7e65c4be4 --- /dev/null +++ b/beta_05_fa.html @@ -0,0 +1,71 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

Basic Types

+

Rust has a variety of familiar types:

+ +

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..fff2f6657 --- /dev/null +++ b/beta_05_fi.html @@ -0,0 +1,69 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

Perustietotyypit

+

Rustissa on paljon tuttuja tietotyyppejä:

+ +

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..519e999df --- /dev/null +++ b/beta_05_fr.html @@ -0,0 +1,73 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

Types primitifs

+

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

+ +

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..28d93efd2 --- /dev/null +++ b/beta_05_gr.html @@ -0,0 +1,68 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

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

+

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

+ +

Ο χειρισμός του κειμένου μπορεί να 'ναι πιο πολύπλοκος απ' όσο έχετε ίσως συνηθίσει σε άλλες γλώσσες· καθώς η 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..ddfb68878 --- /dev/null +++ b/beta_05_hu.html @@ -0,0 +1,80 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

Alapvető típusok

+

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

+ +

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..e3fe0dd9d --- /dev/null +++ b/beta_05_id.html @@ -0,0 +1,71 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

Tipe Data Dasar

+

Rust mempunyai berbagai jenis tipe data:

+ +

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..25548b4c5 --- /dev/null +++ b/beta_05_ie.html @@ -0,0 +1,55 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

Basic tipes

+

Rust possede un varietá de tipes familiari

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..4c649c0bc --- /dev/null +++ b/beta_05_it.html @@ -0,0 +1,70 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

Tipi di dato basilari

+

Rust ha molti tipi familiari:

+ +

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..723f51b88 --- /dev/null +++ b/beta_05_ja.html @@ -0,0 +1,69 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

基本的な型

+

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

+ +

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..428728b30 --- /dev/null +++ b/beta_05_ko.html @@ -0,0 +1,70 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

기본 자료형

+

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

+ +

텍스트는 다른 익숙한 언어에서보다 복잡한데, 이는 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..2cbc9b08c --- /dev/null +++ b/beta_05_pl.html @@ -0,0 +1,68 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

Podstawowe Typy

+

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

+ +

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..d0c7e2202 --- /dev/null +++ b/beta_05_pt-br.html @@ -0,0 +1,68 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

Tipos básicos

+

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

+ +

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..012f8fef9 --- /dev/null +++ b/beta_05_ro.html @@ -0,0 +1,71 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

Tipuri de date de bază

+

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

+ +

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..3f0c32134 --- /dev/null +++ b/beta_05_ru.html @@ -0,0 +1,68 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

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

+

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

+ +

Справедливое предупреждение: на других языках текст может быть сложнее, чем вы привыкли. 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..5618c88ab --- /dev/null +++ b/beta_05_th.html @@ -0,0 +1,69 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

Types พื้นฐาน

+

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

+ +

เรื่องประเภทข้อมูลแบบข้อความ อาจจะมีความซับซ้อนมากกว่าที่คุณเคยรู้ในภาษาอื่น; เนื่องจากว่า 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..4348cbc59 --- /dev/null +++ b/beta_05_tr.html @@ -0,0 +1,68 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

Temel Türler

+

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

+ +

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..afaa2269f --- /dev/null +++ b/beta_05_ua.html @@ -0,0 +1,68 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Базові типи

+

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

+ +

Текст може бути більш складний, ніж ви звикли його бачити в інших мовах. Оскільки 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..7a8557272 --- /dev/null +++ b/beta_05_vi.html @@ -0,0 +1,70 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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

+

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

+ +

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..9a7f1a284 --- /dev/null +++ b/beta_05_zh-cn.html @@ -0,0 +1,69 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

基本类型

+

Rust 有多种常见的类型:

+ +

文本可能比你在其他语言中学到的更复杂,因为 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..b89594b07 --- /dev/null +++ b/beta_05_zh-tw.html @@ -0,0 +1,70 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

基本類型 (Primitive types)

+

Rust 具有多種常見的類型:

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

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..c138e397a --- /dev/null +++ b/beta_06_en.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..96ddfbe90 --- /dev/null +++ b/beta_06_es.html @@ -0,0 +1,56 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..55f126ace --- /dev/null +++ b/beta_06_fa.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..ddc21bbfa --- /dev/null +++ b/beta_06_fi.html @@ -0,0 +1,56 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

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..079b72e8e --- /dev/null +++ b/beta_06_fr.html @@ -0,0 +1,57 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..1102ab93c --- /dev/null +++ b/beta_06_gr.html @@ -0,0 +1,56 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

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

+

Η 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..493e0d0e0 --- /dev/null +++ b/beta_06_hu.html @@ -0,0 +1,57 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..65f6aff52 --- /dev/null +++ b/beta_06_id.html @@ -0,0 +1,58 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

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..7ed7a5dcf --- /dev/null +++ b/beta_06_ie.html @@ -0,0 +1,55 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..4863cefab --- /dev/null +++ b/beta_06_it.html @@ -0,0 +1,57 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

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..21d8db1c6 --- /dev/null +++ b/beta_06_ja.html @@ -0,0 +1,56 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

基本型の変換

+

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..18a8533d6 --- /dev/null +++ b/beta_06_ko.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

기본 자료형 변환

+

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..c7ac04ec5 --- /dev/null +++ b/beta_06_pl.html @@ -0,0 +1,56 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..bfc35b616 --- /dev/null +++ b/beta_06_pt-br.html @@ -0,0 +1,56 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..25c967f85 --- /dev/null +++ b/beta_06_ro.html @@ -0,0 +1,58 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..6abf4e35f --- /dev/null +++ b/beta_06_ru.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Преобразование базовых типов (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..787daf976 --- /dev/null +++ b/beta_06_th.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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

+

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..2efb81a48 --- /dev/null +++ b/beta_06_tr.html @@ -0,0 +1,56 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..3eeab149c --- /dev/null +++ b/beta_06_ua.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Перетворення базових типів (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..431ddbdcc --- /dev/null +++ b/beta_06_vi.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..9d3736d6c --- /dev/null +++ b/beta_06_zh-cn.html @@ -0,0 +1,56 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

基本类型转换

+

当涉及到数字类型时,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..50db9a1ad --- /dev/null +++ b/beta_06_zh-tw.html @@ -0,0 +1,56 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

基本的數據類型轉換

+

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

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

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..1a4ad0fda --- /dev/null +++ b/beta_07_en.html @@ -0,0 +1,60 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..40156e743 --- /dev/null +++ b/beta_07_es.html @@ -0,0 +1,57 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..f59f52791 --- /dev/null +++ b/beta_07_fa.html @@ -0,0 +1,60 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..9b0a268a5 --- /dev/null +++ b/beta_07_fi.html @@ -0,0 +1,57 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

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..28ee79937 --- /dev/null +++ b/beta_07_fr.html @@ -0,0 +1,60 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..2d942c6e9 --- /dev/null +++ b/beta_07_gr.html @@ -0,0 +1,57 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

Σταθερές

+

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

+

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

+

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

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_07_hu.html b/beta_07_hu.html new file mode 100644 index 000000000..613317add --- /dev/null +++ b/beta_07_hu.html @@ -0,0 +1,59 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..8fe79dfdf --- /dev/null +++ b/beta_07_id.html @@ -0,0 +1,62 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

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..4a29969c6 --- /dev/null +++ b/beta_07_ie.html @@ -0,0 +1,55 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..71a3319f1 --- /dev/null +++ b/beta_07_it.html @@ -0,0 +1,58 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

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..7ad74d30c --- /dev/null +++ b/beta_07_ja.html @@ -0,0 +1,58 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

定数

+

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

+

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

+

定数名には大文字のスネークケース 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..9f0b72ed0 --- /dev/null +++ b/beta_07_ko.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

상수

+

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

+

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

+

상수의 이름은 언제나 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..cb8f567c7 --- /dev/null +++ b/beta_07_pl.html @@ -0,0 +1,57 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..8eb7d35bd --- /dev/null +++ b/beta_07_pt-br.html @@ -0,0 +1,57 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..04a512d4d --- /dev/null +++ b/beta_07_ro.html @@ -0,0 +1,59 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..65fef08e3 --- /dev/null +++ b/beta_07_ru.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Константы (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..4b59ca333 --- /dev/null +++ b/beta_07_th.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

ค่าคงที่

+

ค่าคงที่ช่วยให้เรากำหนดค่ากลางที่ใช้ร่วมกันบ่อยๆ ได้อย่างมีประสิทธิภาพ แทนที่จะคัดลอกค่าไปใช้แบบที่ตัวแปรทำ ค่าคงที่จะใช้วิธีแทนที่ค่าไปในข้อความเลยตรงๆ ตั้งแต่ตอน 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..4970d6ef9 --- /dev/null +++ b/beta_07_tr.html @@ -0,0 +1,56 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..2ee278600 --- /dev/null +++ b/beta_07_ua.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Константи

+

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

+

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

+

Константи мають бути іменовані в 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..837a9b5b3 --- /dev/null +++ b/beta_07_vi.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..40eeab4e5 --- /dev/null +++ b/beta_07_zh-cn.html @@ -0,0 +1,57 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

常量

+

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

+

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

+

常量名总是遵循 全大写蛇形命名法(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..3191d495e --- /dev/null +++ b/beta_07_zh-tw.html @@ -0,0 +1,58 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

常數 (Constant)

+

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

+

常數通常是以 SCREAMING_SNAKE_CASE 命名的。

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

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..e7afee821 --- /dev/null +++ b/beta_08_en.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..1b50a24c1 --- /dev/null +++ b/beta_08_es.html @@ -0,0 +1,57 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..2bde3f2d0 --- /dev/null +++ b/beta_08_fa.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..1da06eef7 --- /dev/null +++ b/beta_08_fi.html @@ -0,0 +1,58 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

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..d7621fe05 --- /dev/null +++ b/beta_08_fr.html @@ -0,0 +1,60 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..dd0edb2ac --- /dev/null +++ b/beta_08_gr.html @@ -0,0 +1,57 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

Πίνακες

+

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

+

Ο τύπος δεδομένων ενός πίνακα είναι [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..83d2d0266 --- /dev/null +++ b/beta_08_hu.html @@ -0,0 +1,60 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..7af258821 --- /dev/null +++ b/beta_08_id.html @@ -0,0 +1,57 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

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..072629a77 --- /dev/null +++ b/beta_08_ie.html @@ -0,0 +1,58 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..dfd54f98b --- /dev/null +++ b/beta_08_it.html @@ -0,0 +1,58 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

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..ac2716241 --- /dev/null +++ b/beta_08_ja.html @@ -0,0 +1,57 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

配列

+

配列は、データ要素がすべて同じ型の固定長コレクションです。

+

配列のデータ型は [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..3819211b6 --- /dev/null +++ b/beta_08_ko.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

배열

+

배열(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..3fc370d8a --- /dev/null +++ b/beta_08_pl.html @@ -0,0 +1,57 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..04b5cc0a6 --- /dev/null +++ b/beta_08_pt-br.html @@ -0,0 +1,57 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..645c04857 --- /dev/null +++ b/beta_08_ro.html @@ -0,0 +1,58 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..10cc1c91c --- /dev/null +++ b/beta_08_ru.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Массивы (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..e6c96aa7f --- /dev/null +++ b/beta_08_th.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..82a9f7994 --- /dev/null +++ b/beta_08_tr.html @@ -0,0 +1,57 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..bd5e9f0b1 --- /dev/null +++ b/beta_08_ua.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Масиви

+

Масив - це колекція фіксованої довжини, де усі елементи представляють один і той же тип даних.

+

Тип даних масив позначається як [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..3c2fb52f5 --- /dev/null +++ b/beta_08_vi.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..e9bf478f7 --- /dev/null +++ b/beta_08_zh-cn.html @@ -0,0 +1,57 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

数组

+

数组是所有相同类型数据元素的固定长度集合。

+

一个数组的数据类型是 [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..fe7e1e4d9 --- /dev/null +++ b/beta_08_zh-tw.html @@ -0,0 +1,57 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

陣列 (Array)

+

陣列(Array) 是一個固定長度的數據集。裡面只會放著同一種類型的值。 +陣列 類型是以 [T;N] 來宣告。T 是數據元件的類型,而 N 是在編譯時已經知道的陣列長度。

+

陣列 中的數據元件可以透過[x] 來提取。 x 是一個由零開始計的 usize 類索引。

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

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..4ac60f65d --- /dev/null +++ b/beta_09_en.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..f93dbf577 --- /dev/null +++ b/beta_09_es.html @@ -0,0 +1,57 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..19d03b286 --- /dev/null +++ b/beta_09_fa.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..c41a62d12 --- /dev/null +++ b/beta_09_fi.html @@ -0,0 +1,59 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

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..50bf2c548 --- /dev/null +++ b/beta_09_fr.html @@ -0,0 +1,58 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..e02f669cb --- /dev/null +++ b/beta_09_gr.html @@ -0,0 +1,57 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

Συναρτήσεις

+

Μία συνάρτηση μπορεί να έχει μηδέν ή περισσότερες παραμέτρους.

+

Σ' αυτό το παράδειγμα, η συνάρτηση 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..5e2d5e5fe --- /dev/null +++ b/beta_09_hu.html @@ -0,0 +1,57 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..a42bf6e81 --- /dev/null +++ b/beta_09_id.html @@ -0,0 +1,57 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

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..ab42e9cfb --- /dev/null +++ b/beta_09_ie.html @@ -0,0 +1,55 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..e67984124 --- /dev/null +++ b/beta_09_it.html @@ -0,0 +1,59 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

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..82eb8dc32 --- /dev/null +++ b/beta_09_ja.html @@ -0,0 +1,57 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

関数

+

関数には 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..feeeb402b --- /dev/null +++ b/beta_09_ko.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

함수

+

함수는 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..7960ba3a0 --- /dev/null +++ b/beta_09_pl.html @@ -0,0 +1,57 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..a7ddd328f --- /dev/null +++ b/beta_09_pt-br.html @@ -0,0 +1,57 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..e6f55c547 --- /dev/null +++ b/beta_09_ro.html @@ -0,0 +1,59 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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.

+

Hint: 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..73c77a0a2 --- /dev/null +++ b/beta_09_ru.html @@ -0,0 +1,58 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Функции (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..70bf8fc3a --- /dev/null +++ b/beta_09_th.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..4119c4b27 --- /dev/null +++ b/beta_09_tr.html @@ -0,0 +1,57 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

İş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..e43569c3f --- /dev/null +++ b/beta_09_ua.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Функції

+

Функції можуть не мають жодного, мати один або більше аргументів.

+

В цьому прикладі функція 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..a2152063d --- /dev/null +++ b/beta_09_vi.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..ef3926435 --- /dev/null +++ b/beta_09_zh-cn.html @@ -0,0 +1,57 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

函数

+

函数可以有 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..c847baf7e --- /dev/null +++ b/beta_09_zh-tw.html @@ -0,0 +1,57 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

函數 (Functions)

+

函數(Functions)的參數數量可以從沒有到多個都可以 +在這個例子中, add 有兩個 i32 類型的參數 (有符號的 32-bit 整數) +函數的名字通常是使用 snake_case 來命名。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_100_en.html b/beta_100_en.html new file mode 100644 index 000000000..49414db36 --- /dev/null +++ b/beta_100_en.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..0bb21b0be --- /dev/null +++ b/beta_100_es.html @@ -0,0 +1,56 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..7ecc479be --- /dev/null +++ b/beta_100_fa.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..e84149ce1 --- /dev/null +++ b/beta_100_fr.html @@ -0,0 +1,59 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..0e1ce8d99 --- /dev/null +++ b/beta_100_hu.html @@ -0,0 +1,58 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..903132308 --- /dev/null +++ b/beta_100_ie.html @@ -0,0 +1,57 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..17c0478e5 --- /dev/null +++ b/beta_100_ko.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

참조 카운팅

+

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..de79cec5d --- /dev/null +++ b/beta_100_pl.html @@ -0,0 +1,58 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..b22b19a19 --- /dev/null +++ b/beta_100_pt-br.html @@ -0,0 +1,56 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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_ru.html b/beta_100_ru.html new file mode 100644 index 000000000..443d60875 --- /dev/null +++ b/beta_100_ru.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Подсчет ссылок (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..1af254bd2 --- /dev/null +++ b/beta_100_th.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..aa8d7b141 --- /dev/null +++ b/beta_100_tr.html @@ -0,0 +1,56 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..c09748df0 --- /dev/null +++ b/beta_100_ua.html @@ -0,0 +1,58 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Лічильник посилань

+

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..0f423bc44 --- /dev/null +++ b/beta_100_vi.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

Đế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..4779ddf62 --- /dev/null +++ b/beta_100_zh-cn.html @@ -0,0 +1,56 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

引用计数

+

Rc 是一个能将数据从栈移动到智能指针。 它允许我们克隆其他Rc智能指针,这些指针都具有不可改变地借用放在堆上的数据的能力。

+

只有当最后一个智能指针被删除时,堆上的数据才会被释放。

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

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..8675a8ad4 --- /dev/null +++ b/beta_101_es.html @@ -0,0 +1,57 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..85e716c28 --- /dev/null +++ b/beta_101_fa.html @@ -0,0 +1,60 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..d967a36e4 --- /dev/null +++ b/beta_101_fr.html @@ -0,0 +1,61 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..86fb89800 --- /dev/null +++ b/beta_101_hu.html @@ -0,0 +1,61 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..d680acea1 --- /dev/null +++ b/beta_101_ie.html @@ -0,0 +1,60 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..2af5e928e --- /dev/null +++ b/beta_101_ko.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

접근 공유하기

+

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..9c4c5f902 --- /dev/null +++ b/beta_101_pl.html @@ -0,0 +1,60 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..34d8c9970 --- /dev/null +++ b/beta_101_pt-br.html @@ -0,0 +1,57 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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_ru.html b/beta_101_ru.html new file mode 100644 index 000000000..57065d41b --- /dev/null +++ b/beta_101_ru.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Разделяемый доступ (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..dcb6ffea2 --- /dev/null +++ b/beta_101_th.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..e867f8942 --- /dev/null +++ b/beta_101_tr.html @@ -0,0 +1,57 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..65bc6ee42 --- /dev/null +++ b/beta_101_ua.html @@ -0,0 +1,60 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Спільний доступ

+

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..984451157 --- /dev/null +++ b/beta_101_vi.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..30ddedc75 --- /dev/null +++ b/beta_101_zh-cn.html @@ -0,0 +1,57 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

共享访问

+

RefCell 是一个容器数据结构,通常由智能指针拥有,它接收数据并让我们借用可变或不可变引用来访问内部内容。 当您要求借用数据时,它通过在运行时强制执行 Rust 的内存安全规则来防止借用被滥用

+

只有一个可变引用或多个不可变引用,但不能同时有!

+

如果你违反了这些规则,RefCell 将会panic。

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

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..a698f2e67 --- /dev/null +++ b/beta_102_es.html @@ -0,0 +1,57 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..2631bbd22 --- /dev/null +++ b/beta_102_fa.html @@ -0,0 +1,62 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..2e51523f2 --- /dev/null +++ b/beta_102_fr.html @@ -0,0 +1,67 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..97101ca7a --- /dev/null +++ b/beta_102_hu.html @@ -0,0 +1,65 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..183190fe7 --- /dev/null +++ b/beta_102_ie.html @@ -0,0 +1,61 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..b6150566e --- /dev/null +++ b/beta_102_ko.html @@ -0,0 +1,62 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

쓰레드 간에 공유하기

+

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..e64f1059f --- /dev/null +++ b/beta_102_pl.html @@ -0,0 +1,62 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..0db733df0 --- /dev/null +++ b/beta_102_pt-br.html @@ -0,0 +1,57 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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_ru.html b/beta_102_ru.html new file mode 100644 index 000000000..cde4a87e8 --- /dev/null +++ b/beta_102_ru.html @@ -0,0 +1,58 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Разделение данных между потоками (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..789e9cbfd --- /dev/null +++ b/beta_102_th.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..7fba9b39b --- /dev/null +++ b/beta_102_tr.html @@ -0,0 +1,57 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

İş 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..d60c9b35a --- /dev/null +++ b/beta_102_ua.html @@ -0,0 +1,62 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Спільне доступ до даних у різних потоках

+

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..91e487e02 --- /dev/null +++ b/beta_102_vi.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..a3f933ff6 --- /dev/null +++ b/beta_102_zh-cn.html @@ -0,0 +1,57 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

线程间共享

+

Mutex 是一种容器数据结构,通常由智能指针持有,它接收数据并让我们借用对其中数据的可变和不可变引用。 这可以防止借用被滥用,因为操作系统一次只限制一个 CPU 线程访问数据,阻塞其他线程,直到原线程完成其锁定的借用。

+

多线程超出了 Rust 之旅的范围,但 Mutex 是协调多个 CPU 线程访问相同数据的基本部分。

+

有一个特殊的智能指针 Arc,它与 Rc 相同,除了使用线程安全的引用计数递增。 它通常用于对同一个 Mutex 进行多次引用。

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

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:

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

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:

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

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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_103_fr.html b/beta_103_fr.html new file mode 100644 index 000000000..fab4048c4 --- /dev/null +++ b/beta_103_fr.html @@ -0,0 +1,76 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_103_hu.html b/beta_103_hu.html new file mode 100644 index 000000000..c2af8ac29 --- /dev/null +++ b/beta_103_hu.html @@ -0,0 +1,74 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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:

+ +

Hogyan érinti ez a memóriát:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_103_ie.html b/beta_103_ie.html new file mode 100644 index 000000000..41b5ab884 --- /dev/null +++ b/beta_103_ie.html @@ -0,0 +1,64 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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:

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

스마트 포인터 조합하기

+

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 쓰레드 독점 방식으로 잠글 수 있게 해줍니다.

+

메모리 상세:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_103_pl.html b/beta_103_pl.html new file mode 100644 index 000000000..e590293b3 --- /dev/null +++ b/beta_103_pl.html @@ -0,0 +1,64 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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:

+ + +
+
+ +
+
+ + \ 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..21c64bce3 --- /dev/null +++ b/beta_103_pt-br.html @@ -0,0 +1,62 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_103_ru.html b/beta_103_ru.html new file mode 100644 index 000000000..7da9bffa1 --- /dev/null +++ b/beta_103_ru.html @@ -0,0 +1,64 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Комбинирование умных указателей (Combining Smart Pointers)

+

Умные указатели могут показаться довольно ограниченными по функционалности, но главное то, что они могут создавать очень мощные комбинации для использования в коде.

+

Rc<Vec<Foo>> - позволяет клонирование нескольких умных указателей, которые могут заимствовать из кучи один и тот же вектор неизменяемых структур данных.

+

Rc<RefCell<Foo>> - дает возможность нескольким умных указателям заимствовать одну и туже структуру Foo как неизменяемую или изменяемую.

+

Arc<Mutex<Foo>> - дает возможность нескольким умным указателям временно блокировать в процессорном потоке изменяемые или неизменяемые заимствования.

+

Детали для запоминания:

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

Combining Smart Pointers

+

Smart pointers ดูเหมือนจะมีข้อจำกัด แต่มันสามารถเอามารวมกันเพื่อให้ทำงานให้มีความหลากหลายเพิ่มขึ้นได้

+

Rc<Vec<Foo>> - อนุญาตให้ทำการโคลน smart pointer หลายตัว ที่สามารถยืมเวกเตอร์เดียวกันของโครงสร้างข้อมูลที่ไม่เปลี่ยนรูปบน heap ได้

+

Rc<RefCell<Foo>> - อนุญาตให้ smart pointer หลายตัวสามารถยืมโครงสร้าง Foo ตัวเดียวกัน โดยยืมได้ทั้งแบบ เปลี่ยนแปลงได้/เปลี่ยนแปลงไม่ได้

+

Arc<Mutex<Foo>> - อนุญาตให้ smart pointer หลายตัวสามารถล็อกการยืม โดยยืมได้ทั้งแบบ เปลี่ยนแปลงได้/เปลี่ยนแปลงไม่ได้ ชั่วคราว​ ในลักษณะเฉพาะของเธรด CPU

+

รายละเอียดหน่วยความจำ:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_103_tr.html b/beta_103_tr.html new file mode 100644 index 000000000..a297b90ff --- /dev/null +++ b/beta_103_tr.html @@ -0,0 +1,62 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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ı:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_103_ua.html b/beta_103_ua.html new file mode 100644 index 000000000..0ed6e6fea --- /dev/null +++ b/beta_103_ua.html @@ -0,0 +1,62 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Поєднання розумних покажчиків

+

Розумні покажчики можуть здатися обмеженими, але вони можуть створювати дуже потужні комбінації.

+

Rc<Vec<Foo>> - Дозволяє клонування декількох смарт-покажчиків, які можуть позичати один і той самий вектор незмінних структур даних на купі.

+

Rc<RefCell<Foo>> - Дозволити декільком смарт-покажчикам запозичувати взаємно/незмінно одну й ту саму структуру Foo.

+

Arc<Mutex<Foo>> - Дозволяє декільком смарт-покажчикам блокувати тимчасові змінювані/незмінні запозичення виключно для потоку процесора.

+

Деталі роботи за памяттю:

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

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ớ:

+ + +
+
+ +
+
+ + \ 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..44c9145c7 --- /dev/null +++ b/beta_103_zh-cn.html @@ -0,0 +1,63 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

组合智能指针

+

智能指针看起来可能会存在一些限制,但是我们可以做一些非常有用的结合。

+

Rc<Vec<Foo>> - 允许克隆多个可以借用堆上不可变数据结构的相同向量的智能指针。

+

Rc<RefCell<Foo>> - 允许多个智能指针可变/不可变地借用相同的结构Foo

+

Arc<Mutex<Foo>> - 允许多个智能指针以 CPU 线程独占方式锁定临时可变/不可变借用的能力。

+

内存细节:

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

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..8aaf2f658 --- /dev/null +++ b/beta_104_es.html @@ -0,0 +1,53 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..b863f4849 --- /dev/null +++ b/beta_104_fa.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..752d6618a --- /dev/null +++ b/beta_104_fr.html @@ -0,0 +1,57 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..888870bd4 --- /dev/null +++ b/beta_104_hu.html @@ -0,0 +1,57 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..19bf401a5 --- /dev/null +++ b/beta_104_ie.html @@ -0,0 +1,56 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..706a3def1 --- /dev/null +++ b/beta_104_ko.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

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..bde207f86 --- /dev/null +++ b/beta_104_pl.html @@ -0,0 +1,57 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..d4aa0d227 --- /dev/null +++ b/beta_104_pt-br.html @@ -0,0 +1,53 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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_ru.html b/beta_104_ru.html new file mode 100644 index 000000000..2e11ee467 --- /dev/null +++ b/beta_104_ru.html @@ -0,0 +1,55 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Глава 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..b832d90b3 --- /dev/null +++ b/beta_104_th.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

บทที่ 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..ddf419201 --- /dev/null +++ b/beta_104_tr.html @@ -0,0 +1,54 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..617bc30f1 --- /dev/null +++ b/beta_104_ua.html @@ -0,0 +1,54 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Розділ 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..8a0afa5b3 --- /dev/null +++ b/beta_104_vi.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..d9c46bee6 --- /dev/null +++ b/beta_104_zh-cn.html @@ -0,0 +1,53 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

第8章 - 总结

+

智能指针是 Rust编程中经常使用的,它可以让我们不必重新创建非常常见的内存使用范式。 有了它,您可以准备好应对最艰难的挑战了! 现在我们掌握了 Rust 的基础,让我们来谈谈如何编写更庞大的项目。 在下一章中,我们将摆脱一个文件包含所有代码的束缚。

+ +
+
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..b8481e132 --- /dev/null +++ b/beta_106_de.html @@ -0,0 +1,56 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour durch Rust + + Inhaltsverzeichnis +
+
+

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..1da1ac5f7 --- /dev/null +++ b/beta_106_en.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..b0c177d61 --- /dev/null +++ b/beta_106_es.html @@ -0,0 +1,57 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..e00558c0e --- /dev/null +++ b/beta_106_fa.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..28aa278f9 --- /dev/null +++ b/beta_106_fr.html @@ -0,0 +1,58 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..5f0e407c1 --- /dev/null +++ b/beta_106_hu.html @@ -0,0 +1,59 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..bc1ac36c1 --- /dev/null +++ b/beta_106_ie.html @@ -0,0 +1,56 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..c40ca0275 --- /dev/null +++ b/beta_106_ko.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

모듈

+

모든 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..c3174386e --- /dev/null +++ b/beta_106_pl.html @@ -0,0 +1,57 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..cedfd5ade --- /dev/null +++ b/beta_106_pt-br.html @@ -0,0 +1,57 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..aeab9c69a --- /dev/null +++ b/beta_106_ro.html @@ -0,0 +1,57 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..7e36a3e91 --- /dev/null +++ b/beta_106_ru.html @@ -0,0 +1,58 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Модули (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..a55798540 --- /dev/null +++ b/beta_106_th.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..853f938a7 --- /dev/null +++ b/beta_106_tr.html @@ -0,0 +1,58 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..1d186304b --- /dev/null +++ b/beta_106_ua.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Модулі

+

Будь яка програма чи бібліотека на 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..2dcca95fe --- /dev/null +++ b/beta_106_vi.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..0109a6e11 --- /dev/null +++ b/beta_106_zh-cn.html @@ -0,0 +1,57 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

模块

+

每个 Rust 程序或者库都叫 crate

+

每个 crate 都是由模块的层次结构组成。

+

每个 crate 都有一个根模块。

+

模块里面可以有全局变量、全局函数、全局结构体、全局 Trait 甚至是全局模块!

+

在 Rust 中,文件与模块树的层次结构并不是一对一的映射关系。我们必须在我们的代码中手动构建模块树。

+ +
+
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..ed8392419 --- /dev/null +++ b/beta_107_de.html @@ -0,0 +1,53 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour durch Rust + + Inhaltsverzeichnis +
+
+

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..af77c94bd --- /dev/null +++ b/beta_107_en.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..732ef53a7 --- /dev/null +++ b/beta_107_es.html @@ -0,0 +1,53 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..4e84849e1 --- /dev/null +++ b/beta_107_fa.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..5b09a9790 --- /dev/null +++ b/beta_107_fr.html @@ -0,0 +1,53 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..179d23265 --- /dev/null +++ b/beta_107_hu.html @@ -0,0 +1,53 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..4572ab859 --- /dev/null +++ b/beta_107_ie.html @@ -0,0 +1,53 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..e2a122d82 --- /dev/null +++ b/beta_107_ko.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

프로그램 작성하기

+

프로그램은 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..08ce86530 --- /dev/null +++ b/beta_107_pl.html @@ -0,0 +1,53 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..d7a6ca261 --- /dev/null +++ b/beta_107_pt-br.html @@ -0,0 +1,53 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..19c9a0289 --- /dev/null +++ b/beta_107_ro.html @@ -0,0 +1,53 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..64a07e0ff --- /dev/null +++ b/beta_107_ru.html @@ -0,0 +1,53 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Написание программы (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..742f573f9 --- /dev/null +++ b/beta_107_th.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..30c446345 --- /dev/null +++ b/beta_107_tr.html @@ -0,0 +1,53 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..9f3751513 --- /dev/null +++ b/beta_107_ua.html @@ -0,0 +1,53 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Написання програм

+

Ваша програма є головним модулем у файлі під назвою 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..d79dc2110 --- /dev/null +++ b/beta_107_vi.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..b17f2611c --- /dev/null +++ b/beta_107_zh-cn.html @@ -0,0 +1,53 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

编写程序

+

应用程序的根模块需要在一个叫 main.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..a1c868b70 --- /dev/null +++ b/beta_108_de.html @@ -0,0 +1,53 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour durch Rust + + Inhaltsverzeichnis +
+
+

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..8c7c81be9 --- /dev/null +++ b/beta_108_en.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..12238b246 --- /dev/null +++ b/beta_108_es.html @@ -0,0 +1,53 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..7dd6d9e5a --- /dev/null +++ b/beta_108_fa.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..25e656de8 --- /dev/null +++ b/beta_108_fr.html @@ -0,0 +1,53 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..e3f3965bd --- /dev/null +++ b/beta_108_hu.html @@ -0,0 +1,53 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..c879513ff --- /dev/null +++ b/beta_108_ie.html @@ -0,0 +1,53 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..d41f454fe --- /dev/null +++ b/beta_108_ko.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

라이브러리 작성하기

+

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..c8db25bd2 --- /dev/null +++ b/beta_108_pl.html @@ -0,0 +1,53 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..8d498f7fd --- /dev/null +++ b/beta_108_pt-br.html @@ -0,0 +1,53 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..7c05b71af --- /dev/null +++ b/beta_108_ro.html @@ -0,0 +1,53 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..ba752a47d --- /dev/null +++ b/beta_108_ru.html @@ -0,0 +1,53 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Написание библиотеки (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..ecb037381 --- /dev/null +++ b/beta_108_th.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..b3d0d3698 --- /dev/null +++ b/beta_108_tr.html @@ -0,0 +1,53 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..ce8c2f5f3 --- /dev/null +++ b/beta_108_ua.html @@ -0,0 +1,53 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Написання бібліотеки

+

Ваша бібліотека є головним модулем у файлі під назвою 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..d2450ba05 --- /dev/null +++ b/beta_108_vi.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..aae573692 --- /dev/null +++ b/beta_108_zh-cn.html @@ -0,0 +1,53 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

编写库

+

库的根模块需要在一个叫 lib.rs 的文件里面。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_109_de.html b/beta_109_de.html new file mode 100644 index 000000000..2535fae1b --- /dev/null +++ b/beta_109_de.html @@ -0,0 +1,59 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour durch Rust + + Inhaltsverzeichnis +
+
+

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..dfd5889ad --- /dev/null +++ b/beta_109_en.html @@ -0,0 +1,61 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..8a1f5f3cc --- /dev/null +++ b/beta_109_es.html @@ -0,0 +1,58 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..aef07ca4d --- /dev/null +++ b/beta_109_fa.html @@ -0,0 +1,61 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..4466462fe --- /dev/null +++ b/beta_109_fr.html @@ -0,0 +1,66 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..7c7fefeb8 --- /dev/null +++ b/beta_109_hu.html @@ -0,0 +1,65 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..c1f6aa1b5 --- /dev/null +++ b/beta_109_ie.html @@ -0,0 +1,58 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..a4149fc9b --- /dev/null +++ b/beta_109_ko.html @@ -0,0 +1,61 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

다른 모듈과 크레이트 참조하기

+

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..2bd05f5d9 --- /dev/null +++ b/beta_109_pl.html @@ -0,0 +1,61 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..b31c6a283 --- /dev/null +++ b/beta_109_pt-br.html @@ -0,0 +1,58 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..f29692079 --- /dev/null +++ b/beta_109_ro.html @@ -0,0 +1,60 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

Referințierea de către alte module și cutii

+

Elementele din module pot fi refererenț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..d151b3097 --- /dev/null +++ b/beta_109_ru.html @@ -0,0 +1,58 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Подключение других модулей и крейтов (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..439721279 --- /dev/null +++ b/beta_109_th.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..4437ca276 --- /dev/null +++ b/beta_109_tr.html @@ -0,0 +1,58 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..f5c58f5ff --- /dev/null +++ b/beta_109_ua.html @@ -0,0 +1,61 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Зсилання на 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..a92e55166 --- /dev/null +++ b/beta_109_vi.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..f0972990f --- /dev/null +++ b/beta_109_zh-cn.html @@ -0,0 +1,59 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

引用其他模块和 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_de.html b/beta_10_de.html new file mode 100644 index 000000000..4b3940dcb --- /dev/null +++ b/beta_10_de.html @@ -0,0 +1,58 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour durch Rust + + Inhaltsverzeichnis +
+
+

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..bc7997035 --- /dev/null +++ b/beta_10_en.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..5630761a4 --- /dev/null +++ b/beta_10_es.html @@ -0,0 +1,57 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..048108390 --- /dev/null +++ b/beta_10_fa.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..96affdb14 --- /dev/null +++ b/beta_10_fi.html @@ -0,0 +1,57 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

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..3be763091 --- /dev/null +++ b/beta_10_fr.html @@ -0,0 +1,58 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..bbd6b246f --- /dev/null +++ b/beta_10_gr.html @@ -0,0 +1,57 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

Πολλαπλές τιμές επιστροφής

+

Οι συναρτήσεις μπορούν να επιστρέψουν πάνω από μία τιμή με τη χρήση μίας πολλαπλότητας τιμών.

+

Στο κάθε στοιχείο μίας πολλαπλότητας μπορεί να αναφερθεί κανείς με τον αύξοντα αριθμό του.

+

Η 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..8090be466 --- /dev/null +++ b/beta_10_hu.html @@ -0,0 +1,58 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..cc56ae7a8 --- /dev/null +++ b/beta_10_id.html @@ -0,0 +1,59 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

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..ddbed5c42 --- /dev/null +++ b/beta_10_ie.html @@ -0,0 +1,55 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..c29f08828 --- /dev/null +++ b/beta_10_it.html @@ -0,0 +1,58 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

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..41a4d3538 --- /dev/null +++ b/beta_10_ja.html @@ -0,0 +1,57 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

複数の戻り値

+

関数は、値をタプルで返すことによって、複数の値を返せます。

+

タプルの要素はインデックス番号で参照できます。

+

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..febee8746 --- /dev/null +++ b/beta_10_ko.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

여러개의 리턴 값

+

함수는 튜플(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..f3d5a9553 --- /dev/null +++ b/beta_10_pl.html @@ -0,0 +1,57 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..55f1c9e79 --- /dev/null +++ b/beta_10_pt-br.html @@ -0,0 +1,57 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..29d4fda7e --- /dev/null +++ b/beta_10_ro.html @@ -0,0 +1,59 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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, permințâ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..3d992b040 --- /dev/null +++ b/beta_10_ru.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Возврат нескольких значений (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..3665b24e8 --- /dev/null +++ b/beta_10_th.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

การคืนค่าหลายค่า

+

ฟังก์ชันสามารถคืนค่าได้หลายค่าด้วยการคืนออกมาเป็น 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..98a192cff --- /dev/null +++ b/beta_10_tr.html @@ -0,0 +1,57 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

Ç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..93293efe0 --- /dev/null +++ b/beta_10_ua.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Повернення декількох значень (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..76d124b53 --- /dev/null +++ b/beta_10_vi.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..20e6b4e0e --- /dev/null +++ b/beta_10_zh-cn.html @@ -0,0 +1,57 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

多个返回值

+

函数可以通过元组来返回多个值。

+

元组元素可以通过他们的索引来获取。

+

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..43893f94b --- /dev/null +++ b/beta_10_zh-tw.html @@ -0,0 +1,57 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

多個回傳值

+

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

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

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..bc0e7e758 --- /dev/null +++ b/beta_110_en.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..a3f357bfd --- /dev/null +++ b/beta_110_es.html @@ -0,0 +1,56 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..d3a942c35 --- /dev/null +++ b/beta_110_fa.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..4c2da9786 --- /dev/null +++ b/beta_110_fr.html @@ -0,0 +1,55 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..34a90d704 --- /dev/null +++ b/beta_110_hu.html @@ -0,0 +1,57 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..94bfe354a --- /dev/null +++ b/beta_110_ie.html @@ -0,0 +1,60 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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

+ + +
+
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..47b7678d7 --- /dev/null +++ b/beta_110_ko.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

여러 개의 항목을 참조하기

+

복수의 항목을 하나의 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..3317e5872 --- /dev/null +++ b/beta_110_pl.html @@ -0,0 +1,56 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..ec86e734c --- /dev/null +++ b/beta_110_pt-br.html @@ -0,0 +1,56 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..fdfd19ea6 --- /dev/null +++ b/beta_110_ro.html @@ -0,0 +1,56 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..2bb166980 --- /dev/null +++ b/beta_110_ru.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Подключение нескольких элементов (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..0f1d51176 --- /dev/null +++ b/beta_110_th.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..de44f5766 --- /dev/null +++ b/beta_110_tr.html @@ -0,0 +1,56 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

Ç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..52bdfe25a --- /dev/null +++ b/beta_110_ua.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Посилання на декілька елементів

+

Ви можете посилатися на декілька елементів одного і того самого модуля:

+
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..b4eacc953 --- /dev/null +++ b/beta_110_vi.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..124584999 --- /dev/null +++ b/beta_110_zh-cn.html @@ -0,0 +1,56 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

引用多个项目

+

在同一个模块路径中可以引用多个项目,比如:

+
use std::f64::consts::{PI,TAU}
+
+

Ferris 不吃桃(TAU),它只吃派(PI)。

+ +
+
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..7585909f9 --- /dev/null +++ b/beta_111_de.html @@ -0,0 +1,59 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour durch Rust + + Inhaltsverzeichnis +
+
+

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,

+ + +
+
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..0b86eca77 --- /dev/null +++ b/beta_111_en.html @@ -0,0 +1,61 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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:

+ + +
+
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..d244a7b46 --- /dev/null +++ b/beta_111_es.html @@ -0,0 +1,58 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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:

+ + +
+
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..7bc76e1d8 --- /dev/null +++ b/beta_111_fa.html @@ -0,0 +1,61 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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:

+ + +
+
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..ecc9308cf --- /dev/null +++ b/beta_111_fr.html @@ -0,0 +1,62 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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:

+ + +
+
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..370b9341e --- /dev/null +++ b/beta_111_hu.html @@ -0,0 +1,60 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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:

+ + +
+
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..cd62b3bfb --- /dev/null +++ b/beta_111_ie.html @@ -0,0 +1,57 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..f22c0dac5 --- /dev/null +++ b/beta_111_ko.html @@ -0,0 +1,60 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

모듈 작성하기

+

코드를 생각할 때 보통은 디렉토리로 구성된 파일구조를 떠올립니다. +Rust는 여러분의 파일 구조에 가깝게 module을 만들 수 있게 해줍니다.

+

Rust에서 module을 선언하는 데에는 두 가지 방법이 있습니다. +예를 들어 foo module은 다음과 같이 나타낼 수 있습니다:

+ + +
+
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..0d25d35aa --- /dev/null +++ b/beta_111_pl.html @@ -0,0 +1,61 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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:

+ + +
+
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..1d8ebd014 --- /dev/null +++ b/beta_111_pt-br.html @@ -0,0 +1,58 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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:

+ + +
+
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..5902e2d0a --- /dev/null +++ b/beta_111_ro.html @@ -0,0 +1,61 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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:

+ + +
+
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..57d366aaa --- /dev/null +++ b/beta_111_ru.html @@ -0,0 +1,60 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Создание модулей (Creating Modules)

+

Когда мы думаем о коде, мы обычно представляем себе иерархию файлов, огранизованную +в директориях. Rust позволяет создавать модули, близко похожие на файловую структуру.

+

В Rust есть два способа для объявления модуля. Например, модуль foo может быть +представлен как:

+ + +
+
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..2bc1f4bf8 --- /dev/null +++ b/beta_111_th.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

Creating Modules

+

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

+

Rust มีสองวิธีในการประกาศโมดูล ตัวอย่างเช่นโมดูล foo สามารถทำได้โดย:

+ + +
+
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..b5eb935a9 --- /dev/null +++ b/beta_111_tr.html @@ -0,0 +1,59 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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:

+ + +
+
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..f844bfad8 --- /dev/null +++ b/beta_111_ua.html @@ -0,0 +1,61 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Створення модулів

+

Коли ми думаємо про код, то зазвичай уявляємо собі ієрархію файлів, організованих +у каталогах. Rust дозволяє створювати модулі, тісно пов'язані з вашою файловою +структурою вашого файлу.

+

У Rust є два способи оголошення модуля. Наприклад, модуль +foo може бути представлений як:

+ + +
+
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..256b2e8d2 --- /dev/null +++ b/beta_111_vi.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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:

+ + +
+
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..b60bed762 --- /dev/null +++ b/beta_111_zh-cn.html @@ -0,0 +1,58 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

创建模块

+

当我们想到项目时,我们通常会想象一个以目录组织的文件层次结构。Rust 允许您创建与您的文件结构密切相关的模块。

+

在 Rust 中,有两种方式来声明一个模块。例如,模块 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..ea60bb841 --- /dev/null +++ b/beta_112_de.html @@ -0,0 +1,56 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour durch Rust + + Inhaltsverzeichnis +
+
+

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..d47274893 --- /dev/null +++ b/beta_112_en.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..7aaf11911 --- /dev/null +++ b/beta_112_es.html @@ -0,0 +1,56 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..57031a4c1 --- /dev/null +++ b/beta_112_fa.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..9d4fd87a5 --- /dev/null +++ b/beta_112_fr.html @@ -0,0 +1,59 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..e9107ffb6 --- /dev/null +++ b/beta_112_hu.html @@ -0,0 +1,58 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..b205e985c --- /dev/null +++ b/beta_112_ie.html @@ -0,0 +1,64 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..ad9a84cb9 --- /dev/null +++ b/beta_112_ko.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

모듈 계층구조

+

한 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..40e82b0e2 --- /dev/null +++ b/beta_112_pl.html @@ -0,0 +1,58 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..a44f8b328 --- /dev/null +++ b/beta_112_pt-br.html @@ -0,0 +1,56 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..3191622cf --- /dev/null +++ b/beta_112_ro.html @@ -0,0 +1,58 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..d53a39d8b --- /dev/null +++ b/beta_112_ru.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Иерархия модуля (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..37691145c --- /dev/null +++ b/beta_112_th.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..4df33862c --- /dev/null +++ b/beta_112_tr.html @@ -0,0 +1,56 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..b9d3ad7a0 --- /dev/null +++ b/beta_112_ua.html @@ -0,0 +1,58 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Ієрархія модулів

+

Один модуль може залежати від іншого. Для того, щоб встановити зв'язок +між модулем та його підмодулем, ви повинні написати у батьківському модулі

+
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..440c45bf1 --- /dev/null +++ b/beta_112_vi.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..44f545606 --- /dev/null +++ b/beta_112_zh-cn.html @@ -0,0 +1,56 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

模块层次结构

+

模块可以互相依赖。要建立一个模块和其子模块之间的关系,你需要在父模块中这样写:

+
mod foo;
+
+

上面的声明将使编译器寻找一个名为 foo.rsfoo/mod.rs 的文件,并将其内容插入这个作用域内名为 foo 的模块中。

+ +
+
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..fdb3552cd --- /dev/null +++ b/beta_113_de.html @@ -0,0 +1,65 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour durch Rust + + Inhaltsverzeichnis +
+
+

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..1e4caa426 --- /dev/null +++ b/beta_113_en.html @@ -0,0 +1,65 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..f565be7fc --- /dev/null +++ b/beta_113_es.html @@ -0,0 +1,65 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..7f0065ad4 --- /dev/null +++ b/beta_113_fa.html @@ -0,0 +1,65 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..6f65e41a5 --- /dev/null +++ b/beta_113_fr.html @@ -0,0 +1,67 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..5411477cc --- /dev/null +++ b/beta_113_hu.html @@ -0,0 +1,65 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..9ef41da2c --- /dev/null +++ b/beta_113_ie.html @@ -0,0 +1,58 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

Referenties Intern a Modules

+

Rust possede mult clave-paroles queles tu posse usar in tui use-path por rapidmen trovar li modul desirat:

+ + +
+
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..c682ad70b --- /dev/null +++ b/beta_113_ko.html @@ -0,0 +1,65 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

인라인 모듈

+

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..1c25cff78 --- /dev/null +++ b/beta_113_pl.html @@ -0,0 +1,65 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..bdd9d8090 --- /dev/null +++ b/beta_113_pt-br.html @@ -0,0 +1,65 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..89867d945 --- /dev/null +++ b/beta_113_ro.html @@ -0,0 +1,65 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

Modul *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!

+
// Aceast 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::*;
+
+    ... tests go here ...
+}
+
+ +
+
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..fd3791c6b --- /dev/null +++ b/beta_113_ru.html @@ -0,0 +1,65 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Встроенный модуль (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..30ba438f0 --- /dev/null +++ b/beta_113_th.html @@ -0,0 +1,65 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..b8891374a --- /dev/null +++ b/beta_113_tr.html @@ -0,0 +1,65 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..1894c8d48 --- /dev/null +++ b/beta_113_ua.html @@ -0,0 +1,65 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Вбудований модуль

+

Підмодуль може бути безпосередньо вбудований у код модуля.

+

Одне з найпоширеніших застосувань вбудованих модулів - створення модульних тестів. Ми створюємо вбудований модуль, який існує лише тоді, коли для тестування використовується 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..f9259e2a8 --- /dev/null +++ b/beta_113_vi.html @@ -0,0 +1,67 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..71717db3c --- /dev/null +++ b/beta_113_zh-cn.html @@ -0,0 +1,63 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

内联模块

+

一个子模块可以直接内联在一个模块的代码中。

+

内联模块最常见的用途是创建单元测试。 下面我们创建一个只有在使用 Rust 进行测试时才会存在的内联模块!

+
// 当 Rust 不在测试模式时,这个宏会删除这个内联模块。
+#[cfg(test)]
+mod tests {
+    // 请注意,我们并不能立即获得对父模块的访问。我们必须显式地导入它们。
+    use super::*;
+
+    ... 单元测试写在这里 ...
+}
+
+ +
+
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..a65ae5d3a --- /dev/null +++ b/beta_114_de.html @@ -0,0 +1,58 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour durch Rust + + Inhaltsverzeichnis +
+
+

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:

+ + +
+
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..3cb0d017b --- /dev/null +++ b/beta_114_en.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

Internal Module Referencing

+

Rust has several keywords you can use in your use path to quickly get ahold of the module you want:

+ + +
+
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..6a069ebe0 --- /dev/null +++ b/beta_114_es.html @@ -0,0 +1,58 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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:

+ + +
+
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..62a65de59 --- /dev/null +++ b/beta_114_fa.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

Internal Module Referencing

+

Rust has several keywords you can use in your use path to quickly get ahold of the module you want:

+ + +
+
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..d9427f983 --- /dev/null +++ b/beta_114_fr.html @@ -0,0 +1,59 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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:

+ + +
+
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..6fa6bb1cc --- /dev/null +++ b/beta_114_hu.html @@ -0,0 +1,59 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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:

+ + +
+
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..95ac2c28b --- /dev/null +++ b/beta_114_ie.html @@ -0,0 +1,55 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..1edb2bf0c --- /dev/null +++ b/beta_114_ko.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

내부 모듈 참조하기

+

Rust에서는 use 경로에 사용할 수 있는 몇 가지 키워드를 통해 원하는 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..5af3c708d --- /dev/null +++ b/beta_114_pl.html @@ -0,0 +1,58 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

Internal Module Referencing

+

Rust has several keywords you can use in your use path to quickly get ahold of the module you want:

+ + +
+
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..0b1e35cfd --- /dev/null +++ b/beta_114_pt-br.html @@ -0,0 +1,58 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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:

+ + +
+
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..fc3689cce --- /dev/null +++ b/beta_114_ro.html @@ -0,0 +1,58 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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:

+ + +
+
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..ebf622b53 --- /dev/null +++ b/beta_114_ru.html @@ -0,0 +1,58 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Ссылка на встроенный модуль (Internal Module Referencing)

+

Rust имеет несколько ключевых слов, которые вы можете использовать в своем пути use (использовать), чтобы быстро получить доступ к нужному модулю:

+ + +
+
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..5055b115f --- /dev/null +++ b/beta_114_th.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

Internal Module Referencing

+

Rust มีหลายคีย์เวิร์ดให้คุณใช้ใน พาธ use ของคุณ เพื่อรับโมดูลที่คุณต้องการแบบเร่งด่วน:

+ + +
+
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..1e79a0e03 --- /dev/null +++ b/beta_114_tr.html @@ -0,0 +1,58 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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.

+ + +
+
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..d9d0b4247 --- /dev/null +++ b/beta_114_ua.html @@ -0,0 +1,58 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Внутрішнє посилання на модулі

+

У Rust є кілька ключових слів, які ви можете використовувати у шляху use, щоб швидко отримати доступ до потрібного вам модуля:

+ + +
+
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..4318d7099 --- /dev/null +++ b/beta_114_vi.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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:

+ + +
+
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..1b4e17c04 --- /dev/null +++ b/beta_114_zh-cn.html @@ -0,0 +1,58 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

模块内部引用

+

你可以在你的 use 路径中使用如下 Rust 关键字来获得你想要的模块:

+ + +
+
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..67a5cad05 --- /dev/null +++ b/beta_115_de.html @@ -0,0 +1,58 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour durch Rust + + Inhaltsverzeichnis +
+
+

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..0295b09c2 --- /dev/null +++ b/beta_115_en.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..09393ca39 --- /dev/null +++ b/beta_115_es.html @@ -0,0 +1,54 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..17047cb54 --- /dev/null +++ b/beta_115_fa.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..3fa68b913 --- /dev/null +++ b/beta_115_fr.html @@ -0,0 +1,59 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..0351554c1 --- /dev/null +++ b/beta_115_hu.html @@ -0,0 +1,58 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..82cab7230 --- /dev/null +++ b/beta_115_ie.html @@ -0,0 +1,55 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..8b259aed2 --- /dev/null +++ b/beta_115_ko.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

내보내기

+

기본적으로 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..8ef38ed75 --- /dev/null +++ b/beta_115_pl.html @@ -0,0 +1,56 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..c139caaf8 --- /dev/null +++ b/beta_115_pt-br.html @@ -0,0 +1,53 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..ec7381c0a --- /dev/null +++ b/beta_115_ro.html @@ -0,0 +1,56 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..7e13f3c0e --- /dev/null +++ b/beta_115_ru.html @@ -0,0 +1,54 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Экспорт (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..0fb3074c7 --- /dev/null +++ b/beta_115_th.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..d3232fad0 --- /dev/null +++ b/beta_115_tr.html @@ -0,0 +1,54 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..25fbaf8de --- /dev/null +++ b/beta_115_ua.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Експорт

+

За замовчуванням члени модуля недоступні ззовні модуля (навіть з його дочірніх модулів!). Ми робимо члени +модуля доступними за допомогою ключового слова 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..813cda5b3 --- /dev/null +++ b/beta_115_vi.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..2bf043072 --- /dev/null +++ b/beta_115_zh-cn.html @@ -0,0 +1,54 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

导出

+

默认情况下,模块的成员不能从模块外部访问(甚至它的子模块也不行!)。 我们可以使用 pub 关键字使一个模块的成员可以从外部访问。

+

默认情况下,crate 中的成员无法从当前 crate 之外访问。我们可以通过在根模块中 (lib.rsmain.rs), 将成员标记为 pub 使它们可以访问。

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

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..b6fb080f8 --- /dev/null +++ b/beta_116_en.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..e9334aab5 --- /dev/null +++ b/beta_116_es.html @@ -0,0 +1,55 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..02ee8499e --- /dev/null +++ b/beta_116_fa.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..e71c95e56 --- /dev/null +++ b/beta_116_fr.html @@ -0,0 +1,56 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..490977c33 --- /dev/null +++ b/beta_116_hu.html @@ -0,0 +1,56 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..03fd47fe4 --- /dev/null +++ b/beta_116_ko.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

구조체 가시성

+

함수와 마찬가지로, 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..b4b8f3f8b --- /dev/null +++ b/beta_116_pl.html @@ -0,0 +1,55 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..cfaf11941 --- /dev/null +++ b/beta_116_pt-br.html @@ -0,0 +1,55 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..7e7fe490b --- /dev/null +++ b/beta_116_ro.html @@ -0,0 +1,55 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..7df20979b --- /dev/null +++ b/beta_116_ru.html @@ -0,0 +1,55 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Область видимости структур (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..30ec3e4c4 --- /dev/null +++ b/beta_116_th.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..c8a16e248 --- /dev/null +++ b/beta_116_tr.html @@ -0,0 +1,55 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..95feb9732 --- /dev/null +++ b/beta_116_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_116_vi.html b/beta_116_vi.html new file mode 100644 index 000000000..a6c472264 --- /dev/null +++ b/beta_116_vi.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..e0f9cf37b --- /dev/null +++ b/beta_116_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_117_de.html b/beta_117_de.html new file mode 100644 index 000000000..ea59f399d --- /dev/null +++ b/beta_117_de.html @@ -0,0 +1,56 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour durch Rust + + Inhaltsverzeichnis +
+
+

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..4893ad9f5 --- /dev/null +++ b/beta_117_en.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..e4958ea09 --- /dev/null +++ b/beta_117_es.html @@ -0,0 +1,57 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..c06eacad4 --- /dev/null +++ b/beta_117_fa.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..31134bdc0 --- /dev/null +++ b/beta_117_fr.html @@ -0,0 +1,59 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..2776421b9 --- /dev/null +++ b/beta_117_hu.html @@ -0,0 +1,57 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..7df49565d --- /dev/null +++ b/beta_117_ko.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

전주곡 (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..9fc37df80 --- /dev/null +++ b/beta_117_pl.html @@ -0,0 +1,59 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..203bb6a66 --- /dev/null +++ b/beta_117_pt-br.html @@ -0,0 +1,54 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..7e4bee39d --- /dev/null +++ b/beta_117_ro.html @@ -0,0 +1,59 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..d1566dce8 --- /dev/null +++ b/beta_117_ru.html @@ -0,0 +1,58 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Автоимпорт (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..711e98725 --- /dev/null +++ b/beta_117_th.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..487944a26 --- /dev/null +++ b/beta_117_tr.html @@ -0,0 +1,56 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

Ö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..049191e4f --- /dev/null +++ b/beta_117_ua.html @@ -0,0 +1,59 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Прелюдія

+

Вам може бути цікаво, як ми маємо доступ до 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..f17c5f835 --- /dev/null +++ b/beta_117_vi.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..f41467ce1 --- /dev/null +++ b/beta_117_zh-cn.html @@ -0,0 +1,56 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

Prelude

+

你可能很好奇,为什么我们在没用 use 导入 VecBox 的情况下却可以到处使用它们。 +这是因为标准库中有一个叫 prelude 的模块。

+

要知道,在 Rust 标准库中,以 std::prelude::* 导出的任何东西都会自动提供给 Rust 的各个部分。 +VecBox 便是如此,并且其他东西(Option、Copy 等)也是如此。

+ +
+
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..8e5292c39 --- /dev/null +++ b/beta_118_de.html @@ -0,0 +1,55 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour durch Rust + + Inhaltsverzeichnis +
+
+

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..412f5ced8 --- /dev/null +++ b/beta_118_en.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..dd4507647 --- /dev/null +++ b/beta_118_es.html @@ -0,0 +1,54 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..e61946993 --- /dev/null +++ b/beta_118_fa.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..758ba6f6f --- /dev/null +++ b/beta_118_fr.html @@ -0,0 +1,58 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..ec7d78fde --- /dev/null +++ b/beta_118_hu.html @@ -0,0 +1,58 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..42a7e6717 --- /dev/null +++ b/beta_118_ko.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

여러분만의 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..b4f090587 --- /dev/null +++ b/beta_118_pl.html @@ -0,0 +1,57 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..3cf10e85a --- /dev/null +++ b/beta_118_pt-br.html @@ -0,0 +1,55 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..baa3bece2 --- /dev/null +++ b/beta_118_ro.html @@ -0,0 +1,57 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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 rustacean 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..b310bca5a --- /dev/null +++ b/beta_118_ru.html @@ -0,0 +1,55 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Ваш собственный автоимпорт (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..5197b9f93 --- /dev/null +++ b/beta_118_th.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..4d1a78d52 --- /dev/null +++ b/beta_118_tr.html @@ -0,0 +1,54 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..65b09fdbf --- /dev/null +++ b/beta_118_ua.html @@ -0,0 +1,55 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Ваша особиста прелюдія

+

Оскільки прелюдія є стандартним компонентом бібліотеки, у вашій бібліотеці, як правило, є власний модуль прелюдії як відправна точка з котрої +користувачі мають імпортувати усі найпоширеніші структури даних для використання вашої бібліотеки (наприклад, 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..9c186b042 --- /dev/null +++ b/beta_118_vi.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..92714acb3 --- /dev/null +++ b/beta_118_zh-cn.html @@ -0,0 +1,55 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

你自己的 Prelude

+

你看,既然标准库里面有 prelude,那么你自己的库里面最好也要有一个 prelude 模块。 这个模块可以作为其他使用你的库的用户的起点:他们可以借此导入你的库里面所有常用的数据结构 (例如 use my_library::prelude::*)。 +当然,这个模块就不会在用了你的库的程序或别的库里面自动启用了。不过使用这个惯例的话,大家会很轻松地知道从何开始的。

+

Ferris 说:“当个好 rustacean,帮助蟹友奏好序曲(prelude)!”

+ +
+
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..0a1eabbab --- /dev/null +++ b/beta_119_de.html @@ -0,0 +1,58 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour durch Rust + + Inhaltsverzeichnis +
+
+

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..afd3e3dc7 --- /dev/null +++ b/beta_119_en.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..67f3f646a --- /dev/null +++ b/beta_119_es.html @@ -0,0 +1,57 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..768c0adad --- /dev/null +++ b/beta_119_fa.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..2f6ee2b97 --- /dev/null +++ b/beta_119_fr.html @@ -0,0 +1,61 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..d73a72e48 --- /dev/null +++ b/beta_119_hu.html @@ -0,0 +1,60 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..0ece95e78 --- /dev/null +++ b/beta_119_ko.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

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..c6b3e082b --- /dev/null +++ b/beta_119_pl.html @@ -0,0 +1,58 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..1e183c5d3 --- /dev/null +++ b/beta_119_pt-br.html @@ -0,0 +1,57 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..e6128f8f1 --- /dev/null +++ b/beta_119_ro.html @@ -0,0 +1,58 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

Capitolul 9 - Concluzii

+

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..15ebdb383 --- /dev/null +++ b/beta_119_ru.html @@ -0,0 +1,58 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Глава 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..41b6bc537 --- /dev/null +++ b/beta_119_th.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

บทที่ 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..8199f01a0 --- /dev/null +++ b/beta_119_tr.html @@ -0,0 +1,57 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..27e016b35 --- /dev/null +++ b/beta_119_ua.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Розділ 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..e26cb4863 --- /dev/null +++ b/beta_119_vi.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..97835f1e5 --- /dev/null +++ b/beta_119_zh-cn.html @@ -0,0 +1,57 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

第九章 - 总结

+

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

+

其他资源(英文):

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_11_de.html b/beta_11_de.html new file mode 100644 index 000000000..4f445f938 --- /dev/null +++ b/beta_11_de.html @@ -0,0 +1,57 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour durch Rust + + Inhaltsverzeichnis +
+
+

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..fc47bd6ed --- /dev/null +++ b/beta_11_en.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..7a8fd91b1 --- /dev/null +++ b/beta_11_es.html @@ -0,0 +1,57 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..e337f42f1 --- /dev/null +++ b/beta_11_fa.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..f1c5a0205 --- /dev/null +++ b/beta_11_fi.html @@ -0,0 +1,57 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

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..a64469b0c --- /dev/null +++ b/beta_11_fr.html @@ -0,0 +1,58 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..e71b5dbe1 --- /dev/null +++ b/beta_11_gr.html @@ -0,0 +1,57 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

Επιστροφή του τίποτε

+

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

+

Μία κενή πολλαπλότητα συμβολίζεται με ().

+

Η ρητή χρήση του () είναι μάλλον σπάνια, αλλά εμφανίζεται αρκετά συχνά ώστε είναι καλό να ξέρει κανείς τι συμβαίνει.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_11_hu.html b/beta_11_hu.html new file mode 100644 index 000000000..f0fb4ea74 --- /dev/null +++ b/beta_11_hu.html @@ -0,0 +1,59 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..bd1ba0332 --- /dev/null +++ b/beta_11_id.html @@ -0,0 +1,57 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

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..4ad65d0ee --- /dev/null +++ b/beta_11_ie.html @@ -0,0 +1,57 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..5ddc22dfc --- /dev/null +++ b/beta_11_it.html @@ -0,0 +1,57 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

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..d216a9bab --- /dev/null +++ b/beta_11_ja.html @@ -0,0 +1,57 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

空の戻り値

+

関数に戻り値の型が指定されていない場合、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..4db8584c9 --- /dev/null +++ b/beta_11_ko.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

아무것도 리턴하지 않기

+

함수에 리턴형을 지정하지 않은 경우 빈 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..103195623 --- /dev/null +++ b/beta_11_pl.html @@ -0,0 +1,57 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..9a4f7ce7f --- /dev/null +++ b/beta_11_pt-br.html @@ -0,0 +1,57 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..92bd99905 --- /dev/null +++ b/beta_11_ro.html @@ -0,0 +1,57 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..ad17831d6 --- /dev/null +++ b/beta_11_ru.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Возврат пустого значения (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..b1d2c6c5a --- /dev/null +++ b/beta_11_th.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

การไม่คืนอะไรเลย

+

ถ้าฟังก์ชันไม่ได้ระบุ 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..c0ac8ad60 --- /dev/null +++ b/beta_11_tr.html @@ -0,0 +1,57 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..2c870a2bc --- /dev/null +++ b/beta_11_ua.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Повернення пустого значення

+

Якщо для функції не вказаний тип для повернення значення, вона повертає пустий кортеж, також відомий як 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..442590f9e --- /dev/null +++ b/beta_11_vi.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..857997a9e --- /dev/null +++ b/beta_11_zh-cn.html @@ -0,0 +1,57 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

返回空值

+

如果没有为函数指定返回类型,它将返回一个空的元组,也称为单元

+

一个空的元组用 () 表示。

+

直接使用 () 的情况相当不常见。但它经常会出现(比如作为函数返回值),所以了解其来龙去脉非常重要。

+ +
+
+ +
+
+ + \ 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..3c7f67ceb --- /dev/null +++ b/beta_11_zh-tw.html @@ -0,0 +1,57 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

沒有回傳類型

+

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

+

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

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

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

+ +

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..e4e8bb03f --- /dev/null +++ b/beta_12_en.html @@ -0,0 +1,63 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..401dc707a --- /dev/null +++ b/beta_12_es.html @@ -0,0 +1,59 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..6a93bea8d --- /dev/null +++ b/beta_12_fa.html @@ -0,0 +1,63 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..09dc699ed --- /dev/null +++ b/beta_12_fi.html @@ -0,0 +1,59 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

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..f750bdaf3 --- /dev/null +++ b/beta_12_fr.html @@ -0,0 +1,63 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..5a17a1127 --- /dev/null +++ b/beta_12_gr.html @@ -0,0 +1,59 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

Κεφάλαιο 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..83c2f6147 --- /dev/null +++ b/beta_12_hu.html @@ -0,0 +1,65 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..e7763a781 --- /dev/null +++ b/beta_12_id.html @@ -0,0 +1,65 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

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..54796f6bc --- /dev/null +++ b/beta_12_ie.html @@ -0,0 +1,53 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..c488e9c71 --- /dev/null +++ b/beta_12_it.html @@ -0,0 +1,62 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

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..6f4075456 --- /dev/null +++ b/beta_12_ja.html @@ -0,0 +1,62 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

第 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..dd1b06e1b --- /dev/null +++ b/beta_12_ko.html @@ -0,0 +1,63 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

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..10921cbee --- /dev/null +++ b/beta_12_pl.html @@ -0,0 +1,59 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..ebdd2c082 --- /dev/null +++ b/beta_12_pt-br.html @@ -0,0 +1,59 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..6b144bab7 --- /dev/null +++ b/beta_12_ro.html @@ -0,0 +1,63 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

Capitolul 1 - Concluzii

+

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..969072d50 --- /dev/null +++ b/beta_12_ru.html @@ -0,0 +1,59 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Раздел 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..d08b3fd87 --- /dev/null +++ b/beta_12_th.html @@ -0,0 +1,62 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

บทที่ 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..59ea655b4 --- /dev/null +++ b/beta_12_tr.html @@ -0,0 +1,60 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..9a3d5639d --- /dev/null +++ b/beta_12_ua.html @@ -0,0 +1,61 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Розділ 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..c4c81f5ca --- /dev/null +++ b/beta_12_vi.html @@ -0,0 +1,60 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..38bd3b4f4 --- /dev/null +++ b/beta_12_zh-cn.html @@ -0,0 +1,63 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

第一章总结

+

到目前为止一切都进展顺利! 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..e66634c1e --- /dev/null +++ b/beta_12_zh-tw.html @@ -0,0 +1,62 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

第一章 - 總結

+

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

+

更多資源:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_14_de.html b/beta_14_de.html new file mode 100644 index 000000000..29b11f9de --- /dev/null +++ b/beta_14_de.html @@ -0,0 +1,58 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour durch Rust + + Inhaltsverzeichnis +
+
+

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..23dd2e335 --- /dev/null +++ b/beta_14_en.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..96c97a5f5 --- /dev/null +++ b/beta_14_es.html @@ -0,0 +1,57 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..d46193f99 --- /dev/null +++ b/beta_14_fa.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..d189d5720 --- /dev/null +++ b/beta_14_fi.html @@ -0,0 +1,57 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

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..436079944 --- /dev/null +++ b/beta_14_fr.html @@ -0,0 +1,58 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..d69e7dfd1 --- /dev/null +++ b/beta_14_gr.html @@ -0,0 +1,57 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

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..6edc95227 --- /dev/null +++ b/beta_14_hu.html @@ -0,0 +1,59 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..b6d62cdee --- /dev/null +++ b/beta_14_id.html @@ -0,0 +1,57 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

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..14a34d15f --- /dev/null +++ b/beta_14_ie.html @@ -0,0 +1,55 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..d5248e631 --- /dev/null +++ b/beta_14_it.html @@ -0,0 +1,57 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

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..e87d35c04 --- /dev/null +++ b/beta_14_ja.html @@ -0,0 +1,57 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

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..3e2a4ba8a --- /dev/null +++ b/beta_14_ko.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

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..3d68bb6d0 --- /dev/null +++ b/beta_14_pl.html @@ -0,0 +1,57 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..ac52ca028 --- /dev/null +++ b/beta_14_pt-br.html @@ -0,0 +1,57 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..616cb5e5d --- /dev/null +++ b/beta_14_ro.html @@ -0,0 +1,57 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..06e7ad4e1 --- /dev/null +++ b/beta_14_ru.html @@ -0,0 +1,58 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

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..b4f8e99a9 --- /dev/null +++ b/beta_14_th.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..fe5cb3326 --- /dev/null +++ b/beta_14_tr.html @@ -0,0 +1,57 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..2973c1811 --- /dev/null +++ b/beta_14_ua.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

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..8c36f748c --- /dev/null +++ b/beta_14_vi.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

Đ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..b16431f64 --- /dev/null +++ b/beta_14_zh-cn.html @@ -0,0 +1,57 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

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..8c1ccc92c --- /dev/null +++ b/beta_14_zh-tw.html @@ -0,0 +1,57 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

if/else if/else

+

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

+

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

+

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

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

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..9522a7590 --- /dev/null +++ b/beta_15_en.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..3e174aaa5 --- /dev/null +++ b/beta_15_es.html @@ -0,0 +1,58 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..7bf398040 --- /dev/null +++ b/beta_15_fa.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..543d1b4b8 --- /dev/null +++ b/beta_15_fi.html @@ -0,0 +1,58 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

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..606d1ab87 --- /dev/null +++ b/beta_15_fr.html @@ -0,0 +1,58 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..1356d0803 --- /dev/null +++ b/beta_15_gr.html @@ -0,0 +1,56 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

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..67dfd79a2 --- /dev/null +++ b/beta_15_hu.html @@ -0,0 +1,58 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..2df9f3f21 --- /dev/null +++ b/beta_15_id.html @@ -0,0 +1,58 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

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..facf5586d --- /dev/null +++ b/beta_15_ie.html @@ -0,0 +1,55 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..021fe809f --- /dev/null +++ b/beta_15_it.html @@ -0,0 +1,58 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

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..ee68c4cac --- /dev/null +++ b/beta_15_ja.html @@ -0,0 +1,57 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

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..c4d1fc998 --- /dev/null +++ b/beta_15_ko.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

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..477bb1d55 --- /dev/null +++ b/beta_15_pl.html @@ -0,0 +1,58 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..67813bb7f --- /dev/null +++ b/beta_15_pt-br.html @@ -0,0 +1,58 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..d6ce2dda8 --- /dev/null +++ b/beta_15_ro.html @@ -0,0 +1,58 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..7083d4ac8 --- /dev/null +++ b/beta_15_ru.html @@ -0,0 +1,58 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

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..384adb3a8 --- /dev/null +++ b/beta_15_th.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..4229188cb --- /dev/null +++ b/beta_15_tr.html @@ -0,0 +1,57 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..4a346c1a5 --- /dev/null +++ b/beta_15_ua.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Цикли

+

Вам потрібен безкінечний цикл? З 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..cf78158a9 --- /dev/null +++ b/beta_15_vi.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..94815d6e6 --- /dev/null +++ b/beta_15_zh-cn.html @@ -0,0 +1,57 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

循环

+

需要一个无限循环?

+

使用 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..665a7416f --- /dev/null +++ b/beta_15_zh-tw.html @@ -0,0 +1,58 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

loop

+

需要一個無窮迴圈嗎?

+

Rust 將它變得很簡單。

+

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

+

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..46aed5f33 --- /dev/null +++ b/beta_16_de.html @@ -0,0 +1,55 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour durch Rust + + Inhaltsverzeichnis +
+
+

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..7c6b607f3 --- /dev/null +++ b/beta_16_en.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..912177c55 --- /dev/null +++ b/beta_16_es.html @@ -0,0 +1,56 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..fbde7932d --- /dev/null +++ b/beta_16_fa.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..b4fa61a67 --- /dev/null +++ b/beta_16_fi.html @@ -0,0 +1,56 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

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..0f4c311f6 --- /dev/null +++ b/beta_16_fr.html @@ -0,0 +1,56 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..7129ca52d --- /dev/null +++ b/beta_16_gr.html @@ -0,0 +1,56 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

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..bd82e777a --- /dev/null +++ b/beta_16_hu.html @@ -0,0 +1,56 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..397d77c04 --- /dev/null +++ b/beta_16_id.html @@ -0,0 +1,56 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

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..6348a07e1 --- /dev/null +++ b/beta_16_ie.html @@ -0,0 +1,55 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..e3db8950f --- /dev/null +++ b/beta_16_it.html @@ -0,0 +1,56 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

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..18d42121b --- /dev/null +++ b/beta_16_ja.html @@ -0,0 +1,56 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

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..56e957f52 --- /dev/null +++ b/beta_16_ko.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

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..03d14f480 --- /dev/null +++ b/beta_16_pl.html @@ -0,0 +1,56 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..ccf7cfd3e --- /dev/null +++ b/beta_16_pt-br.html @@ -0,0 +1,56 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..5b7120c37 --- /dev/null +++ b/beta_16_ro.html @@ -0,0 +1,56 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..379f02dba --- /dev/null +++ b/beta_16_ru.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

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..0ddbf6ecb --- /dev/null +++ b/beta_16_th.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..0d854af36 --- /dev/null +++ b/beta_16_tr.html @@ -0,0 +1,56 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..3f9dd6ede --- /dev/null +++ b/beta_16_ua.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

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..840189e8a --- /dev/null +++ b/beta_16_vi.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..e785872e1 --- /dev/null +++ b/beta_16_zh-cn.html @@ -0,0 +1,56 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

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..5cc4397ab --- /dev/null +++ b/beta_16_zh-tw.html @@ -0,0 +1,56 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

while

+

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

+

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

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

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:

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

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..6427d8272 --- /dev/null +++ b/beta_17_es.html @@ -0,0 +1,58 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..525e14280 --- /dev/null +++ b/beta_17_fa.html @@ -0,0 +1,64 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..68db18698 --- /dev/null +++ b/beta_17_fi.html @@ -0,0 +1,64 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

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..30895014b --- /dev/null +++ b/beta_17_fr.html @@ -0,0 +1,64 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..2f4519187 --- /dev/null +++ b/beta_17_gr.html @@ -0,0 +1,59 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

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..7f14a5713 --- /dev/null +++ b/beta_17_hu.html @@ -0,0 +1,62 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..ce46305f2 --- /dev/null +++ b/beta_17_id.html @@ -0,0 +1,59 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

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..5cf6abda0 --- /dev/null +++ b/beta_17_ie.html @@ -0,0 +1,55 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..4e88b066d --- /dev/null +++ b/beta_17_it.html @@ -0,0 +1,59 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

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..f47a27caf --- /dev/null +++ b/beta_17_ja.html @@ -0,0 +1,61 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

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..5ebe5037f --- /dev/null +++ b/beta_17_ko.html @@ -0,0 +1,61 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

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..0566257f0 --- /dev/null +++ b/beta_17_pl.html @@ -0,0 +1,59 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..6212e7f66 --- /dev/null +++ b/beta_17_pt-br.html @@ -0,0 +1,58 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..c77e4681e --- /dev/null +++ b/beta_17_ro.html @@ -0,0 +1,64 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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 +creea ușor iteratori care generează o secvență de numere întregi.

+

Operatorul .. creează un iterator care generează numere de la un număr pâna 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âna 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..d26101886 --- /dev/null +++ b/beta_17_ru.html @@ -0,0 +1,61 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

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..cd46f59d9 --- /dev/null +++ b/beta_17_th.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..bfac25bc1 --- /dev/null +++ b/beta_17_tr.html @@ -0,0 +1,59 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..a8bff01ff --- /dev/null +++ b/beta_17_ua.html @@ -0,0 +1,59 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

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..7164e9ad5 --- /dev/null +++ b/beta_17_vi.html @@ -0,0 +1,62 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..92debd85a --- /dev/null +++ b/beta_17_zh-cn.html @@ -0,0 +1,59 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

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..714f9b85f --- /dev/null +++ b/beta_17_zh-tw.html @@ -0,0 +1,58 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

for

+

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

+

我們在後續章節會探討更多。同時,現在只需要知道 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..ca3623f08 --- /dev/null +++ b/beta_18_de.html @@ -0,0 +1,64 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour durch Rust + + Inhaltsverzeichnis +
+
+

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..122f99f96 --- /dev/null +++ b/beta_18_en.html @@ -0,0 +1,63 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..e7b8e0ebc --- /dev/null +++ b/beta_18_es.html @@ -0,0 +1,57 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..55bbfc94e --- /dev/null +++ b/beta_18_fa.html @@ -0,0 +1,63 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..864627e9a --- /dev/null +++ b/beta_18_fi.html @@ -0,0 +1,63 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

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..bab5b8f64 --- /dev/null +++ b/beta_18_fr.html @@ -0,0 +1,62 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..333f3bfa8 --- /dev/null +++ b/beta_18_gr.html @@ -0,0 +1,57 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

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..dfab35d91 --- /dev/null +++ b/beta_18_hu.html @@ -0,0 +1,62 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..bfd666fd6 --- /dev/null +++ b/beta_18_id.html @@ -0,0 +1,57 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

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..caecf6740 --- /dev/null +++ b/beta_18_ie.html @@ -0,0 +1,55 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..c9c578e6c --- /dev/null +++ b/beta_18_it.html @@ -0,0 +1,57 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

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..83cad11d6 --- /dev/null +++ b/beta_18_ja.html @@ -0,0 +1,61 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

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..b08b5d722 --- /dev/null +++ b/beta_18_ko.html @@ -0,0 +1,60 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

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..ac861cc76 --- /dev/null +++ b/beta_18_pl.html @@ -0,0 +1,60 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..b439b62ec --- /dev/null +++ b/beta_18_pt-br.html @@ -0,0 +1,57 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..bfc620167 --- /dev/null +++ b/beta_18_ro.html @@ -0,0 +1,63 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..a9844c26c --- /dev/null +++ b/beta_18_ru.html @@ -0,0 +1,60 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

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..0bf9899da --- /dev/null +++ b/beta_18_th.html @@ -0,0 +1,60 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..5d908e757 --- /dev/null +++ b/beta_18_tr.html @@ -0,0 +1,58 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..78ec23ded --- /dev/null +++ b/beta_18_ua.html @@ -0,0 +1,58 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

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..a443ce473 --- /dev/null +++ b/beta_18_vi.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..d3d7fb723 --- /dev/null +++ b/beta_18_zh-cn.html @@ -0,0 +1,59 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

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..d95174ba2 --- /dev/null +++ b/beta_18_zh-tw.html @@ -0,0 +1,57 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

match

+

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

+

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

+

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

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

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..e6abe06a0 --- /dev/null +++ b/beta_19_en.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..86f0b9594 --- /dev/null +++ b/beta_19_es.html @@ -0,0 +1,55 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..137e585de --- /dev/null +++ b/beta_19_fa.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..c0fad854d --- /dev/null +++ b/beta_19_fi.html @@ -0,0 +1,55 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

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..2cbff7255 --- /dev/null +++ b/beta_19_fr.html @@ -0,0 +1,55 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..c11f3152c --- /dev/null +++ b/beta_19_gr.html @@ -0,0 +1,55 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

Επιστροφή τιμών από βρόχους

+

Το 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..915d2ea39 --- /dev/null +++ b/beta_19_hu.html @@ -0,0 +1,55 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

É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..899698d22 --- /dev/null +++ b/beta_19_id.html @@ -0,0 +1,55 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

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..298bf5563 --- /dev/null +++ b/beta_19_ie.html @@ -0,0 +1,55 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..cdd966740 --- /dev/null +++ b/beta_19_it.html @@ -0,0 +1,55 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

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..c3a563ff4 --- /dev/null +++ b/beta_19_ja.html @@ -0,0 +1,55 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

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..4b0e9bcb4 --- /dev/null +++ b/beta_19_ko.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

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..fff46eccf --- /dev/null +++ b/beta_19_pl.html @@ -0,0 +1,55 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..63420fe47 --- /dev/null +++ b/beta_19_pt-br.html @@ -0,0 +1,55 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..3c7016c1c --- /dev/null +++ b/beta_19_ro.html @@ -0,0 +1,55 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..d740895be --- /dev/null +++ b/beta_19_ru.html @@ -0,0 +1,55 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Возвращение значений из 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..4006a73f3 --- /dev/null +++ b/beta_19_th.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..e0dd476a4 --- /dev/null +++ b/beta_19_tr.html @@ -0,0 +1,55 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..a756a3b54 --- /dev/null +++ b/beta_19_ua.html @@ -0,0 +1,55 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Певернення значень з циклів

+

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..c37c449a7 --- /dev/null +++ b/beta_19_vi.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..b45de39bd --- /dev/null +++ b/beta_19_zh-cn.html @@ -0,0 +1,55 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

从循环中返回值

+

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..732993af2 --- /dev/null +++ b/beta_19_zh-tw.html @@ -0,0 +1,55 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

從迴圈回傳數值

+

loop 可以用 break 來回傳數值。

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

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..0e112eee9 --- /dev/null +++ b/beta_20_en.html @@ -0,0 +1,60 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..79afcf196 --- /dev/null +++ b/beta_20_es.html @@ -0,0 +1,57 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..6de5167c6 --- /dev/null +++ b/beta_20_fa.html @@ -0,0 +1,60 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..04e5c1199 --- /dev/null +++ b/beta_20_fi.html @@ -0,0 +1,60 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

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..aa147b24a --- /dev/null +++ b/beta_20_fr.html @@ -0,0 +1,61 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..843b34b34 --- /dev/null +++ b/beta_20_gr.html @@ -0,0 +1,57 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

Επιστροφή τιμών από φραγμένες εκφράσεις

+

Το 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..de096b04f --- /dev/null +++ b/beta_20_hu.html @@ -0,0 +1,61 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

É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..027e572af --- /dev/null +++ b/beta_20_id.html @@ -0,0 +1,57 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

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..8fa14ef0e --- /dev/null +++ b/beta_20_ie.html @@ -0,0 +1,55 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..fd034de16 --- /dev/null +++ b/beta_20_it.html @@ -0,0 +1,57 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

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..b5bd52aec --- /dev/null +++ b/beta_20_ja.html @@ -0,0 +1,58 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

ブロック式から値を返す

+

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..6c3741bb0 --- /dev/null +++ b/beta_20_ko.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

블록 표현에서 값 리턴하기

+

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..4a7490400 --- /dev/null +++ b/beta_20_pl.html @@ -0,0 +1,58 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..8e9627375 --- /dev/null +++ b/beta_20_pt-br.html @@ -0,0 +1,58 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..8d11f46c7 --- /dev/null +++ b/beta_20_ro.html @@ -0,0 +1,60 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..6b2138b4e --- /dev/null +++ b/beta_20_ru.html @@ -0,0 +1,60 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Возвращение значений из выражений блоков

+

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..5fea2b693 --- /dev/null +++ b/beta_20_th.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

การคืนค่าจาก 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..82ed80128 --- /dev/null +++ b/beta_20_tr.html @@ -0,0 +1,57 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..0e50a0806 --- /dev/null +++ b/beta_20_ua.html @@ -0,0 +1,58 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Повернення значень з блокових виразів

+

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..78bd08f47 --- /dev/null +++ b/beta_20_vi.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..1722228de --- /dev/null +++ b/beta_20_zh-cn.html @@ -0,0 +1,59 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

从块表达式返回值

+

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..399b068d2 --- /dev/null +++ b/beta_20_zh-tw.html @@ -0,0 +1,57 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

從區塊表達式回傳數值

+

在 Rust 裡,ifmatch、functions 及區塊範疇 (scope blocks) 都有一個獨特的方式用來回傳數值。

+

如果在 ifmatch、function 或是區塊範疇裡的最後一個敘述是一個表達式,而且它並沒有 ; 結尾, 那 Rust 將會從該區塊回傳該數值。 這是一個很棒的方式用來產生一段簡結的邏輯,將回傳數值指定給一個新的變量。

+

要注意 Rust 同時也允許 if 敘述可以用來當作簡潔的三元運算。

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

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..c7ca9286e --- /dev/null +++ b/beta_21_en.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..8a6a3e002 --- /dev/null +++ b/beta_21_es.html @@ -0,0 +1,53 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..9c70b1f26 --- /dev/null +++ b/beta_21_fa.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..36a763a44 --- /dev/null +++ b/beta_21_fi.html @@ -0,0 +1,56 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

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..97f3c4f90 --- /dev/null +++ b/beta_21_fr.html @@ -0,0 +1,56 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..39d3fb551 --- /dev/null +++ b/beta_21_gr.html @@ -0,0 +1,53 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

Κεφάλαιο 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..4565d61f4 --- /dev/null +++ b/beta_21_hu.html @@ -0,0 +1,56 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..d1c7f28dd --- /dev/null +++ b/beta_21_id.html @@ -0,0 +1,53 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

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..9244527fa --- /dev/null +++ b/beta_21_ie.html @@ -0,0 +1,53 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..ebfb70d80 --- /dev/null +++ b/beta_21_it.html @@ -0,0 +1,54 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

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..3d5a513e1 --- /dev/null +++ b/beta_21_ja.html @@ -0,0 +1,55 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

第 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..e1c764337 --- /dev/null +++ b/beta_21_ko.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

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..d07b6b454 --- /dev/null +++ b/beta_21_pl.html @@ -0,0 +1,55 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..ae98b5ebc --- /dev/null +++ b/beta_21_pt-br.html @@ -0,0 +1,53 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..17b275295 --- /dev/null +++ b/beta_21_ro.html @@ -0,0 +1,57 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

Capitolul 2 - Concluzii

+

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..ec2c5e645 --- /dev/null +++ b/beta_21_ru.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Глава 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..bda2d67ca --- /dev/null +++ b/beta_21_th.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

บทที่ 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..a39233aab --- /dev/null +++ b/beta_21_tr.html @@ -0,0 +1,54 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..89364225c --- /dev/null +++ b/beta_21_ua.html @@ -0,0 +1,55 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Розділ 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..b6da0a3c7 --- /dev/null +++ b/beta_21_vi.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..c2b6dc548 --- /dev/null +++ b/beta_21_zh-cn.html @@ -0,0 +1,55 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

第二章总结

+

希望即便是在最基本的语言特性中,我也已经向你展示了 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..dcc7d1e69 --- /dev/null +++ b/beta_21_zh-tw.html @@ -0,0 +1,53 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

第二章 - 總結

+

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

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_23_de.html b/beta_23_de.html new file mode 100644 index 000000000..1073a88ba --- /dev/null +++ b/beta_23_de.html @@ -0,0 +1,57 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour durch Rust + + Inhaltsverzeichnis +
+
+

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..02b585cab --- /dev/null +++ b/beta_23_en.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..2156f6a6e --- /dev/null +++ b/beta_23_es.html @@ -0,0 +1,57 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..d85e033ed --- /dev/null +++ b/beta_23_fa.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..c52d06946 --- /dev/null +++ b/beta_23_fr.html @@ -0,0 +1,59 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..358a94d02 --- /dev/null +++ b/beta_23_gr.html @@ -0,0 +1,57 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

Δομές

+

Μία δομή (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..ac7b28e81 --- /dev/null +++ b/beta_23_hu.html @@ -0,0 +1,59 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..4ee22e3bd --- /dev/null +++ b/beta_23_ie.html @@ -0,0 +1,57 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..6d6043183 --- /dev/null +++ b/beta_23_it.html @@ -0,0 +1,57 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

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..21d07793d --- /dev/null +++ b/beta_23_ja.html @@ -0,0 +1,57 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

構造体

+

一つの 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..b47e60471 --- /dev/null +++ b/beta_23_ko.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

구조체

+

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..37189b504 --- /dev/null +++ b/beta_23_pl.html @@ -0,0 +1,57 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..5289bb384 --- /dev/null +++ b/beta_23_pt-br.html @@ -0,0 +1,57 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..19a325f4b --- /dev/null +++ b/beta_23_ro.html @@ -0,0 +1,57 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..117654581 --- /dev/null +++ b/beta_23_ru.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Структуры (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..07d343eb9 --- /dev/null +++ b/beta_23_th.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..654c49623 --- /dev/null +++ b/beta_23_tr.html @@ -0,0 +1,57 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..aec2cdfdf --- /dev/null +++ b/beta_23_ua.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Структури

+

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..fbe3ac16e --- /dev/null +++ b/beta_23_vi.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..0204b09bf --- /dev/null +++ b/beta_23_zh-cn.html @@ -0,0 +1,57 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

结构体

+

一个 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..5178c20a3 --- /dev/null +++ b/beta_23_zh-tw.html @@ -0,0 +1,57 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

結構 (structures)

+

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

+

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

+

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

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

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..57c6487bf --- /dev/null +++ b/beta_24_en.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..c28b2bc06 --- /dev/null +++ b/beta_24_es.html @@ -0,0 +1,58 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..05d996a4d --- /dev/null +++ b/beta_24_fa.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..40ea566ef --- /dev/null +++ b/beta_24_fr.html @@ -0,0 +1,59 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..5f3eb40f0 --- /dev/null +++ b/beta_24_gr.html @@ -0,0 +1,58 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

Κλήση μεθόδων

+

Σε αντίθεση με τις απλές συναρτήσεις, οι μέθοδοι είναι συναρτήσεις συσχετισμένες με έναν συγκεκριμένο τύπο δεδομένων.

+

Οι στατικές μέθοδοι είναι αυτές που ανήκουν στον τύπο καθ' αυτό, και καλούνται με τον τελεστή ::.

+

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

+

Σε μετέπειτα κεφάλαια θα μιλήσουμε για το πώς φτιάχνουμε δικές μας μεθόδους.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_24_hu.html b/beta_24_hu.html new file mode 100644 index 000000000..af5d2ef01 --- /dev/null +++ b/beta_24_hu.html @@ -0,0 +1,61 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..ec78adf2c --- /dev/null +++ b/beta_24_ie.html @@ -0,0 +1,55 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..fe2835ba8 --- /dev/null +++ b/beta_24_it.html @@ -0,0 +1,58 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

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..73c143fb7 --- /dev/null +++ b/beta_24_ja.html @@ -0,0 +1,58 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

メソッドの定義

+

関数(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..d285b5c1e --- /dev/null +++ b/beta_24_ko.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

메소드 호출하기

+

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

+

스태틱 메소드(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..ca255a1c8 --- /dev/null +++ b/beta_24_pl.html @@ -0,0 +1,58 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..ac5bc9240 --- /dev/null +++ b/beta_24_pt-br.html @@ -0,0 +1,58 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..a66233fac --- /dev/null +++ b/beta_24_ro.html @@ -0,0 +1,58 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..2c57832d7 --- /dev/null +++ b/beta_24_ru.html @@ -0,0 +1,58 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Вызов методов

+

В отличие от функций, методы являются функциями, ассоциированные с определенным типом данных.

+

статические методы - это методы принадлежащие самому типу и вызываются с помощью оператора ::.

+

методы экземпляра — это методы, принадлежащие экземпляру объекта данного типа, вызываемые у экземпляра объекта через оператор ..

+

Мы поговорим о том, как создавать свои собственные методы в следующих главах.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_24_th.html b/beta_24_th.html new file mode 100644 index 000000000..8e643ed8f --- /dev/null +++ b/beta_24_th.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

การเรียกเมธอด

+

ข้อที่แตกต่างจากฟังก์ชันก็คือ เมธอดนั้นเป็นฟังก์ชันที่ เป็นส่วนหนึ่งของ ชนิดตัวแปรสักตัวแบบเฉพาะเจาะจง

+

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..f436aaef4 --- /dev/null +++ b/beta_24_tr.html @@ -0,0 +1,58 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

Ç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..7efb24c08 --- /dev/null +++ b/beta_24_ua.html @@ -0,0 +1,60 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Виклик методів

+

На відміну від функцій, методи асоційовані з певним типом даних.

+ +

Про створення власних методів ми поговоримо в наступних розділах.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_24_vi.html b/beta_24_vi.html new file mode 100644 index 000000000..5ecf1a5b2 --- /dev/null +++ b/beta_24_vi.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..54196b80d --- /dev/null +++ b/beta_24_zh-cn.html @@ -0,0 +1,58 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

方法调用

+

与函数(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..b321039ee --- /dev/null +++ b/beta_24_zh-tw.html @@ -0,0 +1,58 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

呼叫方法 (method)

+

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

+

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

+

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

+

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

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

Speicher

+

In Rust gibt es 3 unterschiedliche Speicher-Regionen:

+ + +
+
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..c51548c3c --- /dev/null +++ b/beta_25_en.html @@ -0,0 +1,69 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

Memory

+

Rust programs have 3 memory regions where data is stored:

+ + +
+
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..900781861 --- /dev/null +++ b/beta_25_es.html @@ -0,0 +1,68 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

Memoria

+

Los programas Rust tienen 3 regiones de memoria donde almacenar los datos:

+ + +
+
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..1185eb2a3 --- /dev/null +++ b/beta_25_fa.html @@ -0,0 +1,69 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

Memory

+

Rust programs have 3 memory regions where data is stored:

+ + +
+
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..1067fd72c --- /dev/null +++ b/beta_25_fr.html @@ -0,0 +1,72 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

Mémoire

+

Un programme Rust possède 3 régions de mémoire où les données sont stockées:

+ + +
+
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..9b9532d50 --- /dev/null +++ b/beta_25_gr.html @@ -0,0 +1,58 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

Μνήμη

+

Τα προγράμματα στη Rust έχουν 3 περιοχές μνήμης στις οποίες μπορεί να έχουν αποθηκευτεί δεδομένα:

+ + +
+
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..437934294 --- /dev/null +++ b/beta_25_hu.html @@ -0,0 +1,70 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

Memória

+

A Rust-ban írt programok háromféle memóriarégióban tárolják az adatokat:

+ + +
+
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..1c8e7d672 --- /dev/null +++ b/beta_25_ie.html @@ -0,0 +1,66 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

Memorie

+

Programmas in Rust have 3 regiones de memorie ú es plazzat li data:

+ + +
+
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..1cb0beaee --- /dev/null +++ b/beta_25_it.html @@ -0,0 +1,61 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

La Memoria

+

I programmi Rust hanno 3 zone di memoria che possono contenere dati:

+ + +
+
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..4326375c0 --- /dev/null +++ b/beta_25_ja.html @@ -0,0 +1,63 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

メモリ

+

Rust のプログラムでは、データを保持するために次の3種類のメモリ空間を持っています。

+ + +
+
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..0cec29edb --- /dev/null +++ b/beta_25_ko.html @@ -0,0 +1,67 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

메모리

+

Rust 프로그램에는 데이터가 저장되는 세 가지의 메모리 영역이 있습니다:

+ + +
+
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..61f5d6d44 --- /dev/null +++ b/beta_25_pl.html @@ -0,0 +1,71 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

Pamięć

+

Programy pisane w Ruscie mają do dyspozycji 3 rodzaje pamięci:

+ + +
+
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..b79c452d4 --- /dev/null +++ b/beta_25_pt-br.html @@ -0,0 +1,58 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

Memória

+

Os programas em Rust têm 3 regiões de memória onde os dados são armazenados:

+ + +
+
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..95d82270f --- /dev/null +++ b/beta_25_ro.html @@ -0,0 +1,69 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

Memorie

+

Aplicațiile scrise în Rust au 3 zone de memorie unde este stocată informație:

+ + +
+
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..0532a10b7 --- /dev/null +++ b/beta_25_ru.html @@ -0,0 +1,68 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Память (Memory)

+

Программы на Rust имеют 3 региона памяти в которых хранятся данные:

+ + +
+
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..76461fd9a --- /dev/null +++ b/beta_25_th.html @@ -0,0 +1,68 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

หน่วยความจำ

+

โปรแกรมที่เขียนจาก Rust จะมีหน่วยความจำที่ใช้งานอยู่ 3 ส่วน:

+ + +
+
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..2f6aeef79 --- /dev/null +++ b/beta_25_tr.html @@ -0,0 +1,67 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

Bellek

+

Rust programlarında veriler belleğin üç ayrı bölgesinde depolanırlar:

+ + +
+
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..ee22557fd --- /dev/null +++ b/beta_25_ua.html @@ -0,0 +1,63 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Пам'ять

+

Програми на Rust мають три регіони пам'яті для збереження даних:

+ + +
+
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..aa925397d --- /dev/null +++ b/beta_25_vi.html @@ -0,0 +1,70 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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ữ:

+ + +
+
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..7afff290d --- /dev/null +++ b/beta_25_zh-cn.html @@ -0,0 +1,64 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

内存

+

Rust 程序有 3 个存放数据的内存区域:

+ + +
+
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..c7d42482d --- /dev/null +++ b/beta_25_zh-tw.html @@ -0,0 +1,64 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

記憶體 (memory)

+

Rust 程式裡有三塊記憶體區塊用來儲存資料:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_26_de.html b/beta_26_de.html new file mode 100644 index 000000000..0c869acb3 --- /dev/null +++ b/beta_26_de.html @@ -0,0 +1,74 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour durch Rust + + Inhaltsverzeichnis +
+
+

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:

+ +
    +
  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. +
+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_26_en.html b/beta_26_en.html new file mode 100644 index 000000000..d77c2aa00 --- /dev/null +++ b/beta_26_en.html @@ -0,0 +1,75 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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:

+ +
    +
  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. +
+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_26_es.html b/beta_26_es.html new file mode 100644 index 000000000..8f9616dbc --- /dev/null +++ b/beta_26_es.html @@ -0,0 +1,74 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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:

+ +
    +
  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. +
+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_26_fa.html b/beta_26_fa.html new file mode 100644 index 000000000..b797e0138 --- /dev/null +++ b/beta_26_fa.html @@ -0,0 +1,75 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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:

+ +
    +
  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. +
+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_26_fr.html b/beta_26_fr.html new file mode 100644 index 000000000..76c7852eb --- /dev/null +++ b/beta_26_fr.html @@ -0,0 +1,77 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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:

+ +
    +
  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. +
+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_26_gr.html b/beta_26_gr.html new file mode 100644 index 000000000..1c721186a --- /dev/null +++ b/beta_26_gr.html @@ -0,0 +1,66 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

Δημιουργία δεδομένων στη μνήμη

+

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

+

Αρχικοποιούμε ορίζοντας όλες τις τιμές των πεδίων μέσα.

+

ΌνομαΠεδίου { ... }.

+

Τα πεδία των δομών προσπελαύνονται με τον τελεστή τελείας ..

+

Λεπτομέρειες μνήμης για το παράδειγμά μας:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_26_hu.html b/beta_26_hu.html new file mode 100644 index 000000000..632b0c3db --- /dev/null +++ b/beta_26_hu.html @@ -0,0 +1,77 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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:

+ +
    +
  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. +
+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_26_ie.html b/beta_26_ie.html new file mode 100644 index 000000000..ab34ece93 --- /dev/null +++ b/beta_26_ie.html @@ -0,0 +1,74 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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:

+ +
    +
  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. +
+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_26_it.html b/beta_26_it.html new file mode 100644 index 000000000..93916662c --- /dev/null +++ b/beta_26_it.html @@ -0,0 +1,69 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

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:

+ +
    +
  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. +
+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_26_ja.html b/beta_26_ja.html new file mode 100644 index 000000000..1966166d9 --- /dev/null +++ b/beta_26_ja.html @@ -0,0 +1,71 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

メモリの中でデータを作成する

+

コードの中で 構造体インスタンス化 する際に、プログラムはフィールドデータをメモリ上で隣り合うように作成します。

+

全てのフィールドの値を指定してインスタンス化をする際:

+

構造体名 {...}.

+

構造体のフィールドは演算子 . で取り出すことができます。

+

例に示したコードのメモリ状況について:

+ +
    +
  1. ヒープ に変更可能なメモリを作り、テキストを入れます。
  2. +
  3. 1.で作成した参照アドレスを ヒープ に保存し、それを String に保存します(後の章でまた詳しく紹介します。)。
  4. +
+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_26_ko.html b/beta_26_ko.html new file mode 100644 index 000000000..2137afbdb --- /dev/null +++ b/beta_26_ko.html @@ -0,0 +1,74 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

메모리에 데이터 생성하기

+

코드에서 struct인스턴스화(instantiate) 하면 프로그램은 연관된 field 데이터들을 메모리 상에 나란히 생성합니다.

+

StructName { ... }.

+

와 같이 안에 모든 field 값을 지정함으로써 instantiate 합니다.

+

struct의 field 값들은 . 연산자를 통해 접근합니다.

+

이 예제의 메모리 상세:

+ +
    +
  1. 텍스트가 수정될 수 있도록 heap에 메모리를 생성
  2. +
  3. 해당 메모리 위치에 대한 참조를 heap에 저장하고 이를 String struct에 저장 +(앞으로 강의에서 더 자세히)
  4. +
+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_26_pl.html b/beta_26_pl.html new file mode 100644 index 000000000..597a2682d --- /dev/null +++ b/beta_26_pl.html @@ -0,0 +1,65 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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:

+ + +
+
+ +
+
+ + \ 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..8c8ef2a93 --- /dev/null +++ b/beta_26_pt-br.html @@ -0,0 +1,70 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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:

+ +
    +
  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. +
+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_26_ro.html b/beta_26_ro.html new file mode 100644 index 000000000..53160c06f --- /dev/null +++ b/beta_26_ro.html @@ -0,0 +1,74 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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

+

structurii, dată prin numele său.

+

Câmpurile unei structuri sunt accesate folosind operatorul ..

+

Detalii despre memorie în exemplul nostru:

+ +
    +
  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. +
+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_26_ru.html b/beta_26_ru.html new file mode 100644 index 000000000..91aca75d6 --- /dev/null +++ b/beta_26_ru.html @@ -0,0 +1,74 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Создание структур в памяти

+

Когда мы создаём экземпляр структуры в коде, программа выделяется память для всех полей структуры друг за другом.

+

Мы создаем экземпляр структуры указывая значения всех полей внутри:

+

StructName { ... }

+

Доступ к полям структуры происходит через оператор точку ..

+

Детали для запоминания по примеру:

+ +
    +
  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..48be86351 --- /dev/null +++ b/beta_26_th.html @@ -0,0 +1,74 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

การสร้างข้อมูลในหน่วยความจำ

+

เมื่อเราสร้าง อินสแตนซ์ จาก struct สักตัวในโค้ดของเรา โปรแกรมของเราจะสร้าง ข้อมูลจากโครงสร้างฟิลด์ไว้เคียงข้างกันในหน่วยความจำ

+

เราสร้างอินสแตนซ์จากฟิลด์ทั้งหมดภายใน

+

StructName { ... }.

+

การเข้าถึงฟิลด์ใน Struct ทำได้ด้วยการใช้ตัวดำเนินการ .

+

รายละเอียดหน่วยความจำจากตัวอย่างนี้:

+ +
    +
  1. ไปสร้างหน่วยความจำใน heap สำหรับข้อความที่ต้องการแก้ไข
  2. +
  3. จัดเก็บสิ่งที่จะอ้างถึงหน่วยความจำนั้นไว้ใน heap แล้วค่อยเอาสิ่งนี้ ไปไว้ใน struct ของ String +(มีเพิ่มเติมเรื่องนี้ในบทเรียนต่อๆไป)
  4. +
+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_26_tr.html b/beta_26_tr.html new file mode 100644 index 000000000..1b7826bbf --- /dev/null +++ b/beta_26_tr.html @@ -0,0 +1,72 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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:

+ +
    +
  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. +
+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_26_ua.html b/beta_26_ua.html new file mode 100644 index 000000000..fe1719bf4 --- /dev/null +++ b/beta_26_ua.html @@ -0,0 +1,70 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Створення даних у пам'яті

+

Коли ми інстанціюємо (instantiate) структуру (struct) в нашому коді - програма створює в пам'яті стуктуру з полями, розташованими одне за одним.

+

Інстанціювання структури відбувається за допомогою вказування значень полів:

+

StructName { ... }.

+

Доступ до полів забезпечується оператором ..

+

Деталі роботи за пам'яттю для нашого прикладу:

+ +
    +
  1. Пам'ять буде виділена в кучі (heap), де може бути модифікована.
  2. +
  3. Зберігання посилання на цю область пам'яті в кучі і збереження її в структурі String (рядок). Більше про це в наступних уроках.
  4. +
+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_26_vi.html b/beta_26_vi.html new file mode 100644 index 000000000..3c1d00989 --- /dev/null +++ b/beta_26_vi.html @@ -0,0 +1,76 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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ụ:

+ +
    +
  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. +
+ + +
+
+ +
+
+ + \ 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..e0257fd69 --- /dev/null +++ b/beta_26_zh-cn.html @@ -0,0 +1,67 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

在内存中创建数据

+

当我们在代码中实例化一个结构体时,我们的程序会在内存中并排创建关联的字段数据。

+

当我们通过制定所有字段值的方式来实例化时:

+

结构体名 { ... }.

+

结构体字段可以通过 . 运算符来获取。

+

我们例子的内存详情:

+ + +
+
+ +
+
+ + \ 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..19844fcaf --- /dev/null +++ b/beta_26_zh-tw.html @@ -0,0 +1,71 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

在記憶體裡創建資料

+

當我們在程式碼裡實體化 (instantiate) 一個結構 (struct) 時,我們的程式將在記憶體裡產生相鄰的欄位資料。

+

我們透過指定所有欄位數值來實體化

+

StructName { ... }.

+

結構裡的欄位可以透過 . 被存取。

+

以下說明範例的細節:

+ +
    +
  1. (heap) 上產生記憶體給文字使用,而且可以被更改
  2. +
  3. 的記憶體位址存在參考 (reference) 裡,並且儲存在 String 結構裡 (後續章節會更詳細說明)
  4. +
+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_27_de.html b/beta_27_de.html new file mode 100644 index 000000000..eab058e4e --- /dev/null +++ b/beta_27_de.html @@ -0,0 +1,55 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour durch Rust + + Inhaltsverzeichnis +
+
+

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..a0987db70 --- /dev/null +++ b/beta_27_en.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..a2d2006aa --- /dev/null +++ b/beta_27_es.html @@ -0,0 +1,55 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..8ba55a3d3 --- /dev/null +++ b/beta_27_fa.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..eed911fd1 --- /dev/null +++ b/beta_27_fr.html @@ -0,0 +1,55 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..58d20a487 --- /dev/null +++ b/beta_27_gr.html @@ -0,0 +1,55 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

Πολλαπλοτητοειδείς δομές

+

Για συντομία στον κώδικα, μπορεί κανείς να ορίσει δομές που χρησιμοποιούνται ως πολλαπλότητες.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_27_hu.html b/beta_27_hu.html new file mode 100644 index 000000000..c122a0077 --- /dev/null +++ b/beta_27_hu.html @@ -0,0 +1,55 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..9ed287e8b --- /dev/null +++ b/beta_27_ie.html @@ -0,0 +1,55 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..da79fcb94 --- /dev/null +++ b/beta_27_it.html @@ -0,0 +1,55 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

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..8dd76d242 --- /dev/null +++ b/beta_27_ja.html @@ -0,0 +1,55 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

タプルライクな構造体

+

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..cb4799aca --- /dev/null +++ b/beta_27_ko.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

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..6b2dd53c4 --- /dev/null +++ b/beta_27_pl.html @@ -0,0 +1,55 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..6d2ed31b6 --- /dev/null +++ b/beta_27_pt-br.html @@ -0,0 +1,55 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..5c952bad1 --- /dev/null +++ b/beta_27_ro.html @@ -0,0 +1,55 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

Structuri de tip tuplu

+

Pentru a fi conciși, puteți creea 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..2c16ad805 --- /dev/null +++ b/beta_27_ru.html @@ -0,0 +1,55 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Кортежи-структуры (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..62122fc23 --- /dev/null +++ b/beta_27_th.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..84c1ecd95 --- /dev/null +++ b/beta_27_tr.html @@ -0,0 +1,55 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

Ç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..7bf6a9ecd --- /dev/null +++ b/beta_27_ua.html @@ -0,0 +1,55 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Кортежні структури (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..b8fbe68f8 --- /dev/null +++ b/beta_27_vi.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..1a6789cee --- /dev/null +++ b/beta_27_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_27_zh-tw.html b/beta_27_zh-tw.html new file mode 100644 index 000000000..7adb81863 --- /dev/null +++ b/beta_27_zh-tw.html @@ -0,0 +1,55 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

數組型結構 (tuple-like)

+

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

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

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..4cd01dcd0 --- /dev/null +++ b/beta_28_en.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..367a95964 --- /dev/null +++ b/beta_28_es.html @@ -0,0 +1,57 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..c2ae8ed0f --- /dev/null +++ b/beta_28_fa.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..5ea8e045f --- /dev/null +++ b/beta_28_fr.html @@ -0,0 +1,58 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..6e4f66f37 --- /dev/null +++ b/beta_28_gr.html @@ -0,0 +1,57 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

Μοναδοειδείς δομές

+

Οι δομές δεν υποχρεούνται να έχουν καθόλου πεδία.

+

Όπως αναφέρθηκε στο κεφάλαιο 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..7bea39eb7 --- /dev/null +++ b/beta_28_hu.html @@ -0,0 +1,58 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..ae7d5b669 --- /dev/null +++ b/beta_28_ie.html @@ -0,0 +1,57 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..e20ead54c --- /dev/null +++ b/beta_28_it.html @@ -0,0 +1,57 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

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..1efc68cad --- /dev/null +++ b/beta_28_ja.html @@ -0,0 +1,57 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

ユニットライクな構造体

+

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..bc6a25b58 --- /dev/null +++ b/beta_28_ko.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

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..0ffcb64a3 --- /dev/null +++ b/beta_28_pl.html @@ -0,0 +1,57 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..4c80812eb --- /dev/null +++ b/beta_28_pt-br.html @@ -0,0 +1,58 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..3cc9a8106 --- /dev/null +++ b/beta_28_ro.html @@ -0,0 +1,57 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..364512961 --- /dev/null +++ b/beta_28_ru.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Юнит-структуры (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..9d481791e --- /dev/null +++ b/beta_28_th.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..87494aedb --- /dev/null +++ b/beta_28_tr.html @@ -0,0 +1,57 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..340b37059 --- /dev/null +++ b/beta_28_ua.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Юніт-структури (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..3150970e9 --- /dev/null +++ b/beta_28_vi.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..acb2a73cf --- /dev/null +++ b/beta_28_zh-cn.html @@ -0,0 +1,57 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

类单元结构体

+

结构体也可以没有任何字段。

+

就像第一章提到的,一个 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..bd989795b --- /dev/null +++ b/beta_28_zh-tw.html @@ -0,0 +1,57 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

單組型結構 (unit-like)

+

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

+

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

+

這類型的結構甚少使用。

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

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..0d47e8794 --- /dev/null +++ b/beta_29_en.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..2892101ba --- /dev/null +++ b/beta_29_es.html @@ -0,0 +1,58 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..9aa24e0b3 --- /dev/null +++ b/beta_29_fa.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..77f8a7c9b --- /dev/null +++ b/beta_29_fr.html @@ -0,0 +1,59 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..5ed3abf32 --- /dev/null +++ b/beta_29_gr.html @@ -0,0 +1,56 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

Απαριθμήσεις

+

Οι απαριθμήσεις μάς επιτρέπουν να δημιουργούμε νέους τύπους που μπορούν να έχουν μία τιμή από ένα πεπερασμένο πλήθος δυνατών τιμών, με τη χρήση της λέξης-κλειδί 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..414a863f8 --- /dev/null +++ b/beta_29_hu.html @@ -0,0 +1,60 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..f1fd1f15b --- /dev/null +++ b/beta_29_ie.html @@ -0,0 +1,58 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..602fbaa94 --- /dev/null +++ b/beta_29_it.html @@ -0,0 +1,56 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

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..c2de11125 --- /dev/null +++ b/beta_29_ja.html @@ -0,0 +1,56 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

列挙型

+

列挙型はキーワード 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..cf1b5712a --- /dev/null +++ b/beta_29_ko.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

열거형

+

열거형(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..1d60d2070 --- /dev/null +++ b/beta_29_pl.html @@ -0,0 +1,56 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..325502bda --- /dev/null +++ b/beta_29_pt-br.html @@ -0,0 +1,56 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..54a193bff --- /dev/null +++ b/beta_29_ro.html @@ -0,0 +1,56 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..07ced84fb --- /dev/null +++ b/beta_29_ru.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Перечисления (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..4c9f38002 --- /dev/null +++ b/beta_29_th.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..e53585d22 --- /dev/null +++ b/beta_29_tr.html @@ -0,0 +1,56 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..f52aaf384 --- /dev/null +++ b/beta_29_ua.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Переліки (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..bcac19757 --- /dev/null +++ b/beta_29_vi.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..6ef9313a4 --- /dev/null +++ b/beta_29_zh-cn.html @@ -0,0 +1,56 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

枚举

+

枚举允许你使用 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..4be9d3be8 --- /dev/null +++ b/beta_29_zh-tw.html @@ -0,0 +1,56 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

列舉 (enumerations)

+

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

+

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

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

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:

+ +

Mehr Details!

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

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:

+ +

Other details:

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

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:

+ +

Otros detalles:

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

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:

+ +

Other details:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_30_fr.html b/beta_30_fr.html new file mode 100644 index 000000000..3be63bbb8 --- /dev/null +++ b/beta_30_fr.html @@ -0,0 +1,71 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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:

+ +

Autres détails:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_30_gr.html b/beta_30_gr.html new file mode 100644 index 000000000..e519b32a9 --- /dev/null +++ b/beta_30_gr.html @@ -0,0 +1,66 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

Απαριθμήσεις με δεδομένα

+

Τα στοιχία ενός enum μπορούν να «κουβαλάνε» έναν ή περισσότερους τύπους δεδομένων, επιτρέποντάς τους να συμπεριφέρονται όπως τα union στη C.

+

Όταν ένα enum «ταιριάζεται» με τη χρήση του match, μπορούμε να προσδέσουμε ένα όνομα μεταβλητής σε κάθε τιμή δεδομένων.

+

Λεπτομέρειες μνήμης των enum:

+ +

Άλλες λεπτομέρειες:

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

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:

+ +

Egyéb megjegyzések:

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

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:

+ +

Altri detallies:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_30_it.html b/beta_30_it.html new file mode 100644 index 000000000..1e85be9ec --- /dev/null +++ b/beta_30_it.html @@ -0,0 +1,66 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

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:

+ +

Altri dettagli:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_30_ja.html b/beta_30_ja.html new file mode 100644 index 000000000..38114a69a --- /dev/null +++ b/beta_30_ja.html @@ -0,0 +1,66 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

データを持つ列挙型

+

enum は一個もしくは複数な型のデータを持つことができ、C言語の union の様な表現ができます。

+

match を用いて列挙値に対するパターンマッチングを行う際、各データを変数名に束縛することができます。

+

列挙 のメモリ事情:

+ +

その他の事情:

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

열거형과 데이터

+

enum의 원소들은 C의 union처럼 동작할 수 있도록 한 개 이상의 자료형을 가질 수 있습니다.

+

enummatch를 통해 패턴 일치될 때, 각각의 데이터 값에 변수명을 붙일 수 있습니다.

+

enum의 메모리 상세:

+ +

다른 상세 정보:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_30_pl.html b/beta_30_pl.html new file mode 100644 index 000000000..f8d548975 --- /dev/null +++ b/beta_30_pl.html @@ -0,0 +1,66 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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:

+ +

Dodatkowo:

+ + +
+
+ +
+
+ + \ 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..7ce3f0ca7 --- /dev/null +++ b/beta_30_pt-br.html @@ -0,0 +1,66 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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:

+ +

Outros detalhes:

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

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:

+ +

Alte detalii:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_30_ru.html b/beta_30_ru.html new file mode 100644 index 000000000..26dcf2826 --- /dev/null +++ b/beta_30_ru.html @@ -0,0 +1,66 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Перечисления с данными

+

Элементы enum также могут иметь один и больше типов данных, позволяя им вести себя как union из языка Cи.

+

Когда enum сопоставляется с серией шаблонов используя match (или матчится, англ. is pattern matched), вы можете связать имя переменной с каждым значением или полем структуры.

+

Детали для запоминания по enum:

+ +

Еще немного информации:

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

Enumerations With Data

+

ในองค์ประกอบ enum ยังอนุญาตให้สามารถมีประเภทข้อมูล ได้อย่างน้อยหนึ่งชนิดอีกด้วย ซึ่งจะมีพฤติกรรมคล้ายกับ union ในภาษาซี

+

เมื่อใช้ match มาจับคู่ของใน enum คุณสามารถผูกชื่อตัวแปรให้แต่ละค่านั้นได้เลย

+

รายละเอียดหน่วยความจำของ enum:

+ +

รายละเอียดอื่นๆ:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_30_tr.html b/beta_30_tr.html new file mode 100644 index 000000000..140f7ac2b --- /dev/null +++ b/beta_30_tr.html @@ -0,0 +1,66 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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ı:

+ +

Ek olarak:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_30_ua.html b/beta_30_ua.html new file mode 100644 index 000000000..ac958b7c4 --- /dev/null +++ b/beta_30_ua.html @@ -0,0 +1,67 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Переліки з даними

+

Елементи enum можуть мати один або більше типів даних, тобто мають ту ж саму поведінку, що й union з мови С. +Коли enum ставиться у відповідність за допомогою match, можна прив'язати змінну до кожного значення даних. +Деталі збереження переліків в пам'яті:

+ +

Інші деталі:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_30_vi.html b/beta_30_vi.html new file mode 100644 index 000000000..757175d5e --- /dev/null +++ b/beta_30_vi.html @@ -0,0 +1,66 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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:

+ +

Những chi tiết khác:

+ + +
+
+ +
+
+ + \ 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..880493d05 --- /dev/null +++ b/beta_30_zh-cn.html @@ -0,0 +1,66 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

带数据的枚举

+

enum 的元素可以有一个或多个数据类型,从而使其表现得像 C 语言中的联合

+

当使用 match 对一个 enum 进行模式匹配时,可以将变量名称绑定到每个数据值。

+

enum 的内存细节:

+ +

其他细节:

+ + +
+
+ +
+
+ + \ 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..dbd8595a8 --- /dev/null +++ b/beta_30_zh-tw.html @@ -0,0 +1,66 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

列舉與資料

+

enum 元素可以有一個或多個資料型別,這使得它們就像 C 語言裡的 union 一樣。

+

當一個 enummatch 匹配到時,你可以將一個變量名綁定到每一個資料數值。

+

enum 的記憶體詳細說明:

+ +

其他細節:

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

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..0afb2a4f3 --- /dev/null +++ b/beta_31_en.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..e992c73f2 --- /dev/null +++ b/beta_31_es.html @@ -0,0 +1,56 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..05764d82b --- /dev/null +++ b/beta_31_fa.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..ad9b0ff5e --- /dev/null +++ b/beta_31_fr.html @@ -0,0 +1,56 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..0d11ac713 --- /dev/null +++ b/beta_31_gr.html @@ -0,0 +1,53 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

Κεφάλαιο 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..c45e47730 --- /dev/null +++ b/beta_31_hu.html @@ -0,0 +1,57 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..9bfbbec63 --- /dev/null +++ b/beta_31_ie.html @@ -0,0 +1,56 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..ef1906290 --- /dev/null +++ b/beta_31_it.html @@ -0,0 +1,53 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

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..72cb4b065 --- /dev/null +++ b/beta_31_ja.html @@ -0,0 +1,54 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

第 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..ddcd5ec30 --- /dev/null +++ b/beta_31_ko.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

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..a87ff2014 --- /dev/null +++ b/beta_31_pl.html @@ -0,0 +1,55 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..a9cb0c0ba --- /dev/null +++ b/beta_31_pt-br.html @@ -0,0 +1,54 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..e28669f65 --- /dev/null +++ b/beta_31_ro.html @@ -0,0 +1,55 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..13f708300 --- /dev/null +++ b/beta_31_ru.html @@ -0,0 +1,54 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Глава 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..4f3409315 --- /dev/null +++ b/beta_31_th.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

บทที่ 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..be88bc0d1 --- /dev/null +++ b/beta_31_tr.html @@ -0,0 +1,54 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..58488831a --- /dev/null +++ b/beta_31_ua.html @@ -0,0 +1,54 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Розділ 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..66609146f --- /dev/null +++ b/beta_31_vi.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..31adeb84d --- /dev/null +++ b/beta_31_zh-cn.html @@ -0,0 +1,55 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

第三章 - 总结

+

太好了!现在我们有了一些用代码来展示我们想法最基本的工具。 +希望现在我们能看到 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..8eb9cadb5 --- /dev/null +++ b/beta_31_zh-tw.html @@ -0,0 +1,53 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

第三章 - 總結

+

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

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_33_de.html b/beta_33_de.html new file mode 100644 index 000000000..397ed45aa --- /dev/null +++ b/beta_33_de.html @@ -0,0 +1,59 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour durch Rust + + Inhaltsverzeichnis +
+
+

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..be82074db --- /dev/null +++ b/beta_33_en.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..7700c40cd --- /dev/null +++ b/beta_33_es.html @@ -0,0 +1,59 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

¿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..cb2341eee --- /dev/null +++ b/beta_33_fa.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..3b0d96940 --- /dev/null +++ b/beta_33_fr.html @@ -0,0 +1,59 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..e0585dd9a --- /dev/null +++ b/beta_33_gr.html @@ -0,0 +1,56 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

Τι είναι οι γενικοί τύποι;

+

Οι γενικοί τύποι μας επιτρέπουν να ορίσουμε τμηματικά μία δομή ή μία απαρίθμηση (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..74490d18a --- /dev/null +++ b/beta_33_hu.html @@ -0,0 +1,59 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..300d531cc --- /dev/null +++ b/beta_33_ie.html @@ -0,0 +1,59 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..67b7bcae2 --- /dev/null +++ b/beta_33_it.html @@ -0,0 +1,56 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

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..ccc2cbe96 --- /dev/null +++ b/beta_33_ja.html @@ -0,0 +1,59 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

ジェネリック型とは?

+

ジェネリック型は 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..615fd3fb5 --- /dev/null +++ b/beta_33_ko.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

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..2337e6a92 --- /dev/null +++ b/beta_33_pl.html @@ -0,0 +1,56 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..4fc8f660b --- /dev/null +++ b/beta_33_pt-br.html @@ -0,0 +1,56 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..3d5dd2525 --- /dev/null +++ b/beta_33_ro.html @@ -0,0 +1,58 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..0205c1e65 --- /dev/null +++ b/beta_33_ru.html @@ -0,0 +1,58 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Что такое обобщённые типы (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..157b3a2a8 --- /dev/null +++ b/beta_33_th.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..485513159 --- /dev/null +++ b/beta_33_tr.html @@ -0,0 +1,56 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..d08162452 --- /dev/null +++ b/beta_33_ua.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Що таке узагальнені типи (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..e622fce59 --- /dev/null +++ b/beta_33_vi.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..b4c43d603 --- /dev/null +++ b/beta_33_zh-cn.html @@ -0,0 +1,57 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

泛型是什么?

+

泛型允许我们不完全定义一个 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..076e703c0 --- /dev/null +++ b/beta_33_zh-tw.html @@ -0,0 +1,56 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

什麼是泛型?

+

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

+

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

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

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..00b884b23 --- /dev/null +++ b/beta_34_es.html @@ -0,0 +1,61 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..4f304207b --- /dev/null +++ b/beta_34_fa.html @@ -0,0 +1,61 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..00f878ad3 --- /dev/null +++ b/beta_34_fr.html @@ -0,0 +1,62 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..885e872b9 --- /dev/null +++ b/beta_34_gr.html @@ -0,0 +1,58 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

Αναπαράσταση του τίποτε

+

Σε άλλες γλώσσες, η λέξη κλειδί 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..77ebfb6e0 --- /dev/null +++ b/beta_34_hu.html @@ -0,0 +1,64 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..c6e02497d --- /dev/null +++ b/beta_34_ie.html @@ -0,0 +1,61 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..d7bad44fc --- /dev/null +++ b/beta_34_it.html @@ -0,0 +1,60 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

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..6d8f01eda --- /dev/null +++ b/beta_34_ja.html @@ -0,0 +1,60 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

値がないことの表現

+

他の言語では、値が存在しないことを表すためにキーワード 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..0f4a22e0f --- /dev/null +++ b/beta_34_ko.html @@ -0,0 +1,61 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

아무 것도 없는 것을 표현하기

+

다른 언어에서 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..696d76c4f --- /dev/null +++ b/beta_34_pl.html @@ -0,0 +1,59 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..51cfa7cbc --- /dev/null +++ b/beta_34_pt-br.html @@ -0,0 +1,57 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..5284f9c9c --- /dev/null +++ b/beta_34_ro.html @@ -0,0 +1,61 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..65f7a6708 --- /dev/null +++ b/beta_34_ru.html @@ -0,0 +1,61 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Представление отсутствия значения (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..61d70689a --- /dev/null +++ b/beta_34_th.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

ตัวแทนของความว่างเปล่า

+

ในภาษาโปรแกรมมิ่งอื่นจะใช้คีย์เวิร์ด 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..5dd448488 --- /dev/null +++ b/beta_34_tr.html @@ -0,0 +1,57 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..2b29c8fc8 --- /dev/null +++ b/beta_34_ua.html @@ -0,0 +1,58 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Представлення відсутності значення

+

В інших мовах ключове слово 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..fae392e3e --- /dev/null +++ b/beta_34_vi.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

Đạ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..7e962b1ba --- /dev/null +++ b/beta_34_zh-cn.html @@ -0,0 +1,58 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

表示空

+

在其他语言中,关键字 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..7c73b3346 --- /dev/null +++ b/beta_34_zh-tw.html @@ -0,0 +1,57 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

空值表示

+

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

+

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

+

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

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

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..4f934df80 --- /dev/null +++ b/beta_35_es.html @@ -0,0 +1,63 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..f9065cfd6 --- /dev/null +++ b/beta_35_fa.html @@ -0,0 +1,62 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..6f167e566 --- /dev/null +++ b/beta_35_fr.html @@ -0,0 +1,62 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..3b2551b92 --- /dev/null +++ b/beta_35_gr.html @@ -0,0 +1,61 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

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..469f78485 --- /dev/null +++ b/beta_35_hu.html @@ -0,0 +1,63 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..239823b5d --- /dev/null +++ b/beta_35_ie.html @@ -0,0 +1,62 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..cd3f5868b --- /dev/null +++ b/beta_35_it.html @@ -0,0 +1,61 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

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..3ee889770 --- /dev/null +++ b/beta_35_ja.html @@ -0,0 +1,61 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

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..76e04f466 --- /dev/null +++ b/beta_35_ko.html @@ -0,0 +1,62 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

옵션

+

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..1d17916af --- /dev/null +++ b/beta_35_pl.html @@ -0,0 +1,61 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..b0e8e8213 --- /dev/null +++ b/beta_35_pt-br.html @@ -0,0 +1,61 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..f71f29966 --- /dev/null +++ b/beta_35_ro.html @@ -0,0 +1,62 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..9ef80106e --- /dev/null +++ b/beta_35_ru.html @@ -0,0 +1,63 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Тип 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..9d3263a91 --- /dev/null +++ b/beta_35_th.html @@ -0,0 +1,61 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..c98c39719 --- /dev/null +++ b/beta_35_tr.html @@ -0,0 +1,60 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..618ecf089 --- /dev/null +++ b/beta_35_ua.html @@ -0,0 +1,61 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Тип 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..6001d5e8e --- /dev/null +++ b/beta_35_vi.html @@ -0,0 +1,61 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..23a92deb3 --- /dev/null +++ b/beta_35_zh-cn.html @@ -0,0 +1,61 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

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..366f78533 --- /dev/null +++ b/beta_35_zh-tw.html @@ -0,0 +1,61 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

選項 (option)

+

Rust 有一個內建的泛型列舉 (generic enum) 稱作 Option,它允許我們表示空值而卻不使用 null

+
enum Option<T> {
+    None,
+    Some(T),
+}
+
+

這種列舉非常常見,它可以在任何地方透過 SomeNone 來產生。

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

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..a87d3f043 --- /dev/null +++ b/beta_36_es.html @@ -0,0 +1,65 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..14ee6c94a --- /dev/null +++ b/beta_36_fa.html @@ -0,0 +1,63 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..09e42d95c --- /dev/null +++ b/beta_36_fr.html @@ -0,0 +1,63 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..c3e226b7f --- /dev/null +++ b/beta_36_gr.html @@ -0,0 +1,62 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

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..fd85b0f6e --- /dev/null +++ b/beta_36_hu.html @@ -0,0 +1,67 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..3da85ac20 --- /dev/null +++ b/beta_36_ie.html @@ -0,0 +1,63 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..2d684cb23 --- /dev/null +++ b/beta_36_it.html @@ -0,0 +1,63 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

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..e2ff47ab3 --- /dev/null +++ b/beta_36_ja.html @@ -0,0 +1,63 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

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..20b2697d1 --- /dev/null +++ b/beta_36_ko.html @@ -0,0 +1,63 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

결과

+

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..381ee720b --- /dev/null +++ b/beta_36_pl.html @@ -0,0 +1,63 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..1f3a995ca --- /dev/null +++ b/beta_36_pt-br.html @@ -0,0 +1,63 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..bd13b7558 --- /dev/null +++ b/beta_36_ro.html @@ -0,0 +1,63 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..b6ed158b7 --- /dev/null +++ b/beta_36_ru.html @@ -0,0 +1,64 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Тип 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..705213289 --- /dev/null +++ b/beta_36_th.html @@ -0,0 +1,62 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..6693033f4 --- /dev/null +++ b/beta_36_tr.html @@ -0,0 +1,61 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..c896eb8fd --- /dev/null +++ b/beta_36_ua.html @@ -0,0 +1,62 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Тип 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..4b90531dd --- /dev/null +++ b/beta_36_vi.html @@ -0,0 +1,62 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..d7903b751 --- /dev/null +++ b/beta_36_zh-cn.html @@ -0,0 +1,63 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

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..f00d00675 --- /dev/null +++ b/beta_36_zh-tw.html @@ -0,0 +1,62 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

結果 (result)

+

Rust 有一個內建的泛型列舉稱作 Result,它允許我們回傳一個可能會失敗的數值。 這是處理錯誤的慣用手法。

+
enum Result<T, E> {
+    Ok(T),
+    Err(E),
+}
+
+

要注意我們的泛型型別有多個參數化型別,它們被逗號隔開。

+

這個列舉非常常見,它可以在任何地方透過 OkErr 來產生。

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

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..a8bc45ad3 --- /dev/null +++ b/beta_37_es.html @@ -0,0 +1,55 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..826194e59 --- /dev/null +++ b/beta_37_fa.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..2e5edb5ca --- /dev/null +++ b/beta_37_fr.html @@ -0,0 +1,55 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..7c5d42687 --- /dev/null +++ b/beta_37_gr.html @@ -0,0 +1,55 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

Ενδεχομένως εσφαλμένη 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..838c072f6 --- /dev/null +++ b/beta_37_hu.html @@ -0,0 +1,55 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..76c621b07 --- /dev/null +++ b/beta_37_ie.html @@ -0,0 +1,55 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..abd579a0b --- /dev/null +++ b/beta_37_it.html @@ -0,0 +1,55 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

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..2cfdd0025 --- /dev/null +++ b/beta_37_ja.html @@ -0,0 +1,55 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

失敗するかもしれない 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..c8514e07f --- /dev/null +++ b/beta_37_ko.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

실패할 수 있는 메인

+

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..8aa9af42c --- /dev/null +++ b/beta_37_pl.html @@ -0,0 +1,55 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..20114c187 --- /dev/null +++ b/beta_37_pt-br.html @@ -0,0 +1,55 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..916a88808 --- /dev/null +++ b/beta_37_ro.html @@ -0,0 +1,55 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..61d3e5a71 --- /dev/null +++ b/beta_37_ru.html @@ -0,0 +1,55 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Возврат результата в 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..7befbfa95 --- /dev/null +++ b/beta_37_th.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..603c86ac4 --- /dev/null +++ b/beta_37_tr.html @@ -0,0 +1,55 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..59c1a9e9b --- /dev/null +++ b/beta_37_ua.html @@ -0,0 +1,55 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Повернення результату з 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..8333f826b --- /dev/null +++ b/beta_37_vi.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..b38d7dd5b --- /dev/null +++ b/beta_37_zh-cn.html @@ -0,0 +1,55 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

可失败的主函数

+

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..b6fb2b4e4 --- /dev/null +++ b/beta_37_zh-tw.html @@ -0,0 +1,55 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

失敗的主函式 (failable main)

+

main 有能力回傳一個 Result

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

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..e7f8e5ef1 --- /dev/null +++ b/beta_38_es.html @@ -0,0 +1,63 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..42f3ab3c9 --- /dev/null +++ b/beta_38_fa.html @@ -0,0 +1,62 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..2aea7c251 --- /dev/null +++ b/beta_38_fr.html @@ -0,0 +1,62 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..4015d148e --- /dev/null +++ b/beta_38_gr.html @@ -0,0 +1,63 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

Κομψός χειρισμός σφαλμάτων

+

Οι ενδεχομένως εσφαλμένοι τύποι δεδομένων 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..3b69eec0f --- /dev/null +++ b/beta_38_hu.html @@ -0,0 +1,63 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..7a739db6d --- /dev/null +++ b/beta_38_ie.html @@ -0,0 +1,62 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..90d4f3e93 --- /dev/null +++ b/beta_38_it.html @@ -0,0 +1,62 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

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..d2f314eb3 --- /dev/null +++ b/beta_38_ja.html @@ -0,0 +1,63 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

簡潔なエラー処理

+

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..72d2d0dce --- /dev/null +++ b/beta_38_ko.html @@ -0,0 +1,62 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

우아한 오류 처리

+

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..0138ac494 --- /dev/null +++ b/beta_38_pl.html @@ -0,0 +1,62 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..523a22776 --- /dev/null +++ b/beta_38_pt-br.html @@ -0,0 +1,62 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..e288c0bb5 --- /dev/null +++ b/beta_38_ro.html @@ -0,0 +1,62 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..698b65d45 --- /dev/null +++ b/beta_38_ru.html @@ -0,0 +1,62 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Элегантная обработка ошибок

+

Тип 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..ab5e9c791 --- /dev/null +++ b/beta_38_th.html @@ -0,0 +1,62 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

การจัดการ 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..a383fbb2c --- /dev/null +++ b/beta_38_tr.html @@ -0,0 +1,60 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..bb20be334 --- /dev/null +++ b/beta_38_ua.html @@ -0,0 +1,62 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Елегантна обробка помилок

+

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..a4524b9bd --- /dev/null +++ b/beta_38_vi.html @@ -0,0 +1,62 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..3e0bc05d3 --- /dev/null +++ b/beta_38_zh-cn.html @@ -0,0 +1,63 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

优雅地错误处理

+

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..7785895b2 --- /dev/null +++ b/beta_38_zh-tw.html @@ -0,0 +1,62 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

優雅的錯誤處理

+

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_en.html b/beta_39_en.html new file mode 100644 index 000000000..d6e4c3de5 --- /dev/null +++ b/beta_39_en.html @@ -0,0 +1,77 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..27b015bcb --- /dev/null +++ b/beta_39_es.html @@ -0,0 +1,78 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..a714edc96 --- /dev/null +++ b/beta_39_fa.html @@ -0,0 +1,77 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..878cee75d --- /dev/null +++ b/beta_39_fr.html @@ -0,0 +1,80 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..e364dc5ab --- /dev/null +++ b/beta_39_gr.html @@ -0,0 +1,76 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

Τσαπατσούλικος χειρισμός των `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..9180471b2 --- /dev/null +++ b/beta_39_hu.html @@ -0,0 +1,80 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..77f22df35 --- /dev/null +++ b/beta_39_ie.html @@ -0,0 +1,77 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..7f9d91f92 --- /dev/null +++ b/beta_39_it.html @@ -0,0 +1,77 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

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..7b0eb6b5c --- /dev/null +++ b/beta_39_ja.html @@ -0,0 +1,78 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

やっつけな 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..e3b788c9f --- /dev/null +++ b/beta_39_ko.html @@ -0,0 +1,77 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

추한 옵션/결과 처리

+

간단한 코드를 짤 때에도 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..779af8a41 --- /dev/null +++ b/beta_39_pl.html @@ -0,0 +1,74 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..439b718fe --- /dev/null +++ b/beta_39_pt-br.html @@ -0,0 +1,76 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..8672c6013 --- /dev/null +++ b/beta_39_ro.html @@ -0,0 +1,77 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..604d4caff --- /dev/null +++ b/beta_39_ru.html @@ -0,0 +1,77 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Грязная обработка 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..5188fdb23 --- /dev/null +++ b/beta_39_th.html @@ -0,0 +1,76 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

การจัดการ 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..e512272eb --- /dev/null +++ b/beta_39_tr.html @@ -0,0 +1,77 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..dee82fc57 --- /dev/null +++ b/beta_39_ua.html @@ -0,0 +1,76 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Брудна обробка 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..f91a37c3b --- /dev/null +++ b/beta_39_vi.html @@ -0,0 +1,76 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..851bce6fb --- /dev/null +++ b/beta_39_zh-cn.html @@ -0,0 +1,78 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

丑陋的 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..719133059 --- /dev/null +++ b/beta_39_zh-tw.html @@ -0,0 +1,76 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

醜陋的選項 (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_en.html b/beta_40_en.html new file mode 100644 index 000000000..3f63f5250 --- /dev/null +++ b/beta_40_en.html @@ -0,0 +1,65 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_40_es.html b/beta_40_es.html new file mode 100644 index 000000000..881708cf2 --- /dev/null +++ b/beta_40_es.html @@ -0,0 +1,66 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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:

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

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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_40_fr.html b/beta_40_fr.html new file mode 100644 index 000000000..cbc4cee93 --- /dev/null +++ b/beta_40_fr.html @@ -0,0 +1,65 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_40_gr.html b/beta_40_gr.html new file mode 100644 index 000000000..cbb930659 --- /dev/null +++ b/beta_40_gr.html @@ -0,0 +1,62 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

Ανύσματα (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..188ed2219 --- /dev/null +++ b/beta_40_hu.html @@ -0,0 +1,68 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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:

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

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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_40_it.html b/beta_40_it.html new file mode 100644 index 000000000..1018ce66e --- /dev/null +++ b/beta_40_it.html @@ -0,0 +1,62 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

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:

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

ベクタ型

+

最も有用なジェネリック型のいくつかはコレクション型です。 +ベクタは構造体 Vec で表される可変サイズのリストです。

+

マクロ vec! を使えば、手動で構築するよりも簡単にベクタを生成できます。

+

Vec にはメソッド iter() があります。 +これによってベクタからイテレータを生成すれば、ベクタを簡単に for ループに入れることができます。

+

メモリに関する詳細:

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

벡터

+

가장 유용한 generic 자료형들 중 하나가 collection 자료형입니다. +vector는 Vec struct로 표현되는 가변 크기의 리스트입니다.

+

vec! macro는 vector를 수동으로 일일이 만드는 대신, 손쉽게 생성할 수 있게 해줍니다.

+

Vec는 vector를 for 반복문에 손쉽게 넣을 수 있도록 +vector로부터 반복자를 생성할 수 있는 iter() 메소드를 갖고 있습니다.

+

메모리 상세:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_40_pl.html b/beta_40_pl.html new file mode 100644 index 000000000..82fc9be37 --- /dev/null +++ b/beta_40_pl.html @@ -0,0 +1,63 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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:

+ + +
+
+ +
+
+ + \ 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..98041f956 --- /dev/null +++ b/beta_40_pt-br.html @@ -0,0 +1,62 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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:

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

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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_40_ru.html b/beta_40_ru.html new file mode 100644 index 000000000..b0d305dcb --- /dev/null +++ b/beta_40_ru.html @@ -0,0 +1,62 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Векторы

+

Одни из самых полезных обобщённых типов - это коллекции. Структура Vec - это динамически изменяемый список.

+

Макрос vec! позволяет удобно создавать векторы, перечисляя его элементы.

+

Vec имеет метод iter(), который создаёт итератор по элементам вектора, позволяя легко использовать вектор в цикле for.

+

Детали для запоминания:

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

Vectors

+

generic type ที่มีประโยชน์ที่สุดประเภทหนึ่งคือพวกที่เป็นคอลเล็คชัน vector คือหนึ่งในนั้น มันเป็นลิสต์ที่มีขนาดแปรผันได้ มาในรูปของ struct Vec

+

มาโคร vec! ใช้สร้าง vector แบบง่ายๆ แทนที่จะไปสร้างเองด้วยมือ

+

Vec มาพร้อมเมธอด iter() ใช้สร้างตัววนซ้ำเวลาเอาไปใส่ใน for ลูป

+

รายละเอียดหน่วยความจำ:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_40_tr.html b/beta_40_tr.html new file mode 100644 index 000000000..b02d0c974 --- /dev/null +++ b/beta_40_tr.html @@ -0,0 +1,62 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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ı:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_40_ua.html b/beta_40_ua.html new file mode 100644 index 000000000..e17ee3986 --- /dev/null +++ b/beta_40_ua.html @@ -0,0 +1,62 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Вектори

+

Одні з найбільш корисних узагальнених типів - колекції. Вектор - це список елементів змінної довжини, представлений структурою Vec. +Вектор краще створювати за допомогою макросу vec!, аніж вручну.

+

Vec має метод iter(), котрий створює ітератор на базі вектора і дозволяє використовувати вектор в циклі for.

+

Деталі роботи за памяттю:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_40_vi.html b/beta_40_vi.html new file mode 100644 index 000000000..5a302774b --- /dev/null +++ b/beta_40_vi.html @@ -0,0 +1,62 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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ớ:

+ + +
+
+ +
+
+ + \ 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..4f1aaccf2 --- /dev/null +++ b/beta_40_zh-cn.html @@ -0,0 +1,62 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

Vectors

+

一些经常使用的泛型是集合类型。一个 vector 是可变长度的元素集合,以 Vec 结构表示。

+

比起手动构建,宏 vec! 让我们可以轻松地创建 vector。

+

Vec 有一个形如 iter() 的方法可以为一个 vector 创建迭代器,这允许我们可以轻松地将 vector 用到 for 循环中去。

+

内存细节:

+ + +
+
+ +
+
+ + \ 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..06b3514c4 --- /dev/null +++ b/beta_40_zh-tw.html @@ -0,0 +1,62 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

向量 (vectors)

+

一些非常有用的泛型型別即是集合型別。一個向量是一個可變長度的物品清單 (list),用結構 (struct) Vec 來表示。

+

巨集 vec! 讓我們可以簡單的產生向量,而不用手動建立。

+

Vec 有個方法叫 iter(),它可以產生一個向量迭代器,讓我們可以簡單的把一個向量放到 for 迴圈裡。

+

記憶體細節:

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

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..0e7fb6cde --- /dev/null +++ b/beta_41_es.html @@ -0,0 +1,56 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..57e8f505f --- /dev/null +++ b/beta_41_fa.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..79361c9eb --- /dev/null +++ b/beta_41_fr.html @@ -0,0 +1,57 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..4a6e69caa --- /dev/null +++ b/beta_41_gr.html @@ -0,0 +1,53 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

Κεφάλαιο 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..518978817 --- /dev/null +++ b/beta_41_hu.html @@ -0,0 +1,56 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..7d58d3d20 --- /dev/null +++ b/beta_41_ie.html @@ -0,0 +1,57 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..357571bc0 --- /dev/null +++ b/beta_41_it.html @@ -0,0 +1,56 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

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..e69a0ed8a --- /dev/null +++ b/beta_41_ja.html @@ -0,0 +1,57 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

第 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..f0bb6584a --- /dev/null +++ b/beta_41_ko.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

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..91d31e3b0 --- /dev/null +++ b/beta_41_pl.html @@ -0,0 +1,55 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..9b8c45f44 --- /dev/null +++ b/beta_41_pt-br.html @@ -0,0 +1,53 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..a19feb3c6 --- /dev/null +++ b/beta_41_ro.html @@ -0,0 +1,56 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..fa8f1b206 --- /dev/null +++ b/beta_41_ru.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Глава 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..d6de0f6cd --- /dev/null +++ b/beta_41_th.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

บทที่ 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..b024b5007 --- /dev/null +++ b/beta_41_tr.html @@ -0,0 +1,53 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..301df7782 --- /dev/null +++ b/beta_41_ua.html @@ -0,0 +1,54 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Розділ 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..4477c3e16 --- /dev/null +++ b/beta_41_vi.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..bcc4df9e9 --- /dev/null +++ b/beta_41_zh-cn.html @@ -0,0 +1,55 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

第四章 - 总结

+

在这一章中,我们了解了泛型给我们带来的强大功能!如果你还不完全知道该如何使用这一切, +别担心,仅仅是了解这些将会在代码中反复出现的中心思想就足够了。我们的功能在日趋强大! +在下一章中,我们将讨论 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..83cd1d8ab --- /dev/null +++ b/beta_41_zh-tw.html @@ -0,0 +1,54 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

第四章 - 總結

+

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

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_43_en.html b/beta_43_en.html new file mode 100644 index 000000000..ab052d9af --- /dev/null +++ b/beta_43_en.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..264528dc9 --- /dev/null +++ b/beta_43_es.html @@ -0,0 +1,55 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..6a9adff47 --- /dev/null +++ b/beta_43_fa.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..1cc01b0a3 --- /dev/null +++ b/beta_43_fr.html @@ -0,0 +1,57 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..e0508aed7 --- /dev/null +++ b/beta_43_gr.html @@ -0,0 +1,55 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

Κυριότητα

+

Η δημιουργία μίας μεταβλητής και η πρόσδεσή της σε κάποιο όνομα δημιουργεί έναν πόρο μνήμης, τον οποίο ο μεταφραστής της 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..0a047e046 --- /dev/null +++ b/beta_43_hu.html @@ -0,0 +1,57 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..daa157fd2 --- /dev/null +++ b/beta_43_ie.html @@ -0,0 +1,56 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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_ja.html b/beta_43_ja.html new file mode 100644 index 000000000..9546aaa3b --- /dev/null +++ b/beta_43_ja.html @@ -0,0 +1,56 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

所有権

+

型のインスタンスを作成して変数に束縛するとメモリリソースが作成され、そのすべてのライフタイムに渡って 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..81be3b1de --- /dev/null +++ b/beta_43_ko.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

소유권

+

자료형을 인스턴스화 하여 변수명에 할당(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..67b82edcd --- /dev/null +++ b/beta_43_pl.html @@ -0,0 +1,56 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..28ab8be71 --- /dev/null +++ b/beta_43_pt-br.html @@ -0,0 +1,55 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..b5231418a --- /dev/null +++ b/beta_43_ro.html @@ -0,0 +1,56 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..2c8a12856 --- /dev/null +++ b/beta_43_ru.html @@ -0,0 +1,55 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Владение (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..ba71d179a --- /dev/null +++ b/beta_43_th.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

ความเป็นเจ้าของ

+

การสร้างอินสแตนซ์สัก 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..9532c9db1 --- /dev/null +++ b/beta_43_tr.html @@ -0,0 +1,55 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..329840e0d --- /dev/null +++ b/beta_43_ua.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Володіння

+

Створення екземпляру типу та зв'язування його з іменем змінної створює ресурс пам'яті ресурс пам'яті, який компілятор 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..42942e333 --- /dev/null +++ b/beta_43_vi.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..1d6cb5ec1 --- /dev/null +++ b/beta_43_zh-cn.html @@ -0,0 +1,55 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

所有权

+

实例化一个类型并且将其绑定到变量名上将会创建一些内存资源,而这些内存资源将会在其整个生命周期中被 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..5054a503f --- /dev/null +++ b/beta_43_zh-tw.html @@ -0,0 +1,55 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

擁有權 (ownership)

+

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

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

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:

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

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:

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

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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_44_fr.html b/beta_44_fr.html new file mode 100644 index 000000000..0e1946191 --- /dev/null +++ b/beta_44_fr.html @@ -0,0 +1,62 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_44_gr.html b/beta_44_gr.html new file mode 100644 index 000000000..3cef30388 --- /dev/null +++ b/beta_44_gr.html @@ -0,0 +1,60 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

Διαχείριση πόρων βάσει ορατότητας

+

Η Rust χρησιμοποιεί το τέλος μίας ορατότητας ως το μέρος όπου αποδεσμεύει και αποδομεί έναν πόρο. Ο όρος γι' αυτήν την αποδέσμευση και αποδόμηση είναι «απόρρίψη».

+

Λεπτομέρειες:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_44_hu.html b/beta_44_hu.html new file mode 100644 index 000000000..a85fc721f --- /dev/null +++ b/beta_44_hu.html @@ -0,0 +1,62 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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:

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

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:

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

スコープベースのリソース管理

+

Rust では、スコープの終わりをリソースのデストラクトと解放の場所として使用します。

+

このデストラクトと解放のことをドロップ (drop) と呼びます。

+

メモリの詳細:

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

범위 기반 리소스 관리

+

Rust는 범위(scope)가 끝나는 곳에서 리소스를 소멸하고 할당 해제합니다.

+

이 소멸과 할당 해제를 의미하는 용어로 drop을 사용합니다.

+

메모리 상세:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_44_pl.html b/beta_44_pl.html new file mode 100644 index 000000000..b180b4486 --- /dev/null +++ b/beta_44_pl.html @@ -0,0 +1,64 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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:

+ + +
+
+ +
+
+ + \ 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..6691b0064 --- /dev/null +++ b/beta_44_pt-br.html @@ -0,0 +1,61 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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:

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

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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_44_ru.html b/beta_44_ru.html new file mode 100644 index 000000000..555cb5981 --- /dev/null +++ b/beta_44_ru.html @@ -0,0 +1,61 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Управление ресурсами на основе области видимости

+

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

+

Термин для обозначения деструктора и освобождения ресурсов/памяти называется drop (дроп или удаление).

+

Детали для запоминания:

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

การจัดการรีซอร์สโดยอิงตามขอบเขตข้อมูล

+

Rust ใช้จุดสิ้นสุดของขอบเขตเป็นจุดในการ ทำลายโครงสร้าง(deconstruct) และ คืนหน่วยความจำ(deallocate)

+

ตอนนี้เราจะเรียกการ ทำลายโครงสร้าง และการคืนหน่วยความจำนี้ว่า drop

+

รายละเอียดหน่วยความจำ:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_44_tr.html b/beta_44_tr.html new file mode 100644 index 000000000..b2ed45f63 --- /dev/null +++ b/beta_44_tr.html @@ -0,0 +1,61 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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ı:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_44_ua.html b/beta_44_ua.html new file mode 100644 index 000000000..0d738050b --- /dev/null +++ b/beta_44_ua.html @@ -0,0 +1,64 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Управління даними на основі розміру.

+

Rust використовує кінець області видимості як місце для деконструкції та +перерозподілу ресурсу.

+

Термін для такої деконструкції та вивільнення називається drop (скидання).

+

Деталі роботи за памяттю:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_44_vi.html b/beta_44_vi.html new file mode 100644 index 000000000..8161824c2 --- /dev/null +++ b/beta_44_vi.html @@ -0,0 +1,62 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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ớ:

+ + +
+
+ +
+
+ + \ 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..9106f0cef --- /dev/null +++ b/beta_44_zh-cn.html @@ -0,0 +1,60 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

基于域的资源管理

+

Rust 将使用资源最后被使用的位置或者一个函数域的结束来作为资源被析构和释放的地方。 此处析构和释放的概念被称之为 drop(丢弃)。

+

内存细节:

+ + +
+
+ +
+
+ + \ 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..13d5a17d9 --- /dev/null +++ b/beta_44_zh-tw.html @@ -0,0 +1,61 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

範圍 (scope-based) 資源管理

+

Rust 以範圍的邊界來解構及回收資源。 +這類解構及回收的專有名詞稱作徹下 (drop)。

+

記憶體細節:

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

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:

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

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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_45_fa.html b/beta_45_fa.html new file mode 100644 index 000000000..8810109f7 --- /dev/null +++ b/beta_45_fa.html @@ -0,0 +1,60 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_45_fr.html b/beta_45_fr.html new file mode 100644 index 000000000..9e87db573 --- /dev/null +++ b/beta_45_fr.html @@ -0,0 +1,61 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_45_gr.html b/beta_45_gr.html new file mode 100644 index 000000000..ab11d4eae --- /dev/null +++ b/beta_45_gr.html @@ -0,0 +1,60 @@ + + + + Ξενάγηση στη 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..2ff8d40ff --- /dev/null +++ b/beta_45_hu.html @@ -0,0 +1,62 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_45_ie.html b/beta_45_ie.html new file mode 100644 index 000000000..42d188037 --- /dev/null +++ b/beta_45_ie.html @@ -0,0 +1,60 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

On Cade Secun Hierarchie

+

Quande un struct es lassat cader, su elementes infantal cade in prim. +Detallies pri memorie:

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

ドロップは階層的

+

構造体がドロップされると、まず構造体自体がドロップされ、次にその子要素が個別に削除されます。

+

メモリの詳細:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_45_ko.html b/beta_45_ko.html new file mode 100644 index 000000000..5010cf744 --- /dev/null +++ b/beta_45_ko.html @@ -0,0 +1,60 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

Dropping은 계층적이다

+

struct가 drop 될 때는, struct 자신이 제일 먼저 drop 되고, 이후에 그 자식들이 각각 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..9197355ce --- /dev/null +++ b/beta_45_pl.html @@ -0,0 +1,60 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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:

+ + +
+
+ +
+
+ + \ 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..6226a7791 --- /dev/null +++ b/beta_45_pt-br.html @@ -0,0 +1,60 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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:

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

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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_45_ru.html b/beta_45_ru.html new file mode 100644 index 000000000..a68888168 --- /dev/null +++ b/beta_45_ru.html @@ -0,0 +1,60 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Иерархическое удаление (Dropping is Hierarchical)

+

Когда структура drop'ается, в начале происходит 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..f542759fd --- /dev/null +++ b/beta_45_th.html @@ -0,0 +1,60 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

การ drop ตามลำดับชั้น

+

เมื่อ struct ถูก drop ลง ตัว struct เองจะถูก drop ก่อน จากนั้นลูกๆของมันจึงจะ 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..9c4a3fd8d --- /dev/null +++ b/beta_45_tr.html @@ -0,0 +1,60 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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ı:

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

Видалення відбувається по іерархії

+

Якщо ви видаляте якусь структуру, то спочатку видаляється сама структура, а потім дочірні елементи, потім дочірні дочірніх. Тобто зверху вниз.

+

Деталі роботи за памяттю:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_45_vi.html b/beta_45_vi.html new file mode 100644 index 000000000..30e75da86 --- /dev/null +++ b/beta_45_vi.html @@ -0,0 +1,60 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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ớ:

+ + +
+
+ +
+
+ + \ 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..2d9ba4f73 --- /dev/null +++ b/beta_45_zh-cn.html @@ -0,0 +1,60 @@ + + + + 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..f031d2a98 --- /dev/null +++ b/beta_45_zh-tw.html @@ -0,0 +1,60 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

徹下是有階級的

+

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

+

記憶體細節:

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

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:

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

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:

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

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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_46_fr.html b/beta_46_fr.html new file mode 100644 index 000000000..9f6fb4ed8 --- /dev/null +++ b/beta_46_fr.html @@ -0,0 +1,60 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_46_gr.html b/beta_46_gr.html new file mode 100644 index 000000000..8ea8772df --- /dev/null +++ b/beta_46_gr.html @@ -0,0 +1,61 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

Μεταβίβαση κυριότητας

+

Όταν ένας ιδιοκτήτης δίδεται ως όρισμα σε μία συνάρτηση, η κυριότητα μεταφέρεται στην παράμετρο της συνάρτησης.

+

Μετά από μία μεταβίβαση η μεταβλητή στην αρχική συνάρτηση δεν μπορεί να χρησιμοποιηθεί πλέον.

+

Λεπτομέρειες:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_46_hu.html b/beta_46_hu.html new file mode 100644 index 000000000..8bbd5afa3 --- /dev/null +++ b/beta_46_hu.html @@ -0,0 +1,62 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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:

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

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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_46_ja.html b/beta_46_ja.html new file mode 100644 index 000000000..680fd53d1 --- /dev/null +++ b/beta_46_ja.html @@ -0,0 +1,60 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

所有権の移動

+

所有者が関数の実引数として渡されると、所有権は関数の仮引数に移動 (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..b56d751aa --- /dev/null +++ b/beta_46_ko.html @@ -0,0 +1,60 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

소유권 이전

+

owner가 함수의 인자로 전달되면, ownership은 그 함수의 매개변수로 이동(move)됩니다.

+

move 이후에는 원래 함수에 있던 변수는 더 이상 사용할 수 없습니다.

+

메모리 상세:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_46_pl.html b/beta_46_pl.html new file mode 100644 index 000000000..a835594e8 --- /dev/null +++ b/beta_46_pl.html @@ -0,0 +1,60 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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:

+ + +
+
+ +
+
+ + \ 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..aa6337896 --- /dev/null +++ b/beta_46_pt-br.html @@ -0,0 +1,60 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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:

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

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 paramentrul funcției. +După o cedare a proprietății, variabila din funcția originală nu mai poate fi folosită.

+

Detalii despre memorie:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_46_ru.html b/beta_46_ru.html new file mode 100644 index 000000000..a8eb14a0e --- /dev/null +++ b/beta_46_ru.html @@ -0,0 +1,60 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Передача владения (Moving Ownership)

+

Когда владелец ресурса используется в качестве аргумента функции, владение передаётся параметру этой функции.

+

После передачи (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..d4c875e86 --- /dev/null +++ b/beta_46_th.html @@ -0,0 +1,60 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

การเปลี่ยนเจ้าของ

+

มื่อเจ้าของถูกส่งผ่านเป็นอาร์กิวเมนต์ไปยังฟังก์ชันความเป็นเจ้าของจะถูกย้ายไปที่พารามิเตอร์ฟังก์ชัน

+

หลังจาก ย้าย ไปแล้ว ตัวแปรในฟังก์ชันเดิมจะไม่สามารถใช้งานได้อีกต่อไป

+

รายละเอียดหน่วยความจำ:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_46_tr.html b/beta_46_tr.html new file mode 100644 index 000000000..5795c874c --- /dev/null +++ b/beta_46_tr.html @@ -0,0 +1,60 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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ı:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_46_ua.html b/beta_46_ua.html new file mode 100644 index 000000000..64f3464e5 --- /dev/null +++ b/beta_46_ua.html @@ -0,0 +1,60 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Передача володіння

+

Коли власник передає дані як аргумент у функцію, то до аргументу також переходить право власності.

+

Після передачі володіння, минолого власника (тобто наприклад змінну) використовувати не можна, через те що володіння передано іншому власнику.

+

Деталі роботи за памяттю:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_46_vi.html b/beta_46_vi.html new file mode 100644 index 000000000..a6861b677 --- /dev/null +++ b/beta_46_vi.html @@ -0,0 +1,60 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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ớ:

+ + +
+
+ +
+
+ + \ 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..879408951 --- /dev/null +++ b/beta_46_zh-cn.html @@ -0,0 +1,59 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

移交所有权

+

将所有者作为参数传递给函数时,其所有权将移交至该函数的参数。 在一次移动后,原函数中的变量将无法再被使用。

+

内存细节:

+ + +
+
+ +
+
+ + \ 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..791dd70bc --- /dev/null +++ b/beta_46_zh-tw.html @@ -0,0 +1,60 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

擁有權轉移

+

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

+

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

+

記憶體細節:

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

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..1a4adb2e7 --- /dev/null +++ b/beta_47_es.html @@ -0,0 +1,55 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..d631606d3 --- /dev/null +++ b/beta_47_fa.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..ac53818f8 --- /dev/null +++ b/beta_47_fr.html @@ -0,0 +1,55 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..11cd12d10 --- /dev/null +++ b/beta_47_gr.html @@ -0,0 +1,55 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

Επιστροφή κυριότητας

+

Η κυριότητα μπορεί να επιστραφεί και από κάποια συνάρτησης

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_47_hu.html b/beta_47_hu.html new file mode 100644 index 000000000..871264184 --- /dev/null +++ b/beta_47_hu.html @@ -0,0 +1,55 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..2052f1129 --- /dev/null +++ b/beta_47_ie.html @@ -0,0 +1,55 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

Retornar Proprietá

+

On posse anc retornar proprietá tra un function.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_47_ja.html b/beta_47_ja.html new file mode 100644 index 000000000..786c9b57e --- /dev/null +++ b/beta_47_ja.html @@ -0,0 +1,55 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

所有権を返す

+

所有権を関数から返すこともできます。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_47_ko.html b/beta_47_ko.html new file mode 100644 index 000000000..86a0f586e --- /dev/null +++ b/beta_47_ko.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

소유권 리턴하기

+

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..134e4e8dc --- /dev/null +++ b/beta_47_pl.html @@ -0,0 +1,55 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..be884a39d --- /dev/null +++ b/beta_47_pt-br.html @@ -0,0 +1,55 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..601deac51 --- /dev/null +++ b/beta_47_ro.html @@ -0,0 +1,55 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..984aa9a5c --- /dev/null +++ b/beta_47_ru.html @@ -0,0 +1,55 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Возвращение владения (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..62547e91d --- /dev/null +++ b/beta_47_th.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

การกลับมาเป็นเจ้าของ

+

แน่นอนว่า ความเป็นเจ้าของก็สามารถได้คืนจากฟังก์ชันได้

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_47_tr.html b/beta_47_tr.html new file mode 100644 index 000000000..431decc3d --- /dev/null +++ b/beta_47_tr.html @@ -0,0 +1,55 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..762c6af2b --- /dev/null +++ b/beta_47_ua.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Повернення володіння

+

При поверненнф значення з функції, повертається також і володіння. +Тому володіння даними отримує той, хто прийме повернуті значення, +будь то змінна, чи параметр іншої функції.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_47_vi.html b/beta_47_vi.html new file mode 100644 index 000000000..1c7b95480 --- /dev/null +++ b/beta_47_vi.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..95b025c59 --- /dev/null +++ b/beta_47_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_47_zh-tw.html b/beta_47_zh-tw.html new file mode 100644 index 000000000..77fd49773 --- /dev/null +++ b/beta_47_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_48_en.html b/beta_48_en.html new file mode 100644 index 000000000..2d9fb7166 --- /dev/null +++ b/beta_48_en.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..e40d4863d --- /dev/null +++ b/beta_48_es.html @@ -0,0 +1,56 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..f8215b7fe --- /dev/null +++ b/beta_48_fa.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..371244723 --- /dev/null +++ b/beta_48_fr.html @@ -0,0 +1,56 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..e944e7157 --- /dev/null +++ b/beta_48_gr.html @@ -0,0 +1,55 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

Δανεισμός κυριότητας μέσω αναφορών

+

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

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_48_hu.html b/beta_48_hu.html new file mode 100644 index 000000000..535c72938 --- /dev/null +++ b/beta_48_hu.html @@ -0,0 +1,57 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..70e7d3687 --- /dev/null +++ b/beta_48_ie.html @@ -0,0 +1,56 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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_ja.html b/beta_48_ja.html new file mode 100644 index 000000000..599765275 --- /dev/null +++ b/beta_48_ja.html @@ -0,0 +1,56 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

参照による所有権の借用

+

参照は、& 演算子を使ってリソースへのアクセスを借用できるようにしてくれます。

+

参照も他のリソースと同様にドロップされます。

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

참조로 소유권 대여하기

+

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

+

참조도 다른 리소스와 마찬가지로 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..2b56c69ed --- /dev/null +++ b/beta_48_pl.html @@ -0,0 +1,57 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..d3612922b --- /dev/null +++ b/beta_48_pt-br.html @@ -0,0 +1,56 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..c8d6c5092 --- /dev/null +++ b/beta_48_ro.html @@ -0,0 +1,56 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

Î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..342684bed --- /dev/null +++ b/beta_48_ru.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Заимствование во владение с помощью ссылок

+

Ссылки позволяют нам заимствовать доступ к ресурсу с помощью оператора &.

+

Ссылки 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..86f516f58 --- /dev/null +++ b/beta_48_th.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

การยืมความเป็นเจ้าของด้วยวิธีอ้างอิง

+

การอ้างอิงถึงช่วยให้เรายืมการเข้าถึงรีซอร์สได้ด้วยการใช้ตัวดำเนินการ &

+

การอ้างอิงก็สามารถ 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..8f5e24535 --- /dev/null +++ b/beta_48_tr.html @@ -0,0 +1,56 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..d718466d7 --- /dev/null +++ b/beta_48_ua.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Отримання володіння через посилання

+

Володіння також можна передати за допомогою посилання, для цього треба перед змінною +поставити оператор &.

+

Посилання видаляються з пам'яті так само як і будь-які інші ресурси даних.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_48_vi.html b/beta_48_vi.html new file mode 100644 index 000000000..c8f42e614 --- /dev/null +++ b/beta_48_vi.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..7353dd372 --- /dev/null +++ b/beta_48_zh-cn.html @@ -0,0 +1,56 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

使用引用借用所有权

+

引用允许我们通过 & 操作符来借用对一个资源的访问权限。 +引用也会如同其他资源一样被释放。

+ +
+
+ +
+
+ + \ 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..36fafcd38 --- /dev/null +++ b/beta_48_zh-tw.html @@ -0,0 +1,56 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

從參考 (references) 借擁有權

+

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

+

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

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

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:

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

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:

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

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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_49_fr.html b/beta_49_fr.html new file mode 100644 index 000000000..6e4b67a0c --- /dev/null +++ b/beta_49_fr.html @@ -0,0 +1,63 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_49_gr.html b/beta_49_gr.html new file mode 100644 index 000000000..6835a8b3c --- /dev/null +++ b/beta_49_gr.html @@ -0,0 +1,60 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

Μεταβίβαση επικαρπίας κυριότητας («μεταβλητός δανεισμός») μέσω αναφορών

+

Μπορούμε επίσης να ζητήσουμε μεταβλητή πρόσβαση σε κάποιον πόρο μέσω του τελεστή &mut.

+

Μία ιδιοκτήτρια πόρου δεν μπορεί ούτε να μετακινηθεί ούτε να μεταβληθεί ενώ είναι μεταβλητά δανεισμένη.

+

Λεπτομέρειες:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_49_hu.html b/beta_49_hu.html new file mode 100644 index 000000000..93e7dbe43 --- /dev/null +++ b/beta_49_hu.html @@ -0,0 +1,62 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_49_ie.html b/beta_49_ie.html new file mode 100644 index 000000000..784c28887 --- /dev/null +++ b/beta_49_ie.html @@ -0,0 +1,60 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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:

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

参照による所有権の可変な借用

+

&mut 演算子を使えば、リソースへの変更可能なアクセスを借用することもできます。

+

リソースの所有者は、可変な借用の間は移動や変更ができません。

+

メモリの詳細:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_49_ko.html b/beta_49_ko.html new file mode 100644 index 000000000..9bea121a7 --- /dev/null +++ b/beta_49_ko.html @@ -0,0 +1,60 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

참조로 변경 가능한 소유권 대여하기

+

&mut 연산자를 통해 리소스에 대한 mutable한 접근 권한도 대여할 수 있습니다.

+

리소스의 owner는 mutable하게 대여된 상태에서는 move 되거나 변경될 수 없습니다.

+

메모리 상세:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_49_pl.html b/beta_49_pl.html new file mode 100644 index 000000000..0d466d296 --- /dev/null +++ b/beta_49_pl.html @@ -0,0 +1,60 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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:

+ + +
+
+ +
+
+ + \ 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..2b98e30ac --- /dev/null +++ b/beta_49_pt-br.html @@ -0,0 +1,60 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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:

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

Î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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_49_ru.html b/beta_49_ru.html new file mode 100644 index 000000000..cbaf0a674 --- /dev/null +++ b/beta_49_ru.html @@ -0,0 +1,60 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Заимствование во владение с правами на изменение (Mutable Borrow)

+

Мы также можем заимствовать доступ к ресурсу с правами на его изменение с помощью оператора &mut.

+

Оригинальный владелец ресурса не может быть еще раз передан (move'нут) или одновременно изменён (для&mut ссылки), все время пока он заимствован mut'абельно другой функцией/переменной.

+

Детали для запоминания:

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

การยืมความเป็นเจ้าของ กับของที่เปลี่ยนแปลงค่าได้ ด้วยวิธีอ้างอิง

+

นอกจากนี้เรายังสามารถยืมการเข้าถึงรีซอร์สที่เปลี่ยนค่าได้ด้วยตัวดำเนินการ &mut

+

โดยที่ตัวเจ้าของเองจะไม่สามารถย้ายหรือแก้ไขอะไรได้ในขณะที่ถูกยืม

+

รายละเอียดหน่วยความจำ:

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

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ı:

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

Отримання володіння через мутабельні посилання

+

Якщо ви хочете отримати володіння у мутабельному посиланні, то замість оператора & треба писати &mut.

+

Ресурс не можна змінювати чи переміщувати, поки на нього вказує мутабельне посилання.

+

Деталі роботи за памяттю:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_49_vi.html b/beta_49_vi.html new file mode 100644 index 000000000..587128b48 --- /dev/null +++ b/beta_49_vi.html @@ -0,0 +1,60 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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ớ:

+ + +
+
+ +
+
+ + \ 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..aa4f4677a --- /dev/null +++ b/beta_49_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_49_zh-tw.html b/beta_49_zh-tw.html new file mode 100644 index 000000000..2f2d80b36 --- /dev/null +++ b/beta_49_zh-tw.html @@ -0,0 +1,60 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

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

+

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

+

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

+

記憶體細節:

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

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..122200bc7 --- /dev/null +++ b/beta_50_es.html @@ -0,0 +1,56 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..31da472e0 --- /dev/null +++ b/beta_50_fa.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..9bb4969d8 --- /dev/null +++ b/beta_50_fr.html @@ -0,0 +1,58 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..d8f187c42 --- /dev/null +++ b/beta_50_gr.html @@ -0,0 +1,56 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

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..973f3e3e9 --- /dev/null +++ b/beta_50_hu.html @@ -0,0 +1,57 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..1cb4bd6fa --- /dev/null +++ b/beta_50_ie.html @@ -0,0 +1,57 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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_ja.html b/beta_50_ja.html new file mode 100644 index 000000000..1b5875407 --- /dev/null +++ b/beta_50_ja.html @@ -0,0 +1,56 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

参照外し

+

&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..e86639eab --- /dev/null +++ b/beta_50_ko.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

역참조

+

&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..493c6bc2f --- /dev/null +++ b/beta_50_pl.html @@ -0,0 +1,56 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..869e5be17 --- /dev/null +++ b/beta_50_pt-br.html @@ -0,0 +1,56 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..1317a5b8f --- /dev/null +++ b/beta_50_ro.html @@ -0,0 +1,56 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..6aeb88b07 --- /dev/null +++ b/beta_50_ru.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Разыменование (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..340d87053 --- /dev/null +++ b/beta_50_th.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

การอ้างอิง

+

การอ้างอิงด้วยการใช้ &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..b3decf597 --- /dev/null +++ b/beta_50_tr.html @@ -0,0 +1,56 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..1d4d1161d --- /dev/null +++ b/beta_50_ua.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Розіменування посилань

+

Використовуючи &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..dccf42cbe --- /dev/null +++ b/beta_50_vi.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..423360614 --- /dev/null +++ b/beta_50_zh-cn.html @@ -0,0 +1,55 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

解引用

+

使用 &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..36078b1e6 --- /dev/null +++ b/beta_50_zh-tw.html @@ -0,0 +1,56 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

解參考 (dereferencing)

+

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

+

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

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

Passing Around Borrowed Data

+

Rust's rules for references might best be summarized by:

+ +

This doesn't tend to be a problem when passing around references to functions.

+

Memory details:

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

Mover los Datos Prestados

+

Las reglas de referencia de Rust se resumen de la siguiente manera:

+ +

Esto no suele ser un problema cuando se pasan referencias a funciones.

+

Detalles de la memoria:

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

Passing Around Borrowed Data

+

Rust's rules for references might best be summarized by:

+ +

This doesn't tend to be a problem when passing around references to functions.

+

Memory details:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_51_fr.html b/beta_51_fr.html new file mode 100644 index 000000000..ad8e537b2 --- /dev/null +++ b/beta_51_fr.html @@ -0,0 +1,70 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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:

+ +

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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_51_gr.html b/beta_51_gr.html new file mode 100644 index 000000000..da7bc3ac2 --- /dev/null +++ b/beta_51_gr.html @@ -0,0 +1,65 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

Passing Around Borrowed Data

+

Rust's rules for references might best be summarized by:

+ +

This doesn't tend to be a problem when passing around references to functions.

+

Memory details:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_51_hu.html b/beta_51_hu.html new file mode 100644 index 000000000..c69690cab --- /dev/null +++ b/beta_51_hu.html @@ -0,0 +1,70 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

A kölcsönkért adatok ide-oda helyezése

+

A Rust referenciáinak szabályait talán így lehet a legjobban megfogalmazni:

+ +

Hogyan érinti ez a memóriát:

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

Transferer Pruntat Data

+

On posse curtmen resumar li regules de Rust pri referenties quam seque:

+ +

To por li pluparte ne es un problema quande on transfere referenties a functiones.

+

Detallies pri memorie:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_51_ja.html b/beta_51_ja.html new file mode 100644 index 000000000..3e4655be8 --- /dev/null +++ b/beta_51_ja.html @@ -0,0 +1,67 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

借用したデータの受け渡し

+

Rust の参照に関するルールは、以下のようにまとめられます。

+ +

これは関数へ参照を渡す際に問題となることはありません。

+

メモリの詳細:

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

대여한 데이터 전달하기

+

Rust의 참조 규칙은 다음과 같이 요약될 수 있습니다:

+ +

이는 보통 함수로 참조를 넘겨줄 때에는 문제가 되지 않습니다.

+

메모리 상세:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_51_pl.html b/beta_51_pl.html new file mode 100644 index 000000000..a59e9e23c --- /dev/null +++ b/beta_51_pl.html @@ -0,0 +1,65 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

Przekazywanie Pożyczonych Danych

+

Zasady Rusta dotyczące refencji i pożyczania mogą być ujęte w następujących dwóch punktach:

+ +

Te zasady nie powinny nam sprawiać zbyt wielu problemów w przypadku przekazywania referencji do wywoływanych funkcji.

+

Kilka szczegółów:

+ + +
+
+ +
+
+ + \ 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..10cc25094 --- /dev/null +++ b/beta_51_pt-br.html @@ -0,0 +1,65 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

Passando Dados Emprestados

+

As regras do Rust para referências podem ser melhor resumidas assim:

+ +

Isso não costuma ser um problema ao passar referências a funções.

+

Detalhes da memória:

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

Trimiterea Datelor Împrumutate

+

Regulile din Rust pentru referințe pot fi rezumate foarte bine de:

+ +

Aceste lucruri nu tind să fie o problemă atunci când trimitem referințe unor funcții.

+

Detalii despre memorie:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_51_ru.html b/beta_51_ru.html new file mode 100644 index 000000000..37df178e6 --- /dev/null +++ b/beta_51_ru.html @@ -0,0 +1,68 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Передача заимствованных данных

+

Правила Rust'a для ссылок можно просуммировать так:

+ +

Обычно это не вызывает проблем при передаче ссылок в функции.

+

Детали для запоминания:

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

การส่งผ่านข้อมูลที่ยืมมา

+

กฎที่ใช้กับการอ้างอิงใน Rust อาจจะสรุปออกมาได้ดังนี้:

+ +

สิ่งนี้ไม่มีแนวโน้มที่จะเป็นปัญหาเมื่อส่งต่อการอ้างอิงถึงฟังก์ชัน

+

รายละเอียดหน่วยความจำ:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_51_tr.html b/beta_51_tr.html new file mode 100644 index 000000000..3ea552575 --- /dev/null +++ b/beta_51_tr.html @@ -0,0 +1,68 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

Ödünç Alınan Verinin Taşınması

+

Rust'un referans kuralları aşağıdaki şekilde özetlenebilir:

+ +

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ı:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_51_ua.html b/beta_51_ua.html new file mode 100644 index 000000000..eed66272a --- /dev/null +++ b/beta_51_ua.html @@ -0,0 +1,65 @@ + + + + Тур по 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..0c854a7e4 --- /dev/null +++ b/beta_51_vi.html @@ -0,0 +1,65 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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:

+ +

Đ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ớ:

+ + +
+
+ +
+
+ + \ 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..9cce41eaa --- /dev/null +++ b/beta_51_zh-cn.html @@ -0,0 +1,65 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

传递借用的数据

+

Rust 对于引用的规则也许最好用以下的方式总结:

+ +

而在函数间进行引用的传递时,以上这些通常都不会成为问题。

+

内存细节:

+ + +
+
+ +
+
+ + \ 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..a36355d80 --- /dev/null +++ b/beta_51_zh-tw.html @@ -0,0 +1,66 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

傳遞借來的資料 (borrowed data)

+

對 Rust 的參考規則最好的總結可能是: Rust's rules for references might best be summarized by:

+ +

這並不會造成當你想傳遞參考到一個函式的困擾。

+

記憶體細節:

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

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..a8ccd7687 --- /dev/null +++ b/beta_52_es.html @@ -0,0 +1,55 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..cd51b4bb3 --- /dev/null +++ b/beta_52_fa.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..98016e3cb --- /dev/null +++ b/beta_52_fr.html @@ -0,0 +1,55 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..bdddaade7 --- /dev/null +++ b/beta_52_gr.html @@ -0,0 +1,55 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

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..2e8740b04 --- /dev/null +++ b/beta_52_hu.html @@ -0,0 +1,55 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..068eac196 --- /dev/null +++ b/beta_52_ie.html @@ -0,0 +1,55 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

Referenties de Referenties

+

On mem posse usar referenties sur referenties.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_52_ja.html b/beta_52_ja.html new file mode 100644 index 000000000..3e5b34424 --- /dev/null +++ b/beta_52_ja.html @@ -0,0 +1,55 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

参照の参照

+

参照の一部を参照することができます。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_52_ko.html b/beta_52_ko.html new file mode 100644 index 000000000..047ef92fc --- /dev/null +++ b/beta_52_ko.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

참조의 참조

+

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

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_52_pl.html b/beta_52_pl.html new file mode 100644 index 000000000..57a210e47 --- /dev/null +++ b/beta_52_pl.html @@ -0,0 +1,56 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..87f4f1e95 --- /dev/null +++ b/beta_52_pt-br.html @@ -0,0 +1,55 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..1355b0494 --- /dev/null +++ b/beta_52_ro.html @@ -0,0 +1,55 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..624cf7fde --- /dev/null +++ b/beta_52_ru.html @@ -0,0 +1,55 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Ссылки на ссылки (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..ef4fe0425 --- /dev/null +++ b/beta_52_th.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

การอ้างอิงถึงตัวอ้างอิงตัวอื่น

+

การอ้างอิงสามารถใช้อ้างถึงการอ้างอิงอื่นได้

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_52_tr.html b/beta_52_tr.html new file mode 100644 index 000000000..8a20e9af0 --- /dev/null +++ b/beta_52_tr.html @@ -0,0 +1,56 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..245f2f223 --- /dev/null +++ b/beta_52_ua.html @@ -0,0 +1,55 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Посилання на посилання

+

Посилання можна використовувати навіть у фрагментах посилань.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_52_vi.html b/beta_52_vi.html new file mode 100644 index 000000000..629e8def4 --- /dev/null +++ b/beta_52_vi.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..d6e0ce8c6 --- /dev/null +++ b/beta_52_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_52_zh-tw.html b/beta_52_zh-tw.html new file mode 100644 index 000000000..271c50350 --- /dev/null +++ b/beta_52_zh-tw.html @@ -0,0 +1,55 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

參考的參考 (references of references)

+

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

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_53_en.html b/beta_53_en.html new file mode 100644 index 000000000..8986eb757 --- /dev/null +++ b/beta_53_en.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..68325ce20 --- /dev/null +++ b/beta_53_es.html @@ -0,0 +1,57 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..78a39cbc9 --- /dev/null +++ b/beta_53_fa.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..43bf665d8 --- /dev/null +++ b/beta_53_fr.html @@ -0,0 +1,60 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..52d5f0273 --- /dev/null +++ b/beta_53_gr.html @@ -0,0 +1,59 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

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..ff4a3fa1e --- /dev/null +++ b/beta_53_hu.html @@ -0,0 +1,61 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..78a59aaa0 --- /dev/null +++ b/beta_53_ie.html @@ -0,0 +1,59 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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_ja.html b/beta_53_ja.html new file mode 100644 index 000000000..a357ec2be --- /dev/null +++ b/beta_53_ja.html @@ -0,0 +1,57 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

明示的なライフタイム

+

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..9cacc355a --- /dev/null +++ b/beta_53_ko.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

명시적인 생명주기

+

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..4ac8fc38e --- /dev/null +++ b/beta_53_pl.html @@ -0,0 +1,57 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..aaf896aea --- /dev/null +++ b/beta_53_pt-br.html @@ -0,0 +1,57 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..929e83090 --- /dev/null +++ b/beta_53_ro.html @@ -0,0 +1,59 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

Durate de viață explicite

+

Cu toate că Rust nu arată acest lucu î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..b9216fed7 --- /dev/null +++ b/beta_53_ru.html @@ -0,0 +1,59 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Явное указание времени жизни (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..93d92c78b --- /dev/null +++ b/beta_53_th.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..93460fd5f --- /dev/null +++ b/beta_53_tr.html @@ -0,0 +1,57 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..e881ec068 --- /dev/null +++ b/beta_53_ua.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Явний час життя

+

Хоч компілятор вам цього не покаже, але він розуміє час життя кожної змінної. І саме це дає йому можливість аналізувати код, і сказати вам, чи буде посилання жити довше ніж сама змінна. +Але ви також можете самостійно сказати якому ресурсу скільки жити. Для цього існують спеціальні параметри. +Щоб виставити час життя, або якщо більш корректно - пріоритети , вам лише треба поставити символ ', а потім додати одну із латинських букв (наприклад '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..cd87549e6 --- /dev/null +++ b/beta_53_vi.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..5ef1cc8c3 --- /dev/null +++ b/beta_53_zh-cn.html @@ -0,0 +1,55 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

显式生命周期

+

尽管 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..7522c9d93 --- /dev/null +++ b/beta_53_zh-tw.html @@ -0,0 +1,57 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

明確的生命週期

+

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

+

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

+

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

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

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..be5fe3daf --- /dev/null +++ b/beta_54_es.html @@ -0,0 +1,55 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..0da35f327 --- /dev/null +++ b/beta_54_fa.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..3b1148edc --- /dev/null +++ b/beta_54_fr.html @@ -0,0 +1,56 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..85cfff7cd --- /dev/null +++ b/beta_54_gr.html @@ -0,0 +1,56 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

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..edfab386c --- /dev/null +++ b/beta_54_hu.html @@ -0,0 +1,56 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..62931383c --- /dev/null +++ b/beta_54_ie.html @@ -0,0 +1,56 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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_ja.html b/beta_54_ja.html new file mode 100644 index 000000000..414c64cce --- /dev/null +++ b/beta_54_ja.html @@ -0,0 +1,55 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

複数のライフタイム

+

ライフタイム指定子は、関数の引数や戻り値のライフタイムをコンパイラが解決できない場合に、明示的に指定することができます。

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

여러 개의 생명주기

+

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..c378541ee --- /dev/null +++ b/beta_54_pl.html @@ -0,0 +1,55 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..bf8d00377 --- /dev/null +++ b/beta_54_pt-br.html @@ -0,0 +1,55 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..77e6e14e4 --- /dev/null +++ b/beta_54_ro.html @@ -0,0 +1,56 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..fdfa31fa1 --- /dev/null +++ b/beta_54_ru.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Несколько времён жизни (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..f96c23ee4 --- /dev/null +++ b/beta_54_th.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..0838ee49f --- /dev/null +++ b/beta_54_tr.html @@ -0,0 +1,55 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

Ç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..a190d8b3b --- /dev/null +++ b/beta_54_ua.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Кілька модифікаторів пріорітету

+

Модифікатори часу життя, або ж приорітету, дозволяють нам створювати сценарії, котрі мають деякі відмінності від тих що за замовчуванням створює компілятор. +Це досягається за допомогою використання декількох модифікаторів часу життя, а точніше, їх комбінування.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_54_vi.html b/beta_54_vi.html new file mode 100644 index 000000000..3bcc311bb --- /dev/null +++ b/beta_54_vi.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

Đ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..3b83ad54f --- /dev/null +++ b/beta_54_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_54_zh-tw.html b/beta_54_zh-tw.html new file mode 100644 index 000000000..207a6f4a5 --- /dev/null +++ b/beta_54_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_55_en.html b/beta_55_en.html new file mode 100644 index 000000000..c282143dd --- /dev/null +++ b/beta_55_en.html @@ -0,0 +1,67 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..2b3acf613 --- /dev/null +++ b/beta_55_es.html @@ -0,0 +1,63 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..8353120f5 --- /dev/null +++ b/beta_55_fa.html @@ -0,0 +1,67 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..7a62a3a6b --- /dev/null +++ b/beta_55_fr.html @@ -0,0 +1,71 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..f87dded5b --- /dev/null +++ b/beta_55_gr.html @@ -0,0 +1,67 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

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..91143e62a --- /dev/null +++ b/beta_55_hu.html @@ -0,0 +1,73 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..b605cc95a --- /dev/null +++ b/beta_55_ie.html @@ -0,0 +1,68 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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_ja.html b/beta_55_ja.html new file mode 100644 index 000000000..0b8405df5 --- /dev/null +++ b/beta_55_ja.html @@ -0,0 +1,68 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

スタティックライフタイム

+

スタティック変数は、コンパイル時に作成され、プログラムの開始から終了まで存在するメモリリソースです。 +これらの変数の型は明示的に指定しなければなりません。

+

スタティックライフタイムは、プログラムの終了まで無期限に持続するメモリリソースです。 +この定義では、スタティックライフタイムを持つリソースは実行時にも作成できることに注意してください。

+

スタティックライフタイムを持つリソースには、特別なライフタイム指定子 '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..200b592b3 --- /dev/null +++ b/beta_55_ko.html @@ -0,0 +1,68 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

정적인 생명주기

+

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..84fe5b033 --- /dev/null +++ b/beta_55_pl.html @@ -0,0 +1,63 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..46e722056 --- /dev/null +++ b/beta_55_pt-br.html @@ -0,0 +1,64 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..5aabec645 --- /dev/null +++ b/beta_55_ro.html @@ -0,0 +1,65 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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ă la resursele cu durată de viață statică (drop).

+

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..391366999 --- /dev/null +++ b/beta_55_ru.html @@ -0,0 +1,72 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Статические времена жизни (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..b3615e31b --- /dev/null +++ b/beta_55_th.html @@ -0,0 +1,68 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

Static Lifetimes

+

ตัวแปรแบบ static เป็นรีซอร์สในหน่วยความจำที่ถูกสร้างตั้งแต่ compile-time และจะคงอยู่ ตั้งแต่โปรแกรมเริ่มทำงานจนจบ พวกมันต้องระบุ type ให้ชัดเจน

+

static lifetime เป็นรีซอร์สในหน่วยความจำที่จะอยู่ตลอดจนจบโปรแกรม ข้อสังเกตคือ จากนิยามนี้ static lifetime บางตัวอาจจะเกิดตอน runtime ก็ได้

+

รีซอร์สของ static lifetime ใช้ 'static เป็นตัวกำหนด

+

รีซอร์สของ 'static จะไม่มีวันโดน drop

+

ถึงแม้ว่าจะใช้รีซอร์สของ static lifetime มาเก็บการอ้างอิง พวกมันก็ยังต้องเป็น 'static` เหมือนกัน (ถ้าน้อยไปมันจะอยู่ได้ไม่นานพอ)

+

รายละเอียดหน่วยความจำ:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_55_tr.html b/beta_55_tr.html new file mode 100644 index 000000000..12a0c40b0 --- /dev/null +++ b/beta_55_tr.html @@ -0,0 +1,67 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..48b2cf6d1 --- /dev/null +++ b/beta_55_ua.html @@ -0,0 +1,62 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Статичний час життя

+

Статичні змінні - це змінні котрі створюються на початку, або під час роботи програми, і існують до самого її кінця. Такі змінні повинні мати чітко вказані типи. +Статичні ресурси можуть існувати невизначено довго, але лише до моменту вимкнення програми. Також треба зауважити що такі ресурси можуть бути створені прямо під час виконання програми.

+

Статичні ресурси мають спеціальну позначку - 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..347fe89eb --- /dev/null +++ b/beta_55_vi.html @@ -0,0 +1,63 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..9fcf908dc --- /dev/null +++ b/beta_55_zh-cn.html @@ -0,0 +1,60 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

静态生命周期

+

一个静态变量是一个在编译期间即被创建并存在于整个程序始末的内存资源。他们必须被明确指定类型。 一个静态生命周期是指一段内存资源无限期地延续到程序结束。需要注意的一点是,在此定义之下,一些静态生命周期的资源也可以在运行时被创建。 拥有静态生命周期的资源会拥有一个特殊的生命周期注解 '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..9a0c869cf --- /dev/null +++ b/beta_55_zh-tw.html @@ -0,0 +1,64 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

靜態生命週期 (static lifetimes)

+

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

+

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

+

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

+

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

+

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

+

記憶體細節:

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

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..7e00967b1 --- /dev/null +++ b/beta_56_es.html @@ -0,0 +1,57 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..42a69c2b0 --- /dev/null +++ b/beta_56_fa.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..02d14d15a --- /dev/null +++ b/beta_56_fr.html @@ -0,0 +1,62 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..dca0c6519 --- /dev/null +++ b/beta_56_gr.html @@ -0,0 +1,57 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

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..eecf77532 --- /dev/null +++ b/beta_56_hu.html @@ -0,0 +1,58 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

É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..214d1ba94 --- /dev/null +++ b/beta_56_ie.html @@ -0,0 +1,57 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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_ja.html b/beta_56_ja.html new file mode 100644 index 000000000..054573738 --- /dev/null +++ b/beta_56_ja.html @@ -0,0 +1,57 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

データ型のライフタイム

+

関数と同様に、データ型はメンバのライフタイムを指定できます。

+

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..45ffac441 --- /dev/null +++ b/beta_56_ko.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

데이터 자료형의 생명주기

+

함수와 마찬가지로, 데이터 자료형의 구성원들도 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..508fde2de --- /dev/null +++ b/beta_56_pl.html @@ -0,0 +1,57 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..4f8b89d28 --- /dev/null +++ b/beta_56_pt-br.html @@ -0,0 +1,57 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..aed4a5336 --- /dev/null +++ b/beta_56_ro.html @@ -0,0 +1,57 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

Durate de viață în interiorul Structurilor de Date

+

Similiar 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..a1e876392 --- /dev/null +++ b/beta_56_ru.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Времена жизни у типов данных (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..38efff843 --- /dev/null +++ b/beta_56_th.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..6ccc369f7 --- /dev/null +++ b/beta_56_tr.html @@ -0,0 +1,57 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..dde8b6efd --- /dev/null +++ b/beta_56_ua.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Час життя в типах даних

+

Подібно до функцій, типи даних можна параметризувати за допомогою специфікаторів часу життя специфікаторами часу життя його членів.

+

Rust перевіряє, що структура даних, яка містить посилання, ніколи не існує довше, ніж власники, на яких вона посилається.

+

Ми не можемо мати структури, які працюють з посиланнями, що вказують на неіснуючі дані!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_56_vi.html b/beta_56_vi.html new file mode 100644 index 000000000..e3f6b732b --- /dev/null +++ b/beta_56_vi.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..94f106af7 --- /dev/null +++ b/beta_56_zh-cn.html @@ -0,0 +1,55 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

数据类型中的生命周期

+

和函数相同,数据类型也可以用生命周期注解来参数化其成员。 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..870c7507e --- /dev/null +++ b/beta_56_zh-tw.html @@ -0,0 +1,57 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

資料型別的生命週期

+

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

+

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

+

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

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

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:

+ +

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..df586a098 --- /dev/null +++ b/beta_57_es.html @@ -0,0 +1,62 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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:

+ +

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..6efa8ca8d --- /dev/null +++ b/beta_57_fa.html @@ -0,0 +1,64 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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:

+ +

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..981fe035d --- /dev/null +++ b/beta_57_fr.html @@ -0,0 +1,64 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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:

+ +

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..cbcc0eab0 --- /dev/null +++ b/beta_57_gr.html @@ -0,0 +1,64 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

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:

+ +

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..850b8176d --- /dev/null +++ b/beta_57_hu.html @@ -0,0 +1,65 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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:

+ +

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..e077079a9 --- /dev/null +++ b/beta_57_ie.html @@ -0,0 +1,64 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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:

+ + +
+
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..74b5f6c09 --- /dev/null +++ b/beta_57_ja.html @@ -0,0 +1,64 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

第 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..825179c8f --- /dev/null +++ b/beta_57_ko.html @@ -0,0 +1,64 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

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..c273ff017 --- /dev/null +++ b/beta_57_pl.html @@ -0,0 +1,63 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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:

+ +

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..20f04a476 --- /dev/null +++ b/beta_57_pt-br.html @@ -0,0 +1,62 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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:

+ +

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..5dbbb23e3 --- /dev/null +++ b/beta_57_ro.html @@ -0,0 +1,64 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

Capitolul 5 - Încheiere

+

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:

+ +

Î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..d4f859634 --- /dev/null +++ b/beta_57_ru.html @@ -0,0 +1,65 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Глава 5 - Заключение

+

Уф, Вы через многое прошли, поздравляю! Я знаю, тут было много информации, но Вы на пути +становления Rust разработчика. Надеюсь, теперь немного понятней, как Rust пытается решить многие из +проблем системного программирования:

+ +

В следующеей главе мы применим эти знания, когда будем смотреть, как 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..ac79031b3 --- /dev/null +++ b/beta_57_th.html @@ -0,0 +1,62 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

บทที่ 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..ea45904b5 --- /dev/null +++ b/beta_57_tr.html @@ -0,0 +1,62 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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:

+ +

Öğ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..ff1614afd --- /dev/null +++ b/beta_57_ua.html @@ -0,0 +1,64 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Розділ 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..580e2b99b --- /dev/null +++ b/beta_57_vi.html @@ -0,0 +1,63 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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:

+ +

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..e87ae821b --- /dev/null +++ b/beta_57_zh-cn.html @@ -0,0 +1,62 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

第五章 - 总结

+

哇,恭喜您成功走完了本章!我知道这下可能会有很多需要吸收的东西,但是您已经在成为一名 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..2a5be3e55 --- /dev/null +++ b/beta_57_zh-tw.html @@ -0,0 +1,62 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

第五章 - 總結

+

呼,恭喜撐過這章!我知道你有很多要消化,但你正以很棒的姿態成為一名 Rust 人。 希望你清楚的了解 Rust 以一門語言來說,是如何解決下列許多系統程式 (systems programming) 的共同問題:

+ +

在下一章節裡,我們將會應用一些這裡的知識,來看看 Rust 怎麼處理文字。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_59_en.html b/beta_59_en.html new file mode 100644 index 000000000..761f55821 --- /dev/null +++ b/beta_59_en.html @@ -0,0 +1,65 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

String Literals

+

String literals are always Unicode.

+

String literals type are &'static str:

+ +

Memory details:

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

Cadenas de Caracteres Literales

+

Las cadenas de caracteres literales son siempre unicode y de tipo &'static str:

+ +

Detalles de la memoria:

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

String Literals

+

String literals are always Unicode.

+

String literals type are &'static str:

+ +

Memory details:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_59_fr.html b/beta_59_fr.html new file mode 100644 index 000000000..eb7787eef --- /dev/null +++ b/beta_59_fr.html @@ -0,0 +1,67 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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.

+ +

Détails de la mémoire:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_59_hu.html b/beta_59_hu.html new file mode 100644 index 000000000..bdf6b0421 --- /dev/null +++ b/beta_59_hu.html @@ -0,0 +1,68 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

Szöveg értékek

+

A szöveg értékek mindig Unicode kódolásúak.

+

A típusuk &'static str:

+ +

Hogyan érinti ez a memóriát:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_59_ie.html b/beta_59_ie.html new file mode 100644 index 000000000..88c0846fc --- /dev/null +++ b/beta_59_ie.html @@ -0,0 +1,65 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

String Literals

+

String literals (caten-litterales) es sempre Unicode

+

Li tip por string literals es &'static str

+ +

Detallies pri memorie:

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

文字列リテラル

+

文字列リテラルは常にUnicodeです。 +文字列リテラルの型は&'static strです。:

+ +

メモリに関する詳細:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_59_ko.html b/beta_59_ko.html new file mode 100644 index 000000000..9edf6eef5 --- /dev/null +++ b/beta_59_ko.html @@ -0,0 +1,65 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

문자열

+

문자열은 언제나 유니코드로 되어 있습니다.

+

문자열의 자료형은 &'static str입니다:

+ +

메모리 상세:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_59_pl.html b/beta_59_pl.html new file mode 100644 index 000000000..2ce82ce1b --- /dev/null +++ b/beta_59_pl.html @@ -0,0 +1,65 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

String Literals

+

String literals are always Unicode.

+

String literals type are &'static str:

+ +

Memory details:

+ + +
+
+ +
+
+ + \ 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..121e87fb3 --- /dev/null +++ b/beta_59_pt-br.html @@ -0,0 +1,65 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

Literais string

+

Asd literais string são sempre Unicode.

+

O tipo de literais String é &'static str:

+ +

Detalhes da memória:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_59_ro.html b/beta_59_ro.html new file mode 100644 index 000000000..520d27a58 --- /dev/null +++ b/beta_59_ro.html @@ -0,0 +1,63 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

Șiruri de caractere literale

+

Șirurile de caractere literale (în engleză string literals) sunt întotdeauna reprezentate folosind codificarea utf-8 al setului de caracatere Unicode.

+

Șirurile de caractere literale sunt de tipul &'static str:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_59_ru.html b/beta_59_ru.html new file mode 100644 index 000000000..96d361cfd --- /dev/null +++ b/beta_59_ru.html @@ -0,0 +1,66 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Тип строковые литералы (String Literals)

+

Строковые литералы Rust всегда в кодировке Unicode.

+

Типом строковых литералов всегда является описание &'static str:

+ +

Тонкости памяти:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_59_th.html b/beta_59_th.html new file mode 100644 index 000000000..13f06a8d7 --- /dev/null +++ b/beta_59_th.html @@ -0,0 +1,65 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

การประกาศ String

+

String เป็น Unicode เสมอ

+

type ของ String ประกาศโดยใช้ &'static str:

+ +

รายละเอียดหน่วยความจำ:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_59_tr.html b/beta_59_tr.html new file mode 100644 index 000000000..d59c17953 --- /dev/null +++ b/beta_59_tr.html @@ -0,0 +1,65 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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:

+ +

Bellek ayrıntıları:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_59_ua.html b/beta_59_ua.html new file mode 100644 index 000000000..4093802e5 --- /dev/null +++ b/beta_59_ua.html @@ -0,0 +1,65 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Рядкові літерали

+

Рядкові літерали завжди представлені у Unicode.

+

Тип рядкових літералів - &'static str:

+ +

Деталі про роботу з пам'яттю:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_59_vi.html b/beta_59_vi.html new file mode 100644 index 000000000..6594ec42d --- /dev/null +++ b/beta_59_vi.html @@ -0,0 +1,65 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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:

+ +

Chi tiết bộ nhớ:

+ + +
+
+ +
+
+ + \ 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..81283c799 --- /dev/null +++ b/beta_59_zh-cn.html @@ -0,0 +1,65 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

字符串常量(String Literals)

+

字符串常量(String Literals)采用 Unicode 编码(注:下文提及的 utf-8 为 Unicode 的一部分)。

+

字符串常量的类型为 &'static str

+ +

内存细节:

+ + +
+
+ +
+
+ + \ 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..9a550d061 --- /dev/null +++ b/beta_59_zh-tw.html @@ -0,0 +1,65 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

字串常量 (string literals)

+

字串常量總是以萬國碼 (unicode) 表示。

+

字串常量型別為 &'static str

+ +

記憶體細節:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_60_en.html b/beta_60_en.html new file mode 100644 index 000000000..9bbf13dd2 --- /dev/null +++ b/beta_60_en.html @@ -0,0 +1,62 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..44d1f7b2d --- /dev/null +++ b/beta_60_es.html @@ -0,0 +1,60 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

¿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..ed31e3cc8 --- /dev/null +++ b/beta_60_fa.html @@ -0,0 +1,62 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..a76f1c2c5 --- /dev/null +++ b/beta_60_fr.html @@ -0,0 +1,68 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..71202e7ce --- /dev/null +++ b/beta_60_hu.html @@ -0,0 +1,66 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..193a4a27b --- /dev/null +++ b/beta_60_ie.html @@ -0,0 +1,62 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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_ja.html b/beta_60_ja.html new file mode 100644 index 000000000..56fb2404c --- /dev/null +++ b/beta_60_ja.html @@ -0,0 +1,59 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

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..5bd282d52 --- /dev/null +++ b/beta_60_ko.html @@ -0,0 +1,62 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

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..a600c8c99 --- /dev/null +++ b/beta_60_pl.html @@ -0,0 +1,62 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..a60b7b06b --- /dev/null +++ b/beta_60_pt-br.html @@ -0,0 +1,59 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..fa3885fbf --- /dev/null +++ b/beta_60_ro.html @@ -0,0 +1,62 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..6c398ea8d --- /dev/null +++ b/beta_60_ru.html @@ -0,0 +1,62 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Что такое 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..543b562ce --- /dev/null +++ b/beta_60_th.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..88e837699 --- /dev/null +++ b/beta_60_tr.html @@ -0,0 +1,67 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..6f28fb155 --- /dev/null +++ b/beta_60_ua.html @@ -0,0 +1,62 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Що таке 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..b05920a1a --- /dev/null +++ b/beta_60_vi.html @@ -0,0 +1,60 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..2314723ee --- /dev/null +++ b/beta_60_zh-cn.html @@ -0,0 +1,59 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

什么是 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..9d827c42a --- /dev/null +++ b/beta_60_zh-tw.html @@ -0,0 +1,60 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

什麼是 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_en.html b/beta_61_en.html new file mode 100644 index 000000000..aedbe3395 --- /dev/null +++ b/beta_61_en.html @@ -0,0 +1,65 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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:

+ +

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..5b3bcd50f --- /dev/null +++ b/beta_61_es.html @@ -0,0 +1,65 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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.

+ +

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..61a5b0f46 --- /dev/null +++ b/beta_61_fa.html @@ -0,0 +1,65 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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:

+ +

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..55e727777 --- /dev/null +++ b/beta_61_fr.html @@ -0,0 +1,66 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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:

+ +

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..61b08179f --- /dev/null +++ b/beta_61_hu.html @@ -0,0 +1,67 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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:

+ +

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..449e400e5 --- /dev/null +++ b/beta_61_ie.html @@ -0,0 +1,65 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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.

+ +

Li liste complet trova se ci

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_61_ja.html b/beta_61_ja.html new file mode 100644 index 000000000..a79ecb227 --- /dev/null +++ b/beta_61_ja.html @@ -0,0 +1,65 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

エスケープ文字

+

特定の文字を視覚的に表現するのは難しいので、エスケープ コード を使用することでその場所に記号を挿入することができます。

+

RustではC言語の共通エスケープコードがサポートされています。:

+ +

エスケープ文字の一覧はここにあります。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_61_ko.html b/beta_61_ko.html new file mode 100644 index 000000000..e40768239 --- /dev/null +++ b/beta_61_ko.html @@ -0,0 +1,65 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

예외처리문자

+

어떤 문자들은 시각적으로 표현하기 어려우므로, 예외처리 코드(escape code) 로 대체하여 씁니다.

+

Rust는 C 기반 언어들의 일반적인 예외처리 코드를 지원합니다:

+ +

전체 목록은 여기서 보실 수 있습니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_61_pl.html b/beta_61_pl.html new file mode 100644 index 000000000..c2a251634 --- /dev/null +++ b/beta_61_pl.html @@ -0,0 +1,65 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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:

+ +

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..215f910be --- /dev/null +++ b/beta_61_pt-br.html @@ -0,0 +1,65 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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:

+ +

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..37d3e72cf --- /dev/null +++ b/beta_61_ro.html @@ -0,0 +1,65 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

Secvențe Escape

+

Este o provocare să reprezinți vizual anumite caractere, așa că secvențele escape (în engleză escape codes) ne permit să punem un simbol în locul lor.

+

Rust suportă codurile de escape comune ale limbajelor bazate pe C:

+ +

Lista completă există 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..32f19b789 --- /dev/null +++ b/beta_61_ru.html @@ -0,0 +1,65 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Экранирующие символы (Escaping Characters)

+

Некоторые символы сложно представлять визуально, поэтому экранирующие коды (escape codes) позволяют размещать такие символы на их месте

+

Rust поддерживает общие экранирующие коды взятые из Cи-подобных яызков:

+ +

Полный список смотрите по ссылке здесь.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_61_th.html b/beta_61_th.html new file mode 100644 index 000000000..ab0cb68d7 --- /dev/null +++ b/beta_61_th.html @@ -0,0 +1,65 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

Escaping Characters

+

มีอักขระหลายตัวที่ไม่สามารถเห็นได้ด้วยตา escape codes จึงเข้ามาช่วยในเรื่องนี้

+

Rust รับรอง escape codes ที่ภาษา C ใช้กันอยู่แล้ว:

+ +

ดูทั้งหมดได้ ที่นี่.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_61_tr.html b/beta_61_tr.html new file mode 100644 index 000000000..415fc7154 --- /dev/null +++ b/beta_61_tr.html @@ -0,0 +1,65 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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:

+ +

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..7769f1e68 --- /dev/null +++ b/beta_61_ua.html @@ -0,0 +1,65 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Екранування символів

+

Візуально представити певні символи складно, тому екранування дозволяє нам розмістити символ у потрібному місці.

+

Rust підтримує типові екрановані символи з С-подібних мов:

+ +

Повний список знаходиться тут.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_61_vi.html b/beta_61_vi.html new file mode 100644 index 000000000..17ee3a179 --- /dev/null +++ b/beta_61_vi.html @@ -0,0 +1,65 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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:

+ +

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..c668ebf5b --- /dev/null +++ b/beta_61_zh-cn.html @@ -0,0 +1,65 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

转义字符

+

有些字符难以使用可视字符表示,这时可通过转义字符来表示这些字符。

+

Rust 支持类 C 语言中的常见转义字符;

+ +

完整的转义字符表在这

+ +
+
+ +
+
+ + \ 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..a1c550666 --- /dev/null +++ b/beta_61_zh-tw.html @@ -0,0 +1,65 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

跳脫字元

+

在畫面上要表示某些特定的字元是非常有挑戰性的,所以 跳脫符號 (escape codes) 允許我們用一個符號來表示。

+

Rust 支援 C 語言相關的跳脫符號:

+ +

完整列表在這裡.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_62_en.html b/beta_62_en.html new file mode 100644 index 000000000..1ac8485a6 --- /dev/null +++ b/beta_62_en.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..15d8293b6 --- /dev/null +++ b/beta_62_es.html @@ -0,0 +1,56 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..e4c7a09f7 --- /dev/null +++ b/beta_62_fa.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..49d902477 --- /dev/null +++ b/beta_62_fr.html @@ -0,0 +1,56 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..17fbd3546 --- /dev/null +++ b/beta_62_hu.html @@ -0,0 +1,56 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..5a128685e --- /dev/null +++ b/beta_62_ie.html @@ -0,0 +1,56 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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_ja.html b/beta_62_ja.html new file mode 100644 index 000000000..5344ddf81 --- /dev/null +++ b/beta_62_ja.html @@ -0,0 +1,56 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

複数行の文字列リテラル

+

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..d18e6a323 --- /dev/null +++ b/beta_62_ko.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

여러 줄로 된 문자열

+

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..0b7038f4d --- /dev/null +++ b/beta_62_pl.html @@ -0,0 +1,56 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..2f8e8bff7 --- /dev/null +++ b/beta_62_pt-br.html @@ -0,0 +1,56 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..8d07dc0fd --- /dev/null +++ b/beta_62_ro.html @@ -0,0 +1,56 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

Șiruri de caractere literale pe mai multe linii

+

Șirurile de caractere din Rust sunt î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..dba0f4e59 --- /dev/null +++ b/beta_62_ru.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Многострочные строковые литералы (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..47e23a271 --- /dev/null +++ b/beta_62_th.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..98acd9244 --- /dev/null +++ b/beta_62_tr.html @@ -0,0 +1,56 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

Ç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..309b78e5f --- /dev/null +++ b/beta_62_ua.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Багаторядкові рядкові літерали

+

Текст у Rust є багаторядковим за замовчуванням.

+

Ви можете використовувати \ у кінці рядка, якщо ви не хочете +щоб він був перенесений на інший.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_62_vi.html b/beta_62_vi.html new file mode 100644 index 000000000..436d81260 --- /dev/null +++ b/beta_62_vi.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..fc4e5c9c3 --- /dev/null +++ b/beta_62_zh-cn.html @@ -0,0 +1,56 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

多行字符串常量

+

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..58ec02036 --- /dev/null +++ b/beta_62_zh-tw.html @@ -0,0 +1,56 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

多行字串常量

+

Rust 字串預設是多行的。

+

如果你不想要換行,在行尾使用一個 \ 就可以達成。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_63_en.html b/beta_63_en.html new file mode 100644 index 000000000..4024733e9 --- /dev/null +++ b/beta_63_en.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..a92d1a4a7 --- /dev/null +++ b/beta_63_es.html @@ -0,0 +1,55 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..085601128 --- /dev/null +++ b/beta_63_fa.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..3cb93eb7f --- /dev/null +++ b/beta_63_fr.html @@ -0,0 +1,58 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..6d4fc3973 --- /dev/null +++ b/beta_63_hu.html @@ -0,0 +1,60 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..a453a82d2 --- /dev/null +++ b/beta_63_ie.html @@ -0,0 +1,56 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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_ja.html b/beta_63_ja.html new file mode 100644 index 000000000..54ec5f730 --- /dev/null +++ b/beta_63_ja.html @@ -0,0 +1,56 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

生文字列リテラル

+

生文字列では、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..ca134c628 --- /dev/null +++ b/beta_63_ko.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

원시 문자열

+

원시 문자열은 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..200616d27 --- /dev/null +++ b/beta_63_pl.html @@ -0,0 +1,56 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..b3246807b --- /dev/null +++ b/beta_63_pt-br.html @@ -0,0 +1,55 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..f18932abd --- /dev/null +++ b/beta_63_ro.html @@ -0,0 +1,56 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

Șiruri de caractere literale brute

+

Șiruri de caractere brute (în engleză raw strings) ne permit scrierea unei secvente 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-urile).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_63_ru.html b/beta_63_ru.html new file mode 100644 index 000000000..6ff351233 --- /dev/null +++ b/beta_63_ru.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Сырые (необработанные) строковые литералы (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..275dd30da --- /dev/null +++ b/beta_63_th.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..b18d0886c --- /dev/null +++ b/beta_63_tr.html @@ -0,0 +1,55 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..19d6a6b5a --- /dev/null +++ b/beta_63_ua.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Необроблені рядкові літерали

+

Необроблені рядки дозволяють нам записати послідовність символів дослівно, починаючи з 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..39a030870 --- /dev/null +++ b/beta_63_vi.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..e5dc1d210 --- /dev/null +++ b/beta_63_zh-cn.html @@ -0,0 +1,55 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

原始字符串常量

+

原始字符串支持写入原始的文本而无需为特殊字符转义,因而不会导致可读性下降(如双引号与反斜杠无需写为 \"\\),只需以 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..818689c5a --- /dev/null +++ b/beta_63_zh-tw.html @@ -0,0 +1,55 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

原始字串常量 (raw string literals)

+

在開頭使用 r#" 且結尾使用 "#,就可以使用原始字串常量,它允許我們逐字寫下一連串的字元。 它讓我們可以插入一些可能會跟一般字串搞混的字元 (例如雙引號或是反斜線)。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_64_en.html b/beta_64_en.html new file mode 100644 index 000000000..8dbca2f11 --- /dev/null +++ b/beta_64_en.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..2b23c4130 --- /dev/null +++ b/beta_64_es.html @@ -0,0 +1,55 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..0aedf0bbe --- /dev/null +++ b/beta_64_fa.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..ff0b88b13 --- /dev/null +++ b/beta_64_fr.html @@ -0,0 +1,56 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..0342d53d0 --- /dev/null +++ b/beta_64_hu.html @@ -0,0 +1,56 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..565478efd --- /dev/null +++ b/beta_64_ie.html @@ -0,0 +1,55 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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_ja.html b/beta_64_ja.html new file mode 100644 index 000000000..1ad917dcb --- /dev/null +++ b/beta_64_ja.html @@ -0,0 +1,55 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

ファイルから文字列リテラルを読み込む

+

非常に大きなテキストがある場合は, 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..30c861a66 --- /dev/null +++ b/beta_64_ko.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

파일에서 문자열 가져오기

+

매우 큰 텍스트가 필요하다면 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..0d530e23d --- /dev/null +++ b/beta_64_pl.html @@ -0,0 +1,55 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..af9c5cbde --- /dev/null +++ b/beta_64_pt-br.html @@ -0,0 +1,55 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..77c42ea4c --- /dev/null +++ b/beta_64_ro.html @@ -0,0 +1,55 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

Șiruri de caractere literale din fisiere

+

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..da89dbf87 --- /dev/null +++ b/beta_64_ru.html @@ -0,0 +1,55 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Строковые литераты из файлов

+

Если у вас очень большой текст, попробуйте использовать макрос 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..6ac497bb8 --- /dev/null +++ b/beta_64_th.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..bfed25f2e --- /dev/null +++ b/beta_64_tr.html @@ -0,0 +1,55 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..aeb0544bb --- /dev/null +++ b/beta_64_ua.html @@ -0,0 +1,55 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Рядкові літерали з файлів

+

Якщо у вас є дуже великий текст, спробуйте використати для нього макрос 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..a93d61961 --- /dev/null +++ b/beta_64_vi.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..f75c7737b --- /dev/null +++ b/beta_64_zh-cn.html @@ -0,0 +1,55 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

文件中的字符串常量

+

如果你需要使用大量文本,可以尝试用宏 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..a54b00789 --- /dev/null +++ b/beta_64_zh-tw.html @@ -0,0 +1,55 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

從檔案來的字串常量

+

如果你有一些非常長的文字,可以考慮使用巨集 (marco) include_str! 將字串從本地檔案讀到你的程式裡:

+
let hello_html = include_str!("hello.html");
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_65_en.html b/beta_65_en.html new file mode 100644 index 000000000..0faa1451c --- /dev/null +++ b/beta_65_en.html @@ -0,0 +1,63 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_65_es.html b/beta_65_es.html new file mode 100644 index 000000000..64bd9c0be --- /dev/null +++ b/beta_65_es.html @@ -0,0 +1,63 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_65_fa.html b/beta_65_fa.html new file mode 100644 index 000000000..61459fb4b --- /dev/null +++ b/beta_65_fa.html @@ -0,0 +1,63 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_65_fr.html b/beta_65_fr.html new file mode 100644 index 000000000..779c465a6 --- /dev/null +++ b/beta_65_fr.html @@ -0,0 +1,65 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_65_hu.html b/beta_65_hu.html new file mode 100644 index 000000000..d09069af1 --- /dev/null +++ b/beta_65_hu.html @@ -0,0 +1,67 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_65_ie.html b/beta_65_ie.html new file mode 100644 index 000000000..096f59484 --- /dev/null +++ b/beta_65_ie.html @@ -0,0 +1,64 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_65_ja.html b/beta_65_ja.html new file mode 100644 index 000000000..4259ece2e --- /dev/null +++ b/beta_65_ja.html @@ -0,0 +1,63 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

文字列スライス

+

文字列スライスは、常に有効な utf-8 でなければならないメモリ内のバイト列への参照です。

+

文字列のスライス(サブスライス)である str のスライスも有効な utf-8 でなければなりません。

+

&str の一般的なメソッド:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_65_ko.html b/beta_65_ko.html new file mode 100644 index 000000000..54524e7d4 --- /dev/null +++ b/beta_65_ko.html @@ -0,0 +1,63 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

문자열 슬라이스

+

문자열 slice는 메모리 상의 바이트 열에 대한 참조이며, 언제나 유효한 utf-8이어야 합니다.

+

str slice의 문자열 slice (sub-slice)도 역시 유효한 utf-8이어야 합니다.

+

&str의 흔히 사용되는 메소드는 다음과 같습니다:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_65_pl.html b/beta_65_pl.html new file mode 100644 index 000000000..6178cb762 --- /dev/null +++ b/beta_65_pl.html @@ -0,0 +1,63 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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:

+ + +
+
+ +
+
+ + \ 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..4aed5b0c3 --- /dev/null +++ b/beta_65_pt-br.html @@ -0,0 +1,63 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_65_ro.html b/beta_65_ro.html new file mode 100644 index 000000000..8eb41887d --- /dev/null +++ b/beta_65_ro.html @@ -0,0 +1,63 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

Subșiruri de caractere

+

Un subșir de caractere (în engleză string slice) este o referință la o secvență de octeți din memorie ce trebuie întotdeauna să fie î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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_65_ru.html b/beta_65_ru.html new file mode 100644 index 000000000..765e4a32e --- /dev/null +++ b/beta_65_ru.html @@ -0,0 +1,63 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Строковые срезы (String Slice)

+

Строковым срезом является ссылка на последовательность байт в памяти, которые всегда должны быть действительными символами в кодировке utf-8.

+

Строковый срез (саб-срез) от среза str, также должен быть действительным в utf-8.

+

Общие методы типа &str:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_65_th.html b/beta_65_th.html new file mode 100644 index 000000000..b148a0b65 --- /dev/null +++ b/beta_65_th.html @@ -0,0 +1,63 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

String Slice

+

string slice ใดก็ตามคือการอ้างถึง ไบต์กลุ่มหนึ่งในหน่วยความจำที่อยู่ในรูป utf-8 ที่ถูกต้องเสมอ

+

string slice (ส่วนย่อย) แต่ละชิ้นของ str ก็ต้องเป็น utf-8 ที่ถูกต้องแน่นอนเช่นกัน

+

เมธอดที่ใช้โดยทั่วไปของ &str ได้แก่:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_65_tr.html b/beta_65_tr.html new file mode 100644 index 000000000..1d1b104a3 --- /dev/null +++ b/beta_65_tr.html @@ -0,0 +1,63 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_65_ua.html b/beta_65_ua.html new file mode 100644 index 000000000..81fc7e487 --- /dev/null +++ b/beta_65_ua.html @@ -0,0 +1,63 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Рядкові зрізи (String Slice)

+

Зріз рядка — це посилання на послідовність байтів у пам’яті, яка завжди має бути дійсною у utf-8.

+

Фрагмент рядка (підфрагмент) фрагмента str також має бути дійсним у utf-8. +Розповсюдженеі методи &str:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_65_vi.html b/beta_65_vi.html new file mode 100644 index 000000000..d197c8293 --- /dev/null +++ b/beta_65_vi.html @@ -0,0 +1,63 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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:

+ + +
+
+ +
+
+ + \ 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..1d1ae8193 --- /dev/null +++ b/beta_65_zh-cn.html @@ -0,0 +1,63 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

字符串片段(String Slice)

+

字符串片段是对内存中字节序列的引用,而且这段字节序列必须是合法的 utf-8 字节序列。

+

str 片段的字符串片段(子片段),也必须是合法的 utf-8 字节序列。

+

&str 的常用方法:

+ + +
+
+ +
+
+ + \ 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..2e07f4ee9 --- /dev/null +++ b/beta_65_zh-tw.html @@ -0,0 +1,63 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

字串切片 (string slice)

+

一個字串切片是一個指到記憶體裡一連串位元組的參考,而且必定是合法的 utf-8。

+

一個 str 切片的字串切片 (一個子切片),必定也是合法的 utf-8。

+

常見的 &str 方法:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_66_en.html b/beta_66_en.html new file mode 100644 index 000000000..3d52d3c28 --- /dev/null +++ b/beta_66_en.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..2444e2b67 --- /dev/null +++ b/beta_66_es.html @@ -0,0 +1,56 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..8454ee053 --- /dev/null +++ b/beta_66_fa.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..1fb84caa7 --- /dev/null +++ b/beta_66_fr.html @@ -0,0 +1,59 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..c56ecd862 --- /dev/null +++ b/beta_66_hu.html @@ -0,0 +1,57 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..33b33f564 --- /dev/null +++ b/beta_66_ie.html @@ -0,0 +1,56 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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_ja.html b/beta_66_ja.html new file mode 100644 index 000000000..c93a1cbcf --- /dev/null +++ b/beta_66_ja.html @@ -0,0 +1,56 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

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..da4e3ef81 --- /dev/null +++ b/beta_66_ko.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

문자

+

유니코드를 다루는 것이 꽤나 어렵다보니, 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..fa6eb0a66 --- /dev/null +++ b/beta_66_pl.html @@ -0,0 +1,56 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..57c5f3cdf --- /dev/null +++ b/beta_66_pt-br.html @@ -0,0 +1,56 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..ceb07cb56 --- /dev/null +++ b/beta_66_ro.html @@ -0,0 +1,56 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..ab784729b --- /dev/null +++ b/beta_66_ru.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Символы (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..626a43f90 --- /dev/null +++ b/beta_66_th.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..5792c7a91 --- /dev/null +++ b/beta_66_tr.html @@ -0,0 +1,56 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..9b5de2f3c --- /dev/null +++ b/beta_66_ua.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Тип 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..1c6c8bf06 --- /dev/null +++ b/beta_66_vi.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..d12b01001 --- /dev/null +++ b/beta_66_zh-cn.html @@ -0,0 +1,56 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

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..0edce619d --- /dev/null +++ b/beta_66_zh-tw.html @@ -0,0 +1,56 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

字元 (chars)

+

與萬國碼一起工作有許多困難的地方,Rust 提供了一個方法可以取得一個 utf-8 位元組的字元向量,它的型別是 char

+

一個 char 的大小永遠是 4 個位元組 (為了有效率地查找各別的字元)。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_67_en.html b/beta_67_en.html new file mode 100644 index 000000000..a59058e01 --- /dev/null +++ b/beta_67_en.html @@ -0,0 +1,65 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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:

+ +

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..67dac2783 --- /dev/null +++ b/beta_67_es.html @@ -0,0 +1,65 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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:

+ +

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..7e4edc79f --- /dev/null +++ b/beta_67_fa.html @@ -0,0 +1,65 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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:

+ +

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..cfcd9d291 --- /dev/null +++ b/beta_67_fr.html @@ -0,0 +1,69 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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:

+ +

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..c79fdd71f --- /dev/null +++ b/beta_67_hu.html @@ -0,0 +1,68 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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:

+ +

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..3c8beefc0 --- /dev/null +++ b/beta_67_ie.html @@ -0,0 +1,65 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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:

+ +

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_ja.html b/beta_67_ja.html new file mode 100644 index 000000000..cad9ec940 --- /dev/null +++ b/beta_67_ja.html @@ -0,0 +1,65 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

String

+

String はヒープにutf-8バイト列をもつ構造体です。

+

そのメモリはヒープ上にあるため、文字列リテラルでは出来ないような、拡張や修正などが可能です。

+

共通のメソッド:

+ +

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..e6a79bd1e --- /dev/null +++ b/beta_67_ko.html @@ -0,0 +1,65 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

스트링

+

String은 utf-8 바이트 열을 heap memory에 소유하는 struct입니다.

+

String의 메모리는 heap에 있기 때문에, 문자열과는 달리 늘리거나 변경하거나 기타 등등을 할 수 있습니다.

+

흔히 쓰는 메소드입니다:

+ +

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..a73f1be3c --- /dev/null +++ b/beta_67_pl.html @@ -0,0 +1,65 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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:

+ +

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..dbf40f4fc --- /dev/null +++ b/beta_67_pt-br.html @@ -0,0 +1,65 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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:

+ +

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..aacef34af --- /dev/null +++ b/beta_67_ro.html @@ -0,0 +1,65 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

Șiruri de caractere

+

Un șir de caractere (în engleză 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:

+ +

Atunci când un șir de caractere este eliminat (drop), este eliminată și memoria heap a acestuia.

+

Șirile de caractere au un operator + care extinde șirul cu un &str. (Ș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.) dar s-ar putea să nu fie atât de ergonomic pe cât sperați.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_67_ru.html b/beta_67_ru.html new file mode 100644 index 000000000..7f4f9d662 --- /dev/null +++ b/beta_67_ru.html @@ -0,0 +1,65 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Строковый тип (String)

+

Тип String является структурой, которая владеет последовательностью utf-8 байтов в куче.

+

Так как эта память в куче, то ее можно расширять, изменять и т.д. способами, которые не доступны для типа строковых литералов.

+

Общие методы:

+ +

Когда 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..2ceeabfc6 --- /dev/null +++ b/beta_67_th.html @@ -0,0 +1,65 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

String

+

String ก็คือ struct ที่ครอบครองลำดับของ ไบต์ของ utf-8 ที่อยู่ใน heap

+

และเพราะว่ามันอยู่ใน heap มันจึงสามารถขยายขนาด แก้ไขค่า หรืออื่นๆ แบบที่ ข้อความสตริงปกติทำไม่ได้

+

เมธอดที่ใช้ทั่วไปได้แก่:

+ +

เมื่อ 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..e623ed837 --- /dev/null +++ b/beta_67_tr.html @@ -0,0 +1,65 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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 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..852b6d578 --- /dev/null +++ b/beta_67_ua.html @@ -0,0 +1,65 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Структура String

+

String— це структура, яка зберігає у собі послідовність байтів utf-8 у купі (heap memory). +Оскільки його пам’ять знаходиться в купі, його можна розширювати, змінювати тощо так, як це неможливо зробити з рядковими літералами.

+

Розповсюдженні методи:

+ +

Якщо 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..29b133a97 --- /dev/null +++ b/beta_67_vi.html @@ -0,0 +1,65 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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:

+ +

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..5b231f33d --- /dev/null +++ b/beta_67_zh-cn.html @@ -0,0 +1,65 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

字符串(String)

+

字符串String 是一个结构体,其持有以堆(heap)的形式在内存中存储的 utf-8 字节序列。

+

由于它以堆的形式来存储,字符串可以延长、修改等等。这些都是字符串常量(string literals)无法执行的操作。

+

常用方法:

+ +

如果字符串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..bd6b1ccf5 --- /dev/null +++ b/beta_67_zh-tw.html @@ -0,0 +1,65 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

字串 (string)

+

一個字串 是一個結構,它在堆記憶體 (heap memory) 裡擁有一連串的 utf-8 位元組。

+

因為它的記憶體在堆 (heap) 上,所以它可以被延長、修改…等,而字串常量 (string literals) 不能。

+

常見的方法:

+ +

當一個字串被徹下時,它的堆記憶體也同時被徹下。

+

String+ 運算子可以與一個 &str 延長字串,而且他會回傳自己,但它可能不如你想像中的好用。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_68_en.html b/beta_68_en.html new file mode 100644 index 000000000..e31bbb584 --- /dev/null +++ b/beta_68_en.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..03d7b5ba7 --- /dev/null +++ b/beta_68_es.html @@ -0,0 +1,55 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..afe70312e --- /dev/null +++ b/beta_68_fa.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..9078e1a7d --- /dev/null +++ b/beta_68_fr.html @@ -0,0 +1,56 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..7fedab192 --- /dev/null +++ b/beta_68_hu.html @@ -0,0 +1,56 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..9fe98083d --- /dev/null +++ b/beta_68_ie.html @@ -0,0 +1,56 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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_ja.html b/beta_68_ja.html new file mode 100644 index 000000000..0bae7f4b9 --- /dev/null +++ b/beta_68_ja.html @@ -0,0 +1,55 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

関数パラメータとしてのテキスト

+

文字列リテラルや文字列は、一般的に文字列スライスとして関数に渡されます。 これによって、実際には所有権を渡す必要がないほとんど場合において柔軟性が増します。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_68_ko.html b/beta_68_ko.html new file mode 100644 index 000000000..3e1459f9d --- /dev/null +++ b/beta_68_ko.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

함수의 매개변수로서의 텍스트

+

문자열과 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..f77a3a54e --- /dev/null +++ b/beta_68_pl.html @@ -0,0 +1,56 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..d10d3cbbd --- /dev/null +++ b/beta_68_pt-br.html @@ -0,0 +1,55 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..0af97510f --- /dev/null +++ b/beta_68_ro.html @@ -0,0 +1,56 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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, cand 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..8306fd69a --- /dev/null +++ b/beta_68_ru.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Текст как параметр функции (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..f5465508b --- /dev/null +++ b/beta_68_th.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

การส่งพารามิเตอร์ด้วยข้อความ

+

โดยปกติ ไม่ว่าจะเป็นข้อความของ 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..7ff8319b9 --- /dev/null +++ b/beta_68_tr.html @@ -0,0 +1,55 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

İş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..dc73d8290 --- /dev/null +++ b/beta_68_ua.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Текст,як параметр функції

+

Рядкові літерали та рядки зазвичай передаються функціям як рядкові зрізи. Це забезпечує велику гнучкість для більшості +сценаріїв, коли вам фактично не потрібно передавати право володіння.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_68_vi.html b/beta_68_vi.html new file mode 100644 index 000000000..390314d06 --- /dev/null +++ b/beta_68_vi.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..5009eed32 --- /dev/null +++ b/beta_68_zh-cn.html @@ -0,0 +1,55 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

将文本作为函数的参数

+

字符串常量(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..fba3b3a37 --- /dev/null +++ b/beta_68_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_69_en.html b/beta_69_en.html new file mode 100644 index 000000000..7a1d44832 --- /dev/null +++ b/beta_69_en.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..4daa8d868 --- /dev/null +++ b/beta_69_es.html @@ -0,0 +1,55 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..0324da2f7 --- /dev/null +++ b/beta_69_fa.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..4e37b097f --- /dev/null +++ b/beta_69_fr.html @@ -0,0 +1,55 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..e3605a7f5 --- /dev/null +++ b/beta_69_hu.html @@ -0,0 +1,55 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..8bbb7e359 --- /dev/null +++ b/beta_69_ie.html @@ -0,0 +1,55 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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_ja.html b/beta_69_ja.html new file mode 100644 index 000000000..8f63ebec1 --- /dev/null +++ b/beta_69_ja.html @@ -0,0 +1,55 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

文字列の構築

+

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..edc80fc40 --- /dev/null +++ b/beta_69_ko.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

스트링 만들기

+

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..42f6da049 --- /dev/null +++ b/beta_69_pl.html @@ -0,0 +1,55 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..42c6a04ef --- /dev/null +++ b/beta_69_pt-br.html @@ -0,0 +1,55 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..ff3f9d5a0 --- /dev/null +++ b/beta_69_ro.html @@ -0,0 +1,55 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..1b4134f5c --- /dev/null +++ b/beta_69_ru.html @@ -0,0 +1,55 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Создание строк

+

Методы 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..cbc86cedf --- /dev/null +++ b/beta_69_th.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

การสร้าง 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..c0fa61fec --- /dev/null +++ b/beta_69_tr.html @@ -0,0 +1,55 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..ab7ca5bdb --- /dev/null +++ b/beta_69_ua.html @@ -0,0 +1,55 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Побудова рядків

+

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..693aaf1ad --- /dev/null +++ b/beta_69_vi.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..952c6bec2 --- /dev/null +++ b/beta_69_zh-cn.html @@ -0,0 +1,55 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

字符串构建

+

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..db65f822b --- /dev/null +++ b/beta_69_zh-tw.html @@ -0,0 +1,55 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

建立字串

+

concatjoin 是兩個簡單但強大的建位字串的方法。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_70_en.html b/beta_70_en.html new file mode 100644 index 000000000..50d2c3cda --- /dev/null +++ b/beta_70_en.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..d816c719f --- /dev/null +++ b/beta_70_es.html @@ -0,0 +1,57 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..435e2aa12 --- /dev/null +++ b/beta_70_fa.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..b616332e3 --- /dev/null +++ b/beta_70_fr.html @@ -0,0 +1,61 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..eb9c4d180 --- /dev/null +++ b/beta_70_hu.html @@ -0,0 +1,61 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..38c86a936 --- /dev/null +++ b/beta_70_ie.html @@ -0,0 +1,57 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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_ja.html b/beta_70_ja.html new file mode 100644 index 000000000..a9773b7b8 --- /dev/null +++ b/beta_70_ja.html @@ -0,0 +1,57 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

文字列のフォーマット

+

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..347662953 --- /dev/null +++ b/beta_70_ko.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

스트링 양식 만들기

+

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..56848435c --- /dev/null +++ b/beta_70_pl.html @@ -0,0 +1,57 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..e37ab7d20 --- /dev/null +++ b/beta_70_pt-br.html @@ -0,0 +1,57 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..bd96f0e0a --- /dev/null +++ b/beta_70_ro.html @@ -0,0 +1,57 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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 (exemplu: {}).

+

format! utilizează aceleași șiruri parametrizate ca și println!.

+

Capabilitățile acestei funcții sunt de o amploare prea mare pentru Turul limbajului Rust; consultați 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..a53909cfd --- /dev/null +++ b/beta_70_ru.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Форматирование строк (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..97065e509 --- /dev/null +++ b/beta_70_th.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

การจัดรูปแบบ 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..d8a0c6798 --- /dev/null +++ b/beta_70_tr.html @@ -0,0 +1,57 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..433b8fcb1 --- /dev/null +++ b/beta_70_ua.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Форматування рядків

+

Макрос 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..1edd9d113 --- /dev/null +++ b/beta_70_vi.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

Đị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..ed3390610 --- /dev/null +++ b/beta_70_zh-cn.html @@ -0,0 +1,57 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

字符串格式化

+

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..e42263d86 --- /dev/null +++ b/beta_70_zh-tw.html @@ -0,0 +1,57 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

字串格式化

+

巨集 format! 允許我們產生一個定義好在哪、該怎麼表示的占位符 (placeholders) 的字串 (例如:{})。

+

format! 使用與 println! 相同的參數字串

+

這個函式的使用方法實在太多了,已經超出 Tour of Rust 的範圍了,可以查看這裡的文件。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_71_en.html b/beta_71_en.html new file mode 100644 index 000000000..861b31540 --- /dev/null +++ b/beta_71_en.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..0678d979c --- /dev/null +++ b/beta_71_es.html @@ -0,0 +1,56 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..7863ac584 --- /dev/null +++ b/beta_71_fa.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..99a87f114 --- /dev/null +++ b/beta_71_fr.html @@ -0,0 +1,58 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..7b6bcdf43 --- /dev/null +++ b/beta_71_hu.html @@ -0,0 +1,58 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..51e57e957 --- /dev/null +++ b/beta_71_ie.html @@ -0,0 +1,58 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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_ja.html b/beta_71_ja.html new file mode 100644 index 000000000..d8079f583 --- /dev/null +++ b/beta_71_ja.html @@ -0,0 +1,56 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

文字列変換

+

多くの型は 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..650c0e467 --- /dev/null +++ b/beta_71_ko.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

스트링 변환

+

많은 자료형이 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..629dd43b7 --- /dev/null +++ b/beta_71_pl.html @@ -0,0 +1,58 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..5e508a298 --- /dev/null +++ b/beta_71_pt-br.html @@ -0,0 +1,56 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..3e962c1b6 --- /dev/null +++ b/beta_71_ro.html @@ -0,0 +1,57 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..37eb87ba6 --- /dev/null +++ b/beta_71_ru.html @@ -0,0 +1,58 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Преобразование строк (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..b5919b8cc --- /dev/null +++ b/beta_71_th.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

การแปลงค่า 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..8e1062991 --- /dev/null +++ b/beta_71_tr.html @@ -0,0 +1,57 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..669319d45 --- /dev/null +++ b/beta_71_ua.html @@ -0,0 +1,58 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Конвертація рядків

+

Багато типів можна конвертувати у 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..9d0efc0a8 --- /dev/null +++ b/beta_71_vi.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..2b0c780d9 --- /dev/null +++ b/beta_71_zh-cn.html @@ -0,0 +1,56 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

字符串转换

+

许多类型都可以通过 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..fb1034b7f --- /dev/null +++ b/beta_71_zh-tw.html @@ -0,0 +1,56 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

字串轉換

+

許多型別都能用 to_string 轉換成字串。

+

parse 可以被用來轉換字串或字串常量為一個型別的值。這個函式回傳一個 Result 因為它可能會失敗。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_72_en.html b/beta_72_en.html new file mode 100644 index 000000000..16d0922f2 --- /dev/null +++ b/beta_72_en.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..0b13d081a --- /dev/null +++ b/beta_72_es.html @@ -0,0 +1,54 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..dcc417786 --- /dev/null +++ b/beta_72_fa.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..69caf3aae --- /dev/null +++ b/beta_72_fr.html @@ -0,0 +1,60 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..b27dc0a97 --- /dev/null +++ b/beta_72_hu.html @@ -0,0 +1,57 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..ddb82e158 --- /dev/null +++ b/beta_72_ie.html @@ -0,0 +1,56 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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_ja.html b/beta_72_ja.html new file mode 100644 index 000000000..99a1fd7b5 --- /dev/null +++ b/beta_72_ja.html @@ -0,0 +1,54 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

第 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..b2488de06 --- /dev/null +++ b/beta_72_ko.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

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..b2235f4a3 --- /dev/null +++ b/beta_72_pl.html @@ -0,0 +1,56 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..eb8a36ee6 --- /dev/null +++ b/beta_72_pt-br.html @@ -0,0 +1,54 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..ce1108dbe --- /dev/null +++ b/beta_72_ro.html @@ -0,0 +1,56 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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 și despre capacitățile dezvăluite 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..b2c80239b --- /dev/null +++ b/beta_72_ru.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Глава 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..fc2ead974 --- /dev/null +++ b/beta_72_th.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

บทที่ 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..8a437be61 --- /dev/null +++ b/beta_72_tr.html @@ -0,0 +1,54 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..10c8cbfa2 --- /dev/null +++ b/beta_72_ua.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Розділ 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..3ed3f8b5e --- /dev/null +++ b/beta_72_vi.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..60cc18ed6 --- /dev/null +++ b/beta_72_zh-cn.html @@ -0,0 +1,54 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

第六章 - 总结

+

现在你已经懂得 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..8cfbd869c --- /dev/null +++ b/beta_72_zh-tw.html @@ -0,0 +1,54 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

第六章 - 總結

+

現在你知道文字的基本了!如同你所看到的,萬國碼使得文字處理有一點難處理,但標準函式庫 (standard library) 有很多函式讓它容易被管理。

+

截至目前為止,我們大部份都以程序化程式設計 (procedural paradigm) 的角度來看待 Rust (即,單單只有函式跟資料), 但現在是時候讓我們討論特徵 (traits) 及 Rust 物件導向程式設計 (object oriented paradigm) 的能力了。

+ +
+
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..29d6729d7 --- /dev/null +++ b/beta_74_en.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

What Is OOP?

+

Object oriented programming roughly refers to programming languages that have a number of iconic features:

+ + +
+
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..4f6fd01b4 --- /dev/null +++ b/beta_74_es.html @@ -0,0 +1,59 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

¿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:

+ + +
+
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..b9dd462dc --- /dev/null +++ b/beta_74_fa.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

What Is OOP?

+

Object oriented programming roughly refers to programming languages that have a number of iconic features:

+ + +
+
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..25fcd82e2 --- /dev/null +++ b/beta_74_fr.html @@ -0,0 +1,64 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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:

+ + +
+
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..6c5b6c349 --- /dev/null +++ b/beta_74_hu.html @@ -0,0 +1,63 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

Mi az az OOP?

+

Az Objektum-Orientált Programozás többé-kevésbé olyan nyelvekre utal, amik a következő +tulajdonságokkal rendelkeznek:

+ + +
+
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..a8af5c102 --- /dev/null +++ b/beta_74_ie.html @@ -0,0 +1,59 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

Quo es OOP?

+

Object-orientat programmation, curtmen dit, parla pri lingues de programmation con quelc trates iconic:

+ + +
+
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..05025b394 --- /dev/null +++ b/beta_74_ja.html @@ -0,0 +1,59 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

オブジェクト指向プログラミングとは?

+

オブジェクト指向プログラミングとは、大まかに以下のようないくつかの象徴的な特徴を持つプログラミング言語のことです。

+ + +
+
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..9d2ee76d3 --- /dev/null +++ b/beta_74_ko.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

OOP란 무엇인가?

+

객체 지향 프로그래밍은 대충 다음과 같은 상징적 특징을 가진 프로그래밍 언어를 뜻합니다:

+ + +
+
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..829680c1f --- /dev/null +++ b/beta_74_pl.html @@ -0,0 +1,59 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

What Is OOP?

+

Object oriented programming roughly refers to programming languages that have a number of iconic features:

+ + +
+
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..4fdee043d --- /dev/null +++ b/beta_74_pt-br.html @@ -0,0 +1,59 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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:

+ + +
+
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..9f78234c7 --- /dev/null +++ b/beta_74_ro.html @@ -0,0 +1,59 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

Ce este POO?

+

Programarea orientată pe obiecte se referă, în linii mari, la limbajele de programare ce prezintă anumite caracteristici reprezentative:

+ + +
+
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..ea9ada2fd --- /dev/null +++ b/beta_74_ru.html @@ -0,0 +1,59 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Что такое ООП (OOP)?

+

Объектно-ориентированное программирование грубо говоря относится к языкам программирования, которые имеют некоторое количество символических особенностей:

+ + +
+
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..6580e90b3 --- /dev/null +++ b/beta_74_th.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

แล้ว OOP มันคืออะไร?

+

Object oriented programming หรือการโปรแกรมเชิงวัตถุ โดยทั่วไปมักจะหมายถึง คุณสมบัติที่โดดเด่นเหล่านี้:

+ + +
+
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..65752f987 --- /dev/null +++ b/beta_74_tr.html @@ -0,0 +1,59 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

Nesne Yönelimli Programlama Nedir?

+

Nesne yönelimli programlama aşağıda kabaca özetlenen, bir dizi ikonik özelliğe sahip programlama dillerini ifade eder:

+ + +
+
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..c594002b0 --- /dev/null +++ b/beta_74_ua.html @@ -0,0 +1,59 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Що таке ООП?

+

Об'єктно-орієнтоване програмування має наступні принципи:

+ + +
+
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..21c9f8fd5 --- /dev/null +++ b/beta_74_vi.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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:

+ + +
+
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..b789a65ab --- /dev/null +++ b/beta_74_zh-cn.html @@ -0,0 +1,59 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

什么是 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..ed586c5c6 --- /dev/null +++ b/beta_74_zh-tw.html @@ -0,0 +1,59 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

什麼是 OOP?

+

物件導向程式的語言,大致上會有這些明顯的特徵:

+ + +
+
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..49cbe3733 --- /dev/null +++ b/beta_75_en.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

Rust Is Not OOP

+

Rust lacks inheritance of data and behavior in any meaningful way.

+ +

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..5f51fb7ba --- /dev/null +++ b/beta_75_es.html @@ -0,0 +1,58 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

Rust No Es POO

+

Rust carece de herencia de datos y comportamiento de un modo significativo.

+ +

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..d758c707d --- /dev/null +++ b/beta_75_fa.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

Rust Is Not OOP

+

Rust lacks inheritance of data and behavior in any meaningful way.

+ +

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..45d2dc0bb --- /dev/null +++ b/beta_75_fr.html @@ -0,0 +1,59 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

Rust n'est pas POO

+

Il n'y a pas d'héritage avec Rust.

+ +

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..169d20c5f --- /dev/null +++ b/beta_75_hu.html @@ -0,0 +1,59 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

A Rust nem OOP

+

A Rust nyelvből hiányzik az adatok és viselkedés öröklése. Tehát:

+ +

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..7951e0b58 --- /dev/null +++ b/beta_75_ie.html @@ -0,0 +1,58 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

Rust ne es OOP

+

A Rust manca li grand trates de heredantie de data e conduida.

+ +

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..788f40232 --- /dev/null +++ b/beta_75_ja.html @@ -0,0 +1,58 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

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..81bd08695 --- /dev/null +++ b/beta_75_ko.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

Rust는 OOP가 아니다

+

Rust에서는 어떠한 방법으로도 데이터와 동작의 상속이 불가능합니다.

+ +

어쨌거나, 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..2cba12cc7 --- /dev/null +++ b/beta_75_pl.html @@ -0,0 +1,58 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

Rust Is Not OOP

+

Rust lacks inheritance of data and behavior in any meaningful way.

+ +

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..4ceb9843d --- /dev/null +++ b/beta_75_pt-br.html @@ -0,0 +1,58 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

Rust não é OOP

+

O Rust carece de herança de dados e comportamentos de qualquer maneira significativa.

+ +

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..265cd9606 --- /dev/null +++ b/beta_75_ro.html @@ -0,0 +1,58 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

Rust Nu Este POO

+

Rust nu dispune de o metodă semnificativă de moștenire a datelor și comportamentelor.

+ + +
+
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..a566f1468 --- /dev/null +++ b/beta_75_ru.html @@ -0,0 +1,58 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

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..8a7aa85ec --- /dev/null +++ b/beta_75_th.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

Rust ไม่ได้เป็น OOP

+

อย่างไรก็ดี Rust ยังขาดคุณสมบัติในเรื่องการสืบทอด ทั้งข้อมูลและพฤติกรรมในความหมายนั้น

+ +

ที่อยากจะบอกก็คือ 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..54a84db95 --- /dev/null +++ b/beta_75_tr.html @@ -0,0 +1,58 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

Rust Bir Nesne Yönelimli Programlama Dili Değildir

+

Rust, veri ve davranışları anlamlı olacak şekilde miras alma yeteneğinden yoksundur.

+ +

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..89d08c5d7 --- /dev/null +++ b/beta_75_ua.html @@ -0,0 +1,58 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

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..33bd401da --- /dev/null +++ b/beta_75_vi.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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.

+ +

Đ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..dca509633 --- /dev/null +++ b/beta_75_zh-cn.html @@ -0,0 +1,58 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

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..b1baffd87 --- /dev/null +++ b/beta_75_zh-tw.html @@ -0,0 +1,58 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

Rust 不是 OOP

+

Rust 沒有任何方式可以繼承資料及行為。

+ +

但是,Rust 實作許多程式語言的特徵,所以你可能不會注意到這些缺少的東西。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_76_en.html b/beta_76_en.html new file mode 100644 index 000000000..d62cc5d53 --- /dev/null +++ b/beta_76_en.html @@ -0,0 +1,68 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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:

+ +

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..5f0568ea7 --- /dev/null +++ b/beta_76_es.html @@ -0,0 +1,68 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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:

+ +

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..378ccf5f1 --- /dev/null +++ b/beta_76_fa.html @@ -0,0 +1,68 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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:

+ +

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..a028e9129 --- /dev/null +++ b/beta_76_fr.html @@ -0,0 +1,72 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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:

+ +

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..e90b72581 --- /dev/null +++ b/beta_76_hu.html @@ -0,0 +1,71 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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:

+ +

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..d27926d01 --- /dev/null +++ b/beta_76_ie.html @@ -0,0 +1,68 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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:

+ +

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..610257dbc --- /dev/null +++ b/beta_76_ja.html @@ -0,0 +1,68 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

メソッドによるカプセル化

+

Rustは、いくつかの関数(メソッド とも呼ばれる)に関連付けられた構造体である オブジェクト の概念をサポートしています。

+

どのメソッドの最初のパラメータも、メソッド呼び出しに関連付けられたインスタンスへの参照でなければなりません(例: instanceOfObj.foo())。Rustが使うのは下記の通り:

+ +

メソッドは、キーワード 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..8c18cc1af --- /dev/null +++ b/beta_76_ko.html @@ -0,0 +1,68 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

메소드 캡슐화 하기

+

Rust는 함수(메소드라고도 하는)가 연결된 struct인 객체라는 개념을 지원합니다.

+

모든 메소드의 첫번째 매개변수는 메소드 호출과 연관된 인스턴스에 대한 참조여야 합니다 (예: instanceOfObj.foo()). Rust에서는 다음을 사용합니다:

+ +

메소드는 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..0a696fb88 --- /dev/null +++ b/beta_76_pl.html @@ -0,0 +1,68 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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:

+ +

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..670828ff4 --- /dev/null +++ b/beta_76_pt-br.html @@ -0,0 +1,68 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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:

+ +

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..a24049643 --- /dev/null +++ b/beta_76_ro.html @@ -0,0 +1,68 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

Încapsulare prin matode

+

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:

+ +
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..1429f2ac3 --- /dev/null +++ b/beta_76_ru.html @@ -0,0 +1,68 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Инкапсуляция с помощью методов

+

Rust поддерживает концепцию объекта, который представляет собой структуру, связанную с некоторыми функциями (также известными как методы).

+

Первый параметр любого метода (а не функции) должен быть ссылкой на сам экземпляр, связанный с вызовом этого метода (например, instanceOfObj.foo()). Rust использует для этого параметра типы:

+ +

Методы определяются в блоке реализации начинающемся с ключевого слова 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..b7aca4731 --- /dev/null +++ b/beta_76_th.html @@ -0,0 +1,68 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

Encapsulation ด้วยการมีเมธอด

+

Rust สนับสนุนแนวคิดของ object ด้วยการผูกฟังก์ชันบางตัวไว้กับ struct ได้ (เราเรียกมันว่า เมธอด แทน)

+

โดยที่พารามิเตอร์ตัวแรกของเมธอดจะต้องอ้างถึง อินสแตนซ์ ที่มันยึดโยงอยู่ เพื่อให้เรียกใช้เป็นเมธอดได้ (ตัวอย่างเช่น instanceOfObj.foo()) วิธีที่ Rust ทำก็คือ

+ +

การกำหนดการทำงานของมันจะทำภายในบล็อกของคีย์เวิร์ด 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..18431650f --- /dev/null +++ b/beta_76_tr.html @@ -0,0 +1,68 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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:

+ +

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..f0c1738c4 --- /dev/null +++ b/beta_76_ua.html @@ -0,0 +1,68 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Інкапсуляція в методах

+

Rust підтримує концепцію об'єкта, який є структурою, пов'язаною з деякими функціями (також відомими як методи).

+

Першим параметром будь-якого методу має бути посилання на екземпляр пов'язаний з викликом методу (наприклад, instanceOfObj.foo()). Rust використовує:

+ +

Методи визначаються в блоці реалізації з ключовим словом 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..2b4d6ee0a --- /dev/null +++ b/beta_76_vi.html @@ -0,0 +1,68 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

Đó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:

+ +

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..98bede511 --- /dev/null +++ b/beta_76_zh-cn.html @@ -0,0 +1,68 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

使用方法进行封装

+

Rust 支持对象的概念。“对象”是一个与一些函数(也称为方法)相关联的结构体。

+

任何方法的第一个参数必须是与方法调用相关联的实例的引用。(例如 instanceOfObj.foo())。Rust 使用:

+ +

方法是在一个有 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..d8630a2d4 --- /dev/null +++ b/beta_76_zh-tw.html @@ -0,0 +1,68 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

封裝方法 (encapsulation with methods)

+

Rust 支援物件的概念,即是一個結構與它的一些函式 (或稱方法)。

+

方法呼叫時的第一個參數一定要是一個指向該實體的參考 (例如:instanceOfObj.foo())。 Rust 使用:

+ +

方法定義在實作區塊裡,並且用關鍵字 impl 包起來:

+
impl MyStruct { 
+    ...
+    fn foo(&self) {
+        ...
+    }
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_77_en.html b/beta_77_en.html new file mode 100644 index 000000000..fbde2464b --- /dev/null +++ b/beta_77_en.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..d6e75be03 --- /dev/null +++ b/beta_77_es.html @@ -0,0 +1,57 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..f7e1d998c --- /dev/null +++ b/beta_77_fa.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..fb9c46387 --- /dev/null +++ b/beta_77_fr.html @@ -0,0 +1,59 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..c71ac22e6 --- /dev/null +++ b/beta_77_hu.html @@ -0,0 +1,57 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..d5a68998d --- /dev/null +++ b/beta_77_ie.html @@ -0,0 +1,57 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..8f2d8d2c5 --- /dev/null +++ b/beta_77_ja.html @@ -0,0 +1,57 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

選択的な公開による抽象化

+

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..ca3e7e6e8 --- /dev/null +++ b/beta_77_ko.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

선택적 노출을 통한 추상화

+

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..ce4cd881a --- /dev/null +++ b/beta_77_pl.html @@ -0,0 +1,57 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..d40792be5 --- /dev/null +++ b/beta_77_pt-br.html @@ -0,0 +1,57 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..c8b927fd5 --- /dev/null +++ b/beta_77_ro.html @@ -0,0 +1,57 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

Abstracție prin Expunere Selectivă

+

Rust poate ascude 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..ed6812e9a --- /dev/null +++ b/beta_77_ru.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Абстракция с выборочной экспозицией (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..33e8fcf40 --- /dev/null +++ b/beta_77_th.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..749454823 --- /dev/null +++ b/beta_77_tr.html @@ -0,0 +1,57 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..1530eae0a --- /dev/null +++ b/beta_77_ua.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Абстракція з вибірковою експозицією

+

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..14bbfacd4 --- /dev/null +++ b/beta_77_vi.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..bd471e283 --- /dev/null +++ b/beta_77_zh-cn.html @@ -0,0 +1,57 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

抽象与选择性暴露

+

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..4e89fd704 --- /dev/null +++ b/beta_77_zh-tw.html @@ -0,0 +1,57 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

暴露指定的抽象化 (abstraction with selective exposure)

+

Rust 可以隱藏物件的實作細節。

+

欄位及方法預設只有屬於該模組 (module) 可以存取。

+

關鍵字 pub 可以暴露結構欄位及方法給外部模組使用。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_78_en.html b/beta_78_en.html new file mode 100644 index 000000000..b0a546631 --- /dev/null +++ b/beta_78_en.html @@ -0,0 +1,71 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..3dc11cb8c --- /dev/null +++ b/beta_78_es.html @@ -0,0 +1,70 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..aa93f2e04 --- /dev/null +++ b/beta_78_fa.html @@ -0,0 +1,71 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..2dc94f638 --- /dev/null +++ b/beta_78_fr.html @@ -0,0 +1,75 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..e1ea110a7 --- /dev/null +++ b/beta_78_hu.html @@ -0,0 +1,73 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..27c1ee193 --- /dev/null +++ b/beta_78_ie.html @@ -0,0 +1,71 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..da1fb90bc --- /dev/null +++ b/beta_78_ja.html @@ -0,0 +1,70 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

トレイトを用いたポリモーフィズム

+

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..d1b920cee --- /dev/null +++ b/beta_78_ko.html @@ -0,0 +1,71 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

다형성과 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..e62e0ac13 --- /dev/null +++ b/beta_78_pl.html @@ -0,0 +1,71 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..cb3b25c0d --- /dev/null +++ b/beta_78_pt-br.html @@ -0,0 +1,70 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..a8ecb9984 --- /dev/null +++ b/beta_78_ro.html @@ -0,0 +1,70 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..dab748233 --- /dev/null +++ b/beta_78_ru.html @@ -0,0 +1,70 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Полиморфизм с помощью типажей (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..a31ac08bd --- /dev/null +++ b/beta_78_th.html @@ -0,0 +1,71 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..0e2741633 --- /dev/null +++ b/beta_78_tr.html @@ -0,0 +1,70 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

Ö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..de062706e --- /dev/null +++ b/beta_78_ua.html @@ -0,0 +1,71 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Поліморфізм у 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..fcb67d989 --- /dev/null +++ b/beta_78_vi.html @@ -0,0 +1,70 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..e0f511db0 --- /dev/null +++ b/beta_78_zh-cn.html @@ -0,0 +1,70 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

使用 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..6765bcca7 --- /dev/null +++ b/beta_78_zh-tw.html @@ -0,0 +1,70 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

特徵多型 (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_en.html b/beta_79_en.html new file mode 100644 index 000000000..ef791b554 --- /dev/null +++ b/beta_79_en.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..97bc9375c --- /dev/null +++ b/beta_79_es.html @@ -0,0 +1,56 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..5c153fb86 --- /dev/null +++ b/beta_79_fa.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..ee9c231fd --- /dev/null +++ b/beta_79_fr.html @@ -0,0 +1,58 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..f02d26969 --- /dev/null +++ b/beta_79_hu.html @@ -0,0 +1,57 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..7fb2d3037 --- /dev/null +++ b/beta_79_ie.html @@ -0,0 +1,57 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..79be9d8bd --- /dev/null +++ b/beta_79_ja.html @@ -0,0 +1,56 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

トレイトに実装されたメソッド

+

トレイトは実装されたメソッドを持つことができます。

+

この関数は構造体の内部フィールドに直接アクセスすることはできませんが、多くのトレイトの実装の間で動作を共有するのに便利です。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_79_ko.html b/beta_79_ko.html new file mode 100644 index 000000000..15e4096e8 --- /dev/null +++ b/beta_79_ko.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

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..3c40a617e --- /dev/null +++ b/beta_79_pl.html @@ -0,0 +1,57 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..0dfc97c06 --- /dev/null +++ b/beta_79_pt-br.html @@ -0,0 +1,56 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..cec939ecb --- /dev/null +++ b/beta_79_ro.html @@ -0,0 +1,56 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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 implementarori 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..c011897f8 --- /dev/null +++ b/beta_79_ru.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Реализация методов в самих типажах

+

Типажи могут иметь реализованные методы.

+

Функции не имеют прямого доступа к внутренним полям структуры, но могут быть полезны для обмена поведением между многими реализациями типажа.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_79_th.html b/beta_79_th.html new file mode 100644 index 000000000..bb7206c85 --- /dev/null +++ b/beta_79_th.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

การสร้างเมธอดไว้ใน 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..a1a9f980c --- /dev/null +++ b/beta_79_tr.html @@ -0,0 +1,56 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

Ö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..dd43a285f --- /dev/null +++ b/beta_79_ua.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Імплементація методів у 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..4e86550ec --- /dev/null +++ b/beta_79_vi.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..34101fcca --- /dev/null +++ b/beta_79_zh-cn.html @@ -0,0 +1,56 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

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..b7ee024d4 --- /dev/null +++ b/beta_79_zh-tw.html @@ -0,0 +1,56 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

特徵上的方法 (implemented methods on 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..19032bbcf --- /dev/null +++ b/beta_80_en.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..f511a747e --- /dev/null +++ b/beta_80_es.html @@ -0,0 +1,55 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..640f0cc69 --- /dev/null +++ b/beta_80_fa.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..75cb95819 --- /dev/null +++ b/beta_80_fr.html @@ -0,0 +1,55 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..fcc7970d6 --- /dev/null +++ b/beta_80_hu.html @@ -0,0 +1,55 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..77081ff59 --- /dev/null +++ b/beta_80_ie.html @@ -0,0 +1,55 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..f87835920 --- /dev/null +++ b/beta_80_ja.html @@ -0,0 +1,55 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

トレイトの継承

+

トレイトは他のトレイトからメソッドを継承することができます。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_80_ko.html b/beta_80_ko.html new file mode 100644 index 000000000..51a4b77b3 --- /dev/null +++ b/beta_80_ko.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

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..f3f24645e --- /dev/null +++ b/beta_80_pl.html @@ -0,0 +1,55 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..ae2a7a692 --- /dev/null +++ b/beta_80_pt-br.html @@ -0,0 +1,55 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..a2453972d --- /dev/null +++ b/beta_80_ro.html @@ -0,0 +1,55 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..57422e164 --- /dev/null +++ b/beta_80_ru.html @@ -0,0 +1,55 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Наследование типажа (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..d268ee2b4 --- /dev/null +++ b/beta_80_th.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..d952bdd3f --- /dev/null +++ b/beta_80_tr.html @@ -0,0 +1,55 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

Ö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..2e31543a0 --- /dev/null +++ b/beta_80_ua.html @@ -0,0 +1,55 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Наслідування у 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..86c43f9e1 --- /dev/null +++ b/beta_80_vi.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..e4da200c7 --- /dev/null +++ b/beta_80_zh-cn.html @@ -0,0 +1,55 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

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..4e84b83b9 --- /dev/null +++ b/beta_80_zh-tw.html @@ -0,0 +1,55 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

特徵繼承 (trait inheritance)

+

特徵可以從其他特徵繼承方法。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_81_en.html b/beta_81_en.html new file mode 100644 index 000000000..ce8c5f1d0 --- /dev/null +++ b/beta_81_en.html @@ -0,0 +1,65 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

Dynamic vs Static Dispatch

+

Methods are executed in two ways:

+ +

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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_81_es.html b/beta_81_es.html new file mode 100644 index 000000000..6eaa6e876 --- /dev/null +++ b/beta_81_es.html @@ -0,0 +1,65 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

Resolución Dinámica y Estática

+

Los métodos se ejecutan de dos maneras:

+ +

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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_81_fa.html b/beta_81_fa.html new file mode 100644 index 000000000..e3659a100 --- /dev/null +++ b/beta_81_fa.html @@ -0,0 +1,65 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

Dynamic vs Static Dispatch

+

Methods are executed in two ways:

+ +

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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_81_fr.html b/beta_81_fr.html new file mode 100644 index 000000000..16af4aa5f --- /dev/null +++ b/beta_81_fr.html @@ -0,0 +1,71 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

Dispatch dynamique ou statique

+

Une méthode est exécutée de deux manières:

+ +

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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_81_hu.html b/beta_81_hu.html new file mode 100644 index 000000000..9f359d811 --- /dev/null +++ b/beta_81_hu.html @@ -0,0 +1,70 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

Dinamikus és statikus meghívás

+

A metódusok kétféleképp hívhatóak meg:

+ +

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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_81_ie.html b/beta_81_ie.html new file mode 100644 index 000000000..c3285682f --- /dev/null +++ b/beta_81_ie.html @@ -0,0 +1,60 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

Dinamic contra Static Dispatch (Depeche)

+

On execute metodes secun du manieres quam seque:

+ +

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..73e12a682 --- /dev/null +++ b/beta_81_ja.html @@ -0,0 +1,65 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

動的ディスパッチと静的ディスパッチ

+

メソッドは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..dac3466f0 --- /dev/null +++ b/beta_81_ko.html @@ -0,0 +1,65 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

동적 vs 정적 디스패치

+

메소드는 다음의 두 가지 방식으로 실행됩니다:

+ +

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..9908166a0 --- /dev/null +++ b/beta_81_pl.html @@ -0,0 +1,65 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

Dynamic vs Static Dispatch

+

Methods are executed in two ways:

+ +

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:

+ + +
+
+ +
+
+ + \ 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..811f0da2d --- /dev/null +++ b/beta_81_pt-br.html @@ -0,0 +1,65 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

Dispatch dinâmico x estático

+

Os métodos são executados de duas maneiras:

+ +

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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_81_ro.html b/beta_81_ro.html new file mode 100644 index 000000000..41690a657 --- /dev/null +++ b/beta_81_ro.html @@ -0,0 +1,63 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

Expediere Dinamică vs Statică

+

Metodele sunt executate în două moduri:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_81_ru.html b/beta_81_ru.html new file mode 100644 index 000000000..e393bc0bf --- /dev/null +++ b/beta_81_ru.html @@ -0,0 +1,65 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Динамическая vs Статическая диспетчеризация (Dynamic vs Static Dispatch)

+

Методы выполняются двумя способами:

+ +

Типы типажа в виде &dyn MyTrait дают возможность работать с экземплярами объектов косвенно, используя динамическую диспетчеризацию.

+

Когда используется динамическая диспетчеризация (dynamic dispatch), Rust будет просить вас поставить dyn перед типом типажа, чтобы люди знали об этом.

+

Детали для запоминания:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_81_th.html b/beta_81_th.html new file mode 100644 index 000000000..55ea952ae --- /dev/null +++ b/beta_81_th.html @@ -0,0 +1,65 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

Dynamic vs Static Dispatch

+

เมธอดถูกเรียกได้จากสองวิธี:

+ +

&dyn MyTrait เป็นประเภทของ trait ที่จะทำให้เราทำงานกับอินสแตนซ์นั้นได้ โดยทางอ้อม ผ่านทาง dynamic dispatch

+

เมื่อจะใช้ dynamic dispatch เมื่อไหร่ Rust แนะนำให้ใส่ dyn เข้าไปหน้าตัวแปร trait เพื่อให้คนอื่นรับรู้

+

รายละเอียดหน่วยความจำ:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_81_tr.html b/beta_81_tr.html new file mode 100644 index 000000000..74aad3998 --- /dev/null +++ b/beta_81_tr.html @@ -0,0 +1,65 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

Ya Dinamik Ya Statik İletim

+

Yöntemler iki şekilde işletilir:

+ +

&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ı:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_81_ua.html b/beta_81_ua.html new file mode 100644 index 000000000..37aba9ea5 --- /dev/null +++ b/beta_81_ua.html @@ -0,0 +1,65 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Динамічна та статична диспетчеризації.

+

Методи виконуються двома способами:

+ +

Типи трейтів &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..08c3d22e3 --- /dev/null +++ b/beta_81_vi.html @@ -0,0 +1,65 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

Đ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:

+ +

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ớ:

+ + +
+
+ +
+
+ + \ 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..0674c2249 --- /dev/null +++ b/beta_81_zh-cn.html @@ -0,0 +1,65 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

动态调度和静态调度

+

方法的执行有两种方式:

+ +

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..29a6fd5a4 --- /dev/null +++ b/beta_81_zh-tw.html @@ -0,0 +1,65 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

動態與靜態的發送 (dynamic vs static ispatch)

+

執行方法有兩種方式:

+ +

&dyn MyTrait 這個特徵型別讓我們有能力間接使用動態發送操作該實體物件。

+

當動態發送被使用時,Rust 鼓勵你將 dyn 放在你的特徵型別前面,這樣其他人才會知道。

+

記憶體細節:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_82_en.html b/beta_82_en.html new file mode 100644 index 000000000..a828d8131 --- /dev/null +++ b/beta_82_en.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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:

+ + +
+
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..39659e006 --- /dev/null +++ b/beta_82_es.html @@ -0,0 +1,58 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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:

+ + +
+
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..535ef558f --- /dev/null +++ b/beta_82_fa.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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:

+ + +
+
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..47e32ab2e --- /dev/null +++ b/beta_82_fr.html @@ -0,0 +1,63 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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:

+ + +
+
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..0b0828a61 --- /dev/null +++ b/beta_82_hu.html @@ -0,0 +1,61 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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:

+ + +
+
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..cf6f52184 --- /dev/null +++ b/beta_82_ie.html @@ -0,0 +1,59 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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:

+ + +
+
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..4de81388d --- /dev/null +++ b/beta_82_ja.html @@ -0,0 +1,58 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

トレイトオブジェクト

+

オブジェクトのインスタンスを &dyn MyTrait 型のパラメータに渡すとき、 トレイトオブジェクト と呼ばれるものを渡します。

+

インスタンスの正しいメソッドを間接的に呼び出すことを可能にするのがトレイトオブジェクトです。 トレイトオブジェクトは、インスタンスのポインタと、インスタンスのメソッドへの関数ポインタのリストを保持する構造体です。

+

メモリの詳細:

+ + +
+
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..eb641f626 --- /dev/null +++ b/beta_82_ko.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

Trait 객체

+

객체의 인스턴스를 &dyn MyTrait 자료형을 가진 매개변수로 넘길 때, 이를 trait 객체라고 부릅니다.

+

trait 객체는 인스턴스의 올바른 메소드를 간접적으로 호출할 수 있게 해줍니다. +trait 객체는 인스턴스에 대한 포인터와 인스턴스 메소드들에 대한 함수 포인터 목록을 갖고있는 struct입니다.

+

메모리 상세:

+ + +
+
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..967b0b3a3 --- /dev/null +++ b/beta_82_pl.html @@ -0,0 +1,59 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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:

+ + +
+
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..052c1360e --- /dev/null +++ b/beta_82_pt-br.html @@ -0,0 +1,58 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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:

+ + +
+
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..015f095af --- /dev/null +++ b/beta_82_ro.html @@ -0,0 +1,59 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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:

+ + +
+
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..8c709b9b4 --- /dev/null +++ b/beta_82_ru.html @@ -0,0 +1,58 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Типаж объекты (Trait Objects)

+

Когда мы передаем экземпляр объекта в параметр типа &dyn MyTrait, мы передаем то, что называется типаж объект (trait object).

+

Типаж объект (trait object) - это то, что позволяет нам косвенно вызывать правильные методы экземпляра объекта. Типаж объект - это структура, которая содержит указатель нашего экземпляра со списком указателей функций на методы этого экземпляра.

+

Детали для запоминания:

+ + +
+
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..83dc31342 --- /dev/null +++ b/beta_82_th.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

Trait Objects

+

เมื่อเราส่งผ่านอินสแตนซ์ของ object ลงไปเป็นพารามิเตอร์ด้วยประเภท &dyn MyTrait หมายถึงเรากำลังส่งวิธีเรียก trait object ลงไป

+

แปลว่า trait object ก็คือวิธีการ ที่จะเรียกเมธอดของอินสแตนซ์ แบบอ้อมๆ ซึ่งความจริง trait object ก็คือ struct ที่ครอบครอง พอยเตอร์ ที่ชี้ไปที่อินสแตนซ์ของเรา กับลิสต์ พอยเตอร์ของฟังก์ชัน ที่ชี้ไปเมธอดของอินสแตนซ์ตัวนั้น

+

รายละเอียดหน่วยความจำ:

+ + +
+
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..d95f99e04 --- /dev/null +++ b/beta_82_tr.html @@ -0,0 +1,58 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

Ö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ı:

+ + +
+
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..acc131e61 --- /dev/null +++ b/beta_82_ua.html @@ -0,0 +1,58 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Об'єкти в Traits

+

Коли ми передаємо екземпляр об'єкту в параметр типу `&dyn MyTrait' ми передаємо те, що називається об'єкт-трайтер.

+

Об'єкт-трейт - це те, що дозволяє нам опосередковано викликати коректні методи екземпляру. Об'єкт трейту - це структура, яка містить вказівник на на наш екземпляр зі списком вказівників функцій на методи нашого екземпляру.

+

Деталі роботи за памяттю:

+ + +
+
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..27339eb5c --- /dev/null +++ b/beta_82_vi.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

Đố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ớ:

+ + +
+
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..f27e31284 --- /dev/null +++ b/beta_82_zh-cn.html @@ -0,0 +1,58 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

Trait 对象

+

当我们将一个对象的实例传递给类型为 &dyn MyTrait 的参数时,我们传递的是所谓的 trait 对象

+

Trait 对象允许我们间接调用一个实例的正确方法。一个 trait 对象对应一个结构。 它保存着我们实例的指针,并保有一个指向我们实例方法的函数指针列表。

+

内存细节:

+ + +
+
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..c585c4581 --- /dev/null +++ b/beta_82_zh-tw.html @@ -0,0 +1,58 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

特徵物件 (trait objects)

+

當我們傳遞一個物件的實體給一個型別為 &dyn MyTrait 當作參數時,我們傳遞的就是特徵物件

+

一個特徵物件允許我們間接正確地呼叫一個實體的方法。一個特徵物件是一個擁有實體指標的結構, 該體實有一個函式指標的列表,這些函式指標指向實體的方法。

+

記憶體細節:

+ + +
+
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..f14a2d4b2 --- /dev/null +++ b/beta_83_en.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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:

+ + +
+
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..0a270cdc1 --- /dev/null +++ b/beta_83_es.html @@ -0,0 +1,57 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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:

+ + +
+
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..f96ca4b25 --- /dev/null +++ b/beta_83_fa.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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:

+ + +
+
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..5187a216e --- /dev/null +++ b/beta_83_fr.html @@ -0,0 +1,64 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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:

+ + +
+
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..0ee6150df --- /dev/null +++ b/beta_83_hu.html @@ -0,0 +1,63 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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:

+ +

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..6eb0130a5 --- /dev/null +++ b/beta_83_ie.html @@ -0,0 +1,58 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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:

+ + +
+
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..6d7ce800b --- /dev/null +++ b/beta_83_ja.html @@ -0,0 +1,59 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

サイズの合わないデータの処理

+

トレイトを別の構造体の中に格納する場合、興味深い問題が発生します。 +トレイトは元の構造体を難読化するため、元のサイズも難読化されます。 +Rustでは、構造体に格納されるサイズの合わない値は、2つの方法で処理されます。

+ + +
+
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..908019f10 --- /dev/null +++ b/beta_83_ko.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

크기를 알 수 없는 데이터 다루기

+

trait을 다른 struct에 저장하는 것도 흥미로운 도전과제입니다. +trait은 원본 struct를 알기 어렵게 하느라 원래 크기 또한 알기 어렵게 합니다. Rust에서 크기를 알 수 없는 값이 struct에 저장될 때는 다음의 두 가지 방법으로 처리됩니다:

+ + +
+
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..34f682b9a --- /dev/null +++ b/beta_83_pl.html @@ -0,0 +1,58 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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:

+ + +
+
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..2969d5f88 --- /dev/null +++ b/beta_83_pt-br.html @@ -0,0 +1,58 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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:

+ +

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..992bbb44d --- /dev/null +++ b/beta_83_ro.html @@ -0,0 +1,61 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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:

+ + +
+
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..80ad022aa --- /dev/null +++ b/beta_83_ru.html @@ -0,0 +1,58 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Обработка не размерных данных (Unsized Data)

+

Типажи представляют интересную проблему, когда мы хотим сохранить их в другой структуре. Типажи обфусцируют (obfuscate - запутывает) оригинальную структуру, +таким образом это также запутывает ее оригинальный размер. Не размерные значения, хранящиеся в структурах, обрабатываются в Rust двумя способами:

+ + +
+
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..48803cc9b --- /dev/null +++ b/beta_83_th.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

การจัดการข้อมูลที่ไม่รู้ไซส์

+

Traits ทำให้เกิดความยุ่งยากเมื่อเราอยากจะเก็บมันไว้ใน struct ตัวอื่น เพราะว่า Traits ทำให้เรามองเห็น struct ไม่ชัดเจน และความไม่ชัดเจนยังส่งผลไปที่ไซส์อีกด้วย +ตอนที่เราเอา ของที่เราไม่รู้ไซส์ที่แน่นอนนี้ไปใส่ใน struct จะมีวิธีจัดการมัน 2 วิธีคือ:

+ + +
+
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..feceaa52e --- /dev/null +++ b/beta_83_tr.html @@ -0,0 +1,57 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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:

+ + +
+
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..101dfc06c --- /dev/null +++ b/beta_83_ua.html @@ -0,0 +1,58 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Обробка нерозмірних даних

+

Трейти створюють цікавий виклик, коли ми хочемо зберігати їх у в іншій структурі. Трейти затушовують оригінальну структуру, +таким чином, вони також приховують оригінальний розмір. Безрозмірні значення, що зберігаються у структурах, у 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..3ebfa3521 --- /dev/null +++ b/beta_83_vi.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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:

+ + +
+
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..5bee26846 --- /dev/null +++ b/beta_83_zh-cn.html @@ -0,0 +1,57 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

处理未知大小的数据

+

当我们想把 Trait 存储在另一个结构中时,它们亦带来了一个有趣的挑战。 Trait 混淆了原始结构,因此它也混淆了原来的结构体的大小。在 Rust 中,在结构体中存储未知大小的值有两种处理方式。

+ + +
+
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..5bc1794a4 --- /dev/null +++ b/beta_83_zh-tw.html @@ -0,0 +1,57 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

處理末知大小的資料 (handling unsized data)

+

當我們想要將它們儲存在另一個結構時,特徵引入了一個有趣的挑戰。 特徵使原本的結構模糊不清,也使得原本的大小不清楚。在 Rust 裡,未知大小的數值被這兩種方式處理:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_84_en.html b/beta_84_en.html new file mode 100644 index 000000000..7cdb994b3 --- /dev/null +++ b/beta_84_en.html @@ -0,0 +1,66 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..2bd2b76f5 --- /dev/null +++ b/beta_84_es.html @@ -0,0 +1,64 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..8e394f7b9 --- /dev/null +++ b/beta_84_fa.html @@ -0,0 +1,66 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..ca811a2b7 --- /dev/null +++ b/beta_84_fr.html @@ -0,0 +1,70 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..ac2f78e97 --- /dev/null +++ b/beta_84_hu.html @@ -0,0 +1,69 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..99aa3bb1e --- /dev/null +++ b/beta_84_ie.html @@ -0,0 +1,66 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..2bb957263 --- /dev/null +++ b/beta_84_ja.html @@ -0,0 +1,64 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

ジェネリック関数

+

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..1e3d5a290 --- /dev/null +++ b/beta_84_ko.html @@ -0,0 +1,66 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

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..1b223009c --- /dev/null +++ b/beta_84_pl.html @@ -0,0 +1,66 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..209263ef3 --- /dev/null +++ b/beta_84_pt-br.html @@ -0,0 +1,64 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..6c4a12eca --- /dev/null +++ b/beta_84_ro.html @@ -0,0 +1,65 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..6a0193f65 --- /dev/null +++ b/beta_84_ru.html @@ -0,0 +1,64 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Обобщенные функции (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..a84d128d5 --- /dev/null +++ b/beta_84_th.html @@ -0,0 +1,64 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..9aa42f977 --- /dev/null +++ b/beta_84_tr.html @@ -0,0 +1,64 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..ab19a42ea --- /dev/null +++ b/beta_84_ua.html @@ -0,0 +1,64 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Узагальнені функції

+

Узагальнені типи (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..8a50f9357 --- /dev/null +++ b/beta_84_vi.html @@ -0,0 +1,64 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..507943a38 --- /dev/null +++ b/beta_84_zh-cn.html @@ -0,0 +1,64 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

泛型函数

+

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..a629eec11 --- /dev/null +++ b/beta_84_zh-tw.html @@ -0,0 +1,64 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

泛型函式 (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_en.html b/beta_85_en.html new file mode 100644 index 000000000..e00c66154 --- /dev/null +++ b/beta_85_en.html @@ -0,0 +1,67 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..f4751b62e --- /dev/null +++ b/beta_85_es.html @@ -0,0 +1,67 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..7ef3f6bf7 --- /dev/null +++ b/beta_85_fa.html @@ -0,0 +1,67 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..96a9a6040 --- /dev/null +++ b/beta_85_fr.html @@ -0,0 +1,68 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..8b4520a2c --- /dev/null +++ b/beta_85_hu.html @@ -0,0 +1,67 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..04f2b07b2 --- /dev/null +++ b/beta_85_ie.html @@ -0,0 +1,67 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..7cba5ae20 --- /dev/null +++ b/beta_85_ja.html @@ -0,0 +1,67 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

ジェネリクス関数の省略記法

+

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..92f9b468b --- /dev/null +++ b/beta_85_ko.html @@ -0,0 +1,67 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

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..1a3a5ce53 --- /dev/null +++ b/beta_85_pl.html @@ -0,0 +1,67 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..b35a97dd0 --- /dev/null +++ b/beta_85_pt-br.html @@ -0,0 +1,67 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..fc4d4c480 --- /dev/null +++ b/beta_85_ro.html @@ -0,0 +1,64 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

Prescurtare a Funcțiilor Generice

+

Rust are o prescurtare pentru exprimarea tipurilor generice constrânse de o trăsătură: +rust fn functia_mea(foo: impl Foo) { + ... +} +Este echivalent cu a scrie: +rust 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..88d4f334d --- /dev/null +++ b/beta_85_ru.html @@ -0,0 +1,67 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Сокращение в обобщенной функции (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..a1f71e01a --- /dev/null +++ b/beta_85_th.html @@ -0,0 +1,67 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..460bc5c95 --- /dev/null +++ b/beta_85_tr.html @@ -0,0 +1,67 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..ecfa5d881 --- /dev/null +++ b/beta_85_ua.html @@ -0,0 +1,67 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Скорочення в узагальнених функціях

+

У 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..594212af7 --- /dev/null +++ b/beta_85_vi.html @@ -0,0 +1,67 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..303f5b387 --- /dev/null +++ b/beta_85_zh-cn.html @@ -0,0 +1,67 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

泛型函数简写

+

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..f292a7586 --- /dev/null +++ b/beta_85_zh-tw.html @@ -0,0 +1,67 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

泛型函式簡寫 (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_en.html b/beta_86_en.html new file mode 100644 index 000000000..eecade869 --- /dev/null +++ b/beta_86_en.html @@ -0,0 +1,62 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..0943ce011 --- /dev/null +++ b/beta_86_es.html @@ -0,0 +1,60 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..60b64df89 --- /dev/null +++ b/beta_86_fa.html @@ -0,0 +1,62 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..2adfbf332 --- /dev/null +++ b/beta_86_fr.html @@ -0,0 +1,64 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..93f5e7fea --- /dev/null +++ b/beta_86_hu.html @@ -0,0 +1,63 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..e817819c9 --- /dev/null +++ b/beta_86_ie.html @@ -0,0 +1,61 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..054043735 --- /dev/null +++ b/beta_86_ja.html @@ -0,0 +1,60 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

ボックス

+

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..3ec3a2c7a --- /dev/null +++ b/beta_86_ko.html @@ -0,0 +1,61 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

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..3afcd4ac2 --- /dev/null +++ b/beta_86_pl.html @@ -0,0 +1,62 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..3be9e3303 --- /dev/null +++ b/beta_86_pt-br.html @@ -0,0 +1,60 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..525ac834e --- /dev/null +++ b/beta_86_ro.html @@ -0,0 +1,61 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..cf94334f5 --- /dev/null +++ b/beta_86_ru.html @@ -0,0 +1,60 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Тип умного указателя 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..c8c2151ea --- /dev/null +++ b/beta_86_th.html @@ -0,0 +1,60 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..9a3aa4bb8 --- /dev/null +++ b/beta_86_tr.html @@ -0,0 +1,59 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..6a3e04fe5 --- /dev/null +++ b/beta_86_ua.html @@ -0,0 +1,60 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

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..6edead394 --- /dev/null +++ b/beta_86_vi.html @@ -0,0 +1,60 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..e47c36ed4 --- /dev/null +++ b/beta_86_zh-cn.html @@ -0,0 +1,60 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

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..e19d17a80 --- /dev/null +++ b/beta_86_zh-tw.html @@ -0,0 +1,60 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

Box

+

Box 是一種資料結構,允許我們將資料從堆疊 (stack) 搬到推 (heap) 上。

+

Box 是一種結構,也被稱為智慧指標 (smart pointer),它擁有指向在堆上的資料的指標。

+

因為 Box 是一個已經大小的結構 (因為它只擁有一個指標),所以當我們一定要知道某個結構的欄位大小時, 它就常常被用到。

+

Box 非常常見,它可以被用在任何地方:

+
Box::new(Foo { ... })
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_87_en.html b/beta_87_en.html new file mode 100644 index 000000000..bfa5d6d4e --- /dev/null +++ b/beta_87_en.html @@ -0,0 +1,66 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..fd2241013 --- /dev/null +++ b/beta_87_es.html @@ -0,0 +1,66 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..e953b419e --- /dev/null +++ b/beta_87_fa.html @@ -0,0 +1,66 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..52bc8501f --- /dev/null +++ b/beta_87_fr.html @@ -0,0 +1,69 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..51c47d2f5 --- /dev/null +++ b/beta_87_hu.html @@ -0,0 +1,68 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..e537bf722 --- /dev/null +++ b/beta_87_ie.html @@ -0,0 +1,68 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..2a6745c9f --- /dev/null +++ b/beta_87_ja.html @@ -0,0 +1,66 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

ジェネリクス構造体のおさらい

+

ジェネリクス構造体は、そのパラメータ化された型が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..49bd42379 --- /dev/null +++ b/beta_87_ko.html @@ -0,0 +1,66 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

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..2104fbd70 --- /dev/null +++ b/beta_87_pl.html @@ -0,0 +1,66 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..82d845bea --- /dev/null +++ b/beta_87_pt-br.html @@ -0,0 +1,66 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..d5541ba0c --- /dev/null +++ b/beta_87_ro.html @@ -0,0 +1,66 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..cd7f9b01f --- /dev/null +++ b/beta_87_ru.html @@ -0,0 +1,66 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Обощенные структуры снова (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..1e967a45f --- /dev/null +++ b/beta_87_th.html @@ -0,0 +1,66 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

กลับมาหา 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..7bd0c66d8 --- /dev/null +++ b/beta_87_tr.html @@ -0,0 +1,67 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..0cd474431 --- /dev/null +++ b/beta_87_ua.html @@ -0,0 +1,66 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Узагальнені структури

+

Узагальнені структури також можуть мати свої узагальнені, параметризовані типи, обмежені трейтами.

+
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..7b3534778 --- /dev/null +++ b/beta_87_vi.html @@ -0,0 +1,66 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..80840ee43 --- /dev/null +++ b/beta_87_zh-cn.html @@ -0,0 +1,66 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

重温泛型结构体

+

泛型结构体也可以通过 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..c1e548d43 --- /dev/null +++ b/beta_87_zh-tw.html @@ -0,0 +1,66 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

重訪泛型結構 (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_en.html b/beta_88_en.html new file mode 100644 index 000000000..7e454479b --- /dev/null +++ b/beta_88_en.html @@ -0,0 +1,62 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..e62416129 --- /dev/null +++ b/beta_88_es.html @@ -0,0 +1,60 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..7db44ffd5 --- /dev/null +++ b/beta_88_fa.html @@ -0,0 +1,62 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..3ebf7656a --- /dev/null +++ b/beta_88_fr.html @@ -0,0 +1,66 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..2b94e51f4 --- /dev/null +++ b/beta_88_hu.html @@ -0,0 +1,64 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..5924b7e13 --- /dev/null +++ b/beta_88_ie.html @@ -0,0 +1,57 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..bd85e9566 --- /dev/null +++ b/beta_88_ja.html @@ -0,0 +1,61 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

第 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..14536d91b --- /dev/null +++ b/beta_88_ko.html @@ -0,0 +1,61 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

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..26fc849b8 --- /dev/null +++ b/beta_88_pl.html @@ -0,0 +1,62 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..ea479d91a --- /dev/null +++ b/beta_88_pt-br.html @@ -0,0 +1,58 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..ac8cf148b --- /dev/null +++ b/beta_88_ro.html @@ -0,0 +1,60 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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ăcutre 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..ccc9997a7 --- /dev/null +++ b/beta_88_ru.html @@ -0,0 +1,60 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Глава 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..79f44e012 --- /dev/null +++ b/beta_88_th.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

บทที่ 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..34f8f7da5 --- /dev/null +++ b/beta_88_tr.html @@ -0,0 +1,58 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..2db3c2700 --- /dev/null +++ b/beta_88_ua.html @@ -0,0 +1,62 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Розділ 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..9e9987705 --- /dev/null +++ b/beta_88_vi.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..264ae2e67 --- /dev/null +++ b/beta_88_zh-cn.html @@ -0,0 +1,59 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

第七章 - 总结

+

现在我们手头有了更多可以清晰地表达我们的想法的语言功能! +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..ac12a903d --- /dev/null +++ b/beta_88_zh-tw.html @@ -0,0 +1,59 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

第七章 - 總結

+

我們現在學會更多方式來清楚地表達我們的點子了! +Rust 的抽象化可能很簡單,但它們威力足夠使你快樂的 coding。 在此章節,我們也偷看了一下智慧指標 Box。下個章節我們將會學到更多有關智慧指標怎麼在其他特別的記憶體情況下幫助我們。

+

外部資源:

+ + +
+
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..4711ce8c9 --- /dev/null +++ b/beta_90_en.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..6849d71ed --- /dev/null +++ b/beta_90_es.html @@ -0,0 +1,53 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..8040b0d3e --- /dev/null +++ b/beta_90_fa.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..a72419dd1 --- /dev/null +++ b/beta_90_fr.html @@ -0,0 +1,58 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..d51f6ebcd --- /dev/null +++ b/beta_90_hu.html @@ -0,0 +1,57 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..c4fe1d375 --- /dev/null +++ b/beta_90_ie.html @@ -0,0 +1,57 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..2f76b5ee6 --- /dev/null +++ b/beta_90_ko.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

참조 다시 보기

+

참조는 근본적으로 메모리 상의 어떤 바이트들의 시작 위치를 가리키는 숫자일 뿐입니다. +참조의 유일한 용도는 특정 자료형의 데이터가 어디에 존재하는지에 대한 개념을 나타내는 것입니다. +일반 숫자와의 차이점은 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..fb313aae3 --- /dev/null +++ b/beta_90_pl.html @@ -0,0 +1,57 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..b3303b745 --- /dev/null +++ b/beta_90_pt-br.html @@ -0,0 +1,53 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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_ru.html b/beta_90_ru.html new file mode 100644 index 000000000..5762e7d59 --- /dev/null +++ b/beta_90_ru.html @@ -0,0 +1,53 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Ссылки снова (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..eb24a931e --- /dev/null +++ b/beta_90_th.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

กลับมาเรื่อง การอ้างอิง อีกรอบ

+

ความจริงแล้วการอ้างอิงมันก็แค่ตัวเลขที่บอกจุดเริ่มต้นของไบต์หนึ่งในหน่วยความจำ จุดประสงค์ก็เพื่อบอกให้รู้การมีอยู่ ว่าข้อมูลที่ระบุ 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..e4829036c --- /dev/null +++ b/beta_90_tr.html @@ -0,0 +1,53 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..b9a281f35 --- /dev/null +++ b/beta_90_ua.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Про посилання

+

По суті, посилання - це просто число, яке є стартовою позицією певних +байтів у пам'яті. Його єдина мета - дати уявлення, де знаходиться данні
+конкретного типу. Посилання відрізняється від звичайного числа тим, що 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..757d08bcb --- /dev/null +++ b/beta_90_vi.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..4dfb00b3d --- /dev/null +++ b/beta_90_zh-cn.html @@ -0,0 +1,53 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

重温引用

+

引用本质上只是表示内存中某些字节起始位置的数字。 它唯一的目的就是表示特定类型的数据存在于何处。 引用与数字的不同之处在于,Rust 将验证引用自身的生命周期不会超过它指向的内容(否则我们在使用它时会出错!)。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_91_en.html b/beta_91_en.html new file mode 100644 index 000000000..0b69215ee --- /dev/null +++ b/beta_91_en.html @@ -0,0 +1,72 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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:

+ +

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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_91_es.html b/beta_91_es.html new file mode 100644 index 000000000..c254e425c --- /dev/null +++ b/beta_91_es.html @@ -0,0 +1,66 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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:

+ +

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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_91_fa.html b/beta_91_fa.html new file mode 100644 index 000000000..2f37ec7a2 --- /dev/null +++ b/beta_91_fa.html @@ -0,0 +1,71 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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:

+ +

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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_91_fr.html b/beta_91_fr.html new file mode 100644 index 000000000..79fc94fee --- /dev/null +++ b/beta_91_fr.html @@ -0,0 +1,80 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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:

+ +

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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_91_hu.html b/beta_91_hu.html new file mode 100644 index 000000000..ba5998a66 --- /dev/null +++ b/beta_91_hu.html @@ -0,0 +1,73 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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:

+ +

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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_91_ie.html b/beta_91_ie.html new file mode 100644 index 000000000..0c391828b --- /dev/null +++ b/beta_91_ie.html @@ -0,0 +1,71 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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:

+ +

Detallies de memorie:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_91_ko.html b/beta_91_ko.html new file mode 100644 index 000000000..eccf49224 --- /dev/null +++ b/beta_91_ko.html @@ -0,0 +1,71 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

원시 포인터

+

참조는 더 원시적인 자료형인 raw pointer로 변환될 수 있습니다. +raw pointer는 숫자와 마찬가지로 거의 제한 없이 여기저기 복사하고 이동할 수 있습니다. +Rust는 raw pointer가 가리키는 메모리 위치의 유효성을 보증하지 않습니다.

+

raw pointer에는 두 종류가 있습니다:

+ +

raw pointer는 숫자와 상호 변환이 가능합니다 (예: usize).

+

raw pointer는 unsafe한 코드의 데이터에 접근할 수 있습니다 (이에 대해서는 뒤에 다루겠습니다).

+

메모리 상세:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_91_pl.html b/beta_91_pl.html new file mode 100644 index 000000000..b8a96ce62 --- /dev/null +++ b/beta_91_pl.html @@ -0,0 +1,72 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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:

+ +

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:

+ + +
+
+ +
+
+ + \ 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..e7eba5244 --- /dev/null +++ b/beta_91_pt-br.html @@ -0,0 +1,67 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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:

+ +

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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_91_ru.html b/beta_91_ru.html new file mode 100644 index 000000000..12f50d1e9 --- /dev/null +++ b/beta_91_ru.html @@ -0,0 +1,68 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Сырые указатели (Raw Pointers)

+

Ссылки можно сконвертировать в более примитивные типы, называемые raw pointer (сырой указатель). Почти как с числом, его можно копировать и передавать с небольшими ограничениями. +Rust не дает никаких гарантий относительно того места памяти, на которое он указывает.

+

Существует два типа сырых указателей:

+ +

Сырые указатели могут быть сконвертированы "из" или "в" числа (например, usize).

+

Сырые указатели могут обращаться к данным с помощью unsafe кода (детальнее позже).

+

Детали для запоминания:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_91_th.html b/beta_91_th.html new file mode 100644 index 000000000..806ba3a83 --- /dev/null +++ b/beta_91_th.html @@ -0,0 +1,72 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

Raw Pointers

+

การอ้างอิงสามารถเปลี่ยนไปเป็น type ตั้งต้นที่เรียกว่า raw pointer ได้ ซึ่งมันมีลักษณะเหมือนเลขปกติที่ คัดลอกได้เคลื่อนที่ได้โดยแทบจะไม่มีข้อจำกัด +ซึ่ง Rust จะไม่รับประกันความถูกต้องของตำแหน่งในหน่วยความจำที่มันจะชี้ไปถึง

+

raw pointer มีสองแบบ:

+ +

Raw pointers สามารถแปลงค่าไปเป็นตัวเลขและแปลงกลับได้ (เช่น usize)

+

Raw pointers สามารถเข้าถึงข้อมูลได้ด้วยการใช้ unsafe (กล่าวเพิ่มเติมภายหลัง)

+

รายละเอียดหน่วยความจำ:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_91_tr.html b/beta_91_tr.html new file mode 100644 index 000000000..89c3e328e --- /dev/null +++ b/beta_91_tr.html @@ -0,0 +1,67 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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:

+ +

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ı:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_91_ua.html b/beta_91_ua.html new file mode 100644 index 000000000..5fcf2457c --- /dev/null +++ b/beta_91_ua.html @@ -0,0 +1,72 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Необробленні покажчики (Raw Pointers)

+

Посилання можна перетворити у більш примітивний тип, який називається необробленні покажчики. Так само, як і числа їх +можна копіювати і переміщувати з невеликими обмеженнями. Rust не +гарантує існування місця у пам'яті на які вони вказують.

+

Існує 2 види необроблених покажчиків:

+ +

Необроблені покажчики можна перетворювати на числа та з них (наприклад, usize). +Необроблені покажчики можуть отримати доступ до даних за допомогою небезпечного коду (детальніше про це пізніше). +Деталі про роботу з пам'яттю:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_91_vi.html b/beta_91_vi.html new file mode 100644 index 000000000..2214402ee --- /dev/null +++ b/beta_91_vi.html @@ -0,0 +1,67 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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ô:

+ +

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ớ:

+ + +
+
+ +
+
+ + \ 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..0f8db7293 --- /dev/null +++ b/beta_91_zh-cn.html @@ -0,0 +1,67 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

指针

+

引用可以转换成一个更原始的类型,指针(raw pointer)。 像数字一样,它可以不受限制地复制和传递,但是Rust 不保证它指向的内存位置的有效性。 +有两种指针类型:

+ +

指针可以与数字相互转换(例如usize)。
+指针可以使用 unsafe 代码访问数据(稍后会详细介绍)。

+

内存细节:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_92_en.html b/beta_92_en.html new file mode 100644 index 000000000..65a0f0b2e --- /dev/null +++ b/beta_92_en.html @@ -0,0 +1,60 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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:

+ +

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..034385363 --- /dev/null +++ b/beta_92_es.html @@ -0,0 +1,59 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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:

+ +

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..8d0edaa3c --- /dev/null +++ b/beta_92_fa.html @@ -0,0 +1,60 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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:

+ +

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..bd3476197 --- /dev/null +++ b/beta_92_fr.html @@ -0,0 +1,61 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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:

+ +

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..88c7e5a10 --- /dev/null +++ b/beta_92_hu.html @@ -0,0 +1,60 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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:

+ +

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..45c99dfe7 --- /dev/null +++ b/beta_92_ie.html @@ -0,0 +1,60 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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:

+ + +
+
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..5faf0ff9d --- /dev/null +++ b/beta_92_ko.html @@ -0,0 +1,60 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

역참조

+

참조 (i.e. &i32)를 통해 참조되는 데이터를 접근/변경하는 과정을 +역참조라고 합니다.

+

참조로 데이터에 접근/변경하는 데에는 다음의 두 가지 방법이 있습니다:

+ +

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..bc873ab8b --- /dev/null +++ b/beta_92_pl.html @@ -0,0 +1,60 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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:

+ +

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..8995f204b --- /dev/null +++ b/beta_92_pt-br.html @@ -0,0 +1,59 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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:

+ +

O Rust tem alguns operadores poderosos que nos permitem fazer isso.

+ +
+
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..5c6282cc6 --- /dev/null +++ b/beta_92_ru.html @@ -0,0 +1,60 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Разыменование (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..af60746e0 --- /dev/null +++ b/beta_92_th.html @@ -0,0 +1,60 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..407d89162 --- /dev/null +++ b/beta_92_tr.html @@ -0,0 +1,60 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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:

+ +

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..3b78256a8 --- /dev/null +++ b/beta_92_ua.html @@ -0,0 +1,60 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Розіменування

+

Процес доступу/управління даними, на які посилаються +за посиланням (тобто &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..d34d2fc9d --- /dev/null +++ b/beta_92_vi.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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:

+ +

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..e99ba16e0 --- /dev/null +++ b/beta_92_zh-cn.html @@ -0,0 +1,59 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

解引用

+

访问或操作 由引用(例如&i32)指向的数据的过程称为解除引用
+有两种方式通过引用来访问或操作数据:

+ +

Rust 有一些强大的运算符可以让我们做到这一点。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_93_en.html b/beta_93_en.html new file mode 100644 index 000000000..a45ddabd6 --- /dev/null +++ b/beta_93_en.html @@ -0,0 +1,65 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_93_es.html b/beta_93_es.html new file mode 100644 index 000000000..ba42cf29d --- /dev/null +++ b/beta_93_es.html @@ -0,0 +1,64 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_93_fa.html b/beta_93_fa.html new file mode 100644 index 000000000..c031a8e58 --- /dev/null +++ b/beta_93_fa.html @@ -0,0 +1,65 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_93_fr.html b/beta_93_fr.html new file mode 100644 index 000000000..23b21146b --- /dev/null +++ b/beta_93_fr.html @@ -0,0 +1,66 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_93_hu.html b/beta_93_hu.html new file mode 100644 index 000000000..bfe1ba1a4 --- /dev/null +++ b/beta_93_hu.html @@ -0,0 +1,65 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_93_ie.html b/beta_93_ie.html new file mode 100644 index 000000000..fd3fb2697 --- /dev/null +++ b/beta_93_ie.html @@ -0,0 +1,65 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_93_ko.html b/beta_93_ko.html new file mode 100644 index 000000000..8d1985f44 --- /dev/null +++ b/beta_93_ko.html @@ -0,0 +1,65 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

* 연산자

+

* 연산자는 참조를 역참조 하는 명시적인 방법입니다.

+
let a: i32 = 42;
+let ref_ref_ref_a: &&&i32 = &&&a;
+let ref_a: &i32 = **ref_ref_ref_a;
+let b: i32 = *ref_a;
+
+

메모리 상세:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_93_pl.html b/beta_93_pl.html new file mode 100644 index 000000000..91f167149 --- /dev/null +++ b/beta_93_pl.html @@ -0,0 +1,65 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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:

+ + +
+
+ +
+
+ + \ 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..2373679ec --- /dev/null +++ b/beta_93_pt-br.html @@ -0,0 +1,64 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_93_ru.html b/beta_93_ru.html new file mode 100644 index 000000000..29bc9273f --- /dev/null +++ b/beta_93_ru.html @@ -0,0 +1,64 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Оператор * (звездочка)

+

Оператор * является явным способом разыменовать ссылку.

+
let a: i32 = 42;
+let ref_ref_ref_a: &&&i32 = &&&a;
+let ref_a: &i32 = **ref_ref_ref_a;
+let b: i32 = *ref_a;
+
+

Детали для запоминания:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_93_th.html b/beta_93_th.html new file mode 100644 index 000000000..43704bb68 --- /dev/null +++ b/beta_93_th.html @@ -0,0 +1,65 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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;
+
+

รายละเอียดหน่วยความจำ:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_93_tr.html b/beta_93_tr.html new file mode 100644 index 000000000..6802e97db --- /dev/null +++ b/beta_93_tr.html @@ -0,0 +1,64 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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ı:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_93_ua.html b/beta_93_ua.html new file mode 100644 index 000000000..f6a7a42f9 --- /dev/null +++ b/beta_93_ua.html @@ -0,0 +1,65 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Оператор *

+

Оператор * є явним способом для розіменування посилання.

+
let a: i32 = 42;
+let ref_ref_ref_a: &&&i32 = &&&a;
+let ref_a: &i32 = **ref_ref_ref_a;
+let b: i32 = *ref_a;
+
+

Деталі про роботу з пам'яттю:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_93_vi.html b/beta_93_vi.html new file mode 100644 index 000000000..3b5c77715 --- /dev/null +++ b/beta_93_vi.html @@ -0,0 +1,64 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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ớ:

+ + +
+
+ +
+
+ + \ 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..7fec18b1a --- /dev/null +++ b/beta_93_zh-cn.html @@ -0,0 +1,64 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

运算符 *

+

* 运算符是一种很明确的解引用的方法。

+
let a: i32 = 42;
+let ref_ref_ref_a: &&&i32 = &&&a;
+let ref_a: &i32 = **ref_ref_ref_a;
+let b: i32 = *ref_a;
+
+

内存细节:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_94_en.html b/beta_94_en.html new file mode 100644 index 000000000..8dbeb4120 --- /dev/null +++ b/beta_94_en.html @@ -0,0 +1,63 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..719b0bbac --- /dev/null +++ b/beta_94_es.html @@ -0,0 +1,62 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..03f0b0566 --- /dev/null +++ b/beta_94_fa.html @@ -0,0 +1,63 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..2ef4e23d2 --- /dev/null +++ b/beta_94_fr.html @@ -0,0 +1,66 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..2b537f619 --- /dev/null +++ b/beta_94_hu.html @@ -0,0 +1,64 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..8f90785d8 --- /dev/null +++ b/beta_94_ie.html @@ -0,0 +1,64 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..9ac4a49f4 --- /dev/null +++ b/beta_94_ko.html @@ -0,0 +1,63 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

. 연산자

+

. 연산자는 참조의 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..babda245b --- /dev/null +++ b/beta_94_pl.html @@ -0,0 +1,63 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..91e984c94 --- /dev/null +++ b/beta_94_pt-br.html @@ -0,0 +1,62 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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_ru.html b/beta_94_ru.html new file mode 100644 index 000000000..2f3c4baa4 --- /dev/null +++ b/beta_94_ru.html @@ -0,0 +1,62 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Оператор . (точка)

+

Оператор . используется для доступа к полям и методам ссылки. Он работает более тонко.

+
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..a95039cfc --- /dev/null +++ b/beta_94_th.html @@ -0,0 +1,62 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..8a3bbfd1e --- /dev/null +++ b/beta_94_tr.html @@ -0,0 +1,62 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..826f57454 --- /dev/null +++ b/beta_94_ua.html @@ -0,0 +1,63 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Оператор .

+

Оператор . використовується для доступу до полів і методів посилання. Це працює дещо тонше.

+
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..27efb6725 --- /dev/null +++ b/beta_94_vi.html @@ -0,0 +1,62 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..30453d089 --- /dev/null +++ b/beta_94_zh-cn.html @@ -0,0 +1,62 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

运算符 .

+

.运算符用于访问引用的字段和方法,它的工作原理更加巧妙。

+
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_en.html b/beta_95_en.html new file mode 100644 index 000000000..b8a043cd3 --- /dev/null +++ b/beta_95_en.html @@ -0,0 +1,61 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..ec82168ed --- /dev/null +++ b/beta_95_es.html @@ -0,0 +1,57 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..cfbd59420 --- /dev/null +++ b/beta_95_fa.html @@ -0,0 +1,61 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..2cac7494b --- /dev/null +++ b/beta_95_fr.html @@ -0,0 +1,65 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..68cbc7706 --- /dev/null +++ b/beta_95_hu.html @@ -0,0 +1,61 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..15da7d00f --- /dev/null +++ b/beta_95_ie.html @@ -0,0 +1,61 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..97b1f2873 --- /dev/null +++ b/beta_95_ko.html @@ -0,0 +1,61 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

스마트 포인터

+

& 연산자로 이미 존재하는 데이터의 참조를 생성하는 기능과 더불어, +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..ac331cf9f --- /dev/null +++ b/beta_95_pl.html @@ -0,0 +1,61 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..94cab390a --- /dev/null +++ b/beta_95_pt-br.html @@ -0,0 +1,57 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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_ru.html b/beta_95_ru.html new file mode 100644 index 000000000..a7f67cb62 --- /dev/null +++ b/beta_95_ru.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Умные указатели (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..7d04f2da4 --- /dev/null +++ b/beta_95_th.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..db6ba3b38 --- /dev/null +++ b/beta_95_tr.html @@ -0,0 +1,57 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..ae1706b30 --- /dev/null +++ b/beta_95_ua.html @@ -0,0 +1,61 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Розумні вказівники (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..df3ead269 --- /dev/null +++ b/beta_95_vi.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..22e1c2f55 --- /dev/null +++ b/beta_95_zh-cn.html @@ -0,0 +1,57 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

智能指针

+

除了能够使用&运算符创建对现有类型数据的引用之外, Rust 给我们提供了能够创建称为智能指针类引用结构。
+我们可以在高层次上将引用视为一种类型,它使我们能够访问另一种类型. 智能指针的行为与普通引用不同,因为它们基于程序员编写的内部逻辑进行操作. 作为程序员的你就是智能的一部分。
+通常,智能指针实现了 DerefDerefMutDrop 特征,以指定当使用 *. 运算符时解引用应该触发的逻辑。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_96_en.html b/beta_96_en.html new file mode 100644 index 000000000..9387feeb2 --- /dev/null +++ b/beta_96_en.html @@ -0,0 +1,63 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..668daeed3 --- /dev/null +++ b/beta_96_es.html @@ -0,0 +1,58 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..50d361e04 --- /dev/null +++ b/beta_96_fa.html @@ -0,0 +1,63 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..f6646c1c5 --- /dev/null +++ b/beta_96_fr.html @@ -0,0 +1,67 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..2eeda15ff --- /dev/null +++ b/beta_96_hu.html @@ -0,0 +1,69 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..e86d36692 --- /dev/null +++ b/beta_96_ie.html @@ -0,0 +1,64 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..4c64408d3 --- /dev/null +++ b/beta_96_ko.html @@ -0,0 +1,63 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

위험한 스마트 코드

+

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..ee5e0d3af --- /dev/null +++ b/beta_96_pl.html @@ -0,0 +1,63 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..90e8552fd --- /dev/null +++ b/beta_96_pt-br.html @@ -0,0 +1,59 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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_ru.html b/beta_96_ru.html new file mode 100644 index 000000000..74928b487 --- /dev/null +++ b/beta_96_ru.html @@ -0,0 +1,59 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Умный небезопасный код (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..802162899 --- /dev/null +++ b/beta_96_th.html @@ -0,0 +1,60 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..7c4ae6e7f --- /dev/null +++ b/beta_96_tr.html @@ -0,0 +1,58 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..c9c720289 --- /dev/null +++ b/beta_96_ua.html @@ -0,0 +1,63 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Розумний небезпечний код (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..04dff25cc --- /dev/null +++ b/beta_96_vi.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..641226aa0 --- /dev/null +++ b/beta_96_zh-cn.html @@ -0,0 +1,59 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

智能不安全代码

+

智能指针倾向于经常使用不安全的代码。如前所述,它们是与 Rust 中最低级别的内存进行交互的常用工具。
+什么是不安全代码? 不安全代码的行为与普通 Rust 完全一样,除了一些 Rust 编译器无法保证的功能。
+不安全代码的主要功能是解引用指针。 这意味着将原始指针指向内存中的某个位置并声明“此处存在数据结构!” 并将其转换为您可以使用的数据表示(例如将*const u8 转换为u8)。 Rust 无法跟踪写入内存的每个字节的含义。 + 因为 Rust 不能保证在用作 指针 的任意数字上存在什么,所以它将解引用放在一个 unsafe { ... } 块中。

+

智能指针广泛地被用来解引用指针,它们的作用得到了很好的证明。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_97_en.html b/beta_97_en.html new file mode 100644 index 000000000..ae34eb5d7 --- /dev/null +++ b/beta_97_en.html @@ -0,0 +1,66 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_97_es.html b/beta_97_es.html new file mode 100644 index 000000000..c61de60fd --- /dev/null +++ b/beta_97_es.html @@ -0,0 +1,62 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_97_fa.html b/beta_97_fa.html new file mode 100644 index 000000000..0163f742f --- /dev/null +++ b/beta_97_fa.html @@ -0,0 +1,66 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_97_fr.html b/beta_97_fr.html new file mode 100644 index 000000000..5a32fab34 --- /dev/null +++ b/beta_97_fr.html @@ -0,0 +1,74 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_97_hu.html b/beta_97_hu.html new file mode 100644 index 000000000..9c8f47571 --- /dev/null +++ b/beta_97_hu.html @@ -0,0 +1,72 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_97_ie.html b/beta_97_ie.html new file mode 100644 index 000000000..91ef83320 --- /dev/null +++ b/beta_97_ie.html @@ -0,0 +1,66 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_97_ko.html b/beta_97_ko.html new file mode 100644 index 000000000..51fbfd70b --- /dev/null +++ b/beta_97_ko.html @@ -0,0 +1,67 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

익숙한 친구들

+

이미 본 적 있는 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한 역참조를 사용합니다.

+

메모리 상세:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_97_pl.html b/beta_97_pl.html new file mode 100644 index 000000000..fd180f39e --- /dev/null +++ b/beta_97_pl.html @@ -0,0 +1,66 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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:

+ + +
+
+ +
+
+ + \ 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..5a81d6ad8 --- /dev/null +++ b/beta_97_pt-br.html @@ -0,0 +1,62 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_97_ru.html b/beta_97_ru.html new file mode 100644 index 000000000..293743632 --- /dev/null +++ b/beta_97_ru.html @@ -0,0 +1,62 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Знакомые друзья (Familiar Friends)

+

Рассмотрим некоторые умные указатели, которые мы уже видели, вроде Vec<T> и String.

+

Vec<T> является умным указателем, который владеет некоторым регионом байт памяти. Компилятор Rust не имеет понятия, что находится в этих байтах. Умный указатель интерпретирует их, что означает захват элементов из этой управляемой памяти, отслеживание где начинаются и заканчиваются структуры данных в этих байтах и затем, наконец, разыменовывание сырого указателя на структуры данных в виде красивого, чистого, эргономичного интерфейса, который можно использовать (например my_vec[3]).

+

Аналогично String отслеживает область байт памяти, программно ограничивает записанное в её содержимое так, чтобы оно было всегда допустимым utf-8 символом и помогает разыменовать эту область памяти в тип &str.

+

Обе эти структуры используют небезопасное разыменование сырых указателей для выполнения своей работы.

+

Детали для запоминания:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_97_th.html b/beta_97_th.html new file mode 100644 index 000000000..4eeb5fdec --- /dev/null +++ b/beta_97_th.html @@ -0,0 +1,63 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

เพื่อนที่คุ้นเคย

+

คราวนี้เรามาพิจารณา 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

+

รายละเอียดหน่วยความจำ:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_97_tr.html b/beta_97_tr.html new file mode 100644 index 000000000..157597c52 --- /dev/null +++ b/beta_97_tr.html @@ -0,0 +1,62 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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ı:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_97_ua.html b/beta_97_ua.html new file mode 100644 index 000000000..369ca3e6b --- /dev/null +++ b/beta_97_ua.html @@ -0,0 +1,66 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Наші старі друзі

+

Розглянемо деякі розумні покажчики, які ми вже бачили, такі як Vec<T> та String.

+

Vec<T> - це розумний покажчик, який просто володіє деякою областю пам'яті у байтах. Компілятор Rust не має жодного уявлення про те, що +знаходиться у цих байтах. Розумний вказівник інтерпретує, тобто захоплює елементи з області пам'яті, якою він керує, +відстежує, де починаються і де закінчуються структури даних у цих байтах, і потім нарешті розіменовує необроблений вказівник +на структури даних з гарним чистим і лаконічним інтерфейсом, якими ми можемо користуватися (наприклад, my_vec[3]).

+

Аналогічно, String відстежує область пам'яті у байтах, і програмно обмежує вміст, що записується до неї, щоб завжди +бути коректною у кодуванні utf-8 і допомагає розіменовувати цю ділянку пам'яті до типу &str.

+

Обидві ці структури даних використовують небезпечне розіменування необроблених вказівників для виконання вказівників для виконання своєї роботи.

+

Подробиці про роботу з пам'ятю:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_97_vi.html b/beta_97_vi.html new file mode 100644 index 000000000..ade14a9a4 --- /dev/null +++ b/beta_97_vi.html @@ -0,0 +1,62 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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ớ:

+ + +
+
+ +
+
+ + \ 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..e7e78ecdc --- /dev/null +++ b/beta_97_zh-cn.html @@ -0,0 +1,64 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

熟悉的朋友

+

想一想一些我们已经见过的智能指针,例如 Vec<T>String

+

Vec<T> 是一个智能指针,它只拥有一些字节的内存区域。 Rust 编译器不知道这些字节中存在着什么。 智能指针解释从它管理的内存区域获取数据意味着什么,跟踪这些字节中的数据结构开始和结束的位置,最后将指针解引用到数据结构中, 成为一个漂亮干净的可以阅读的接口供我们使用(例如my_vec[3])。

+

类似地,String 跟踪字节的内存区域,并以编程方式将写入其中的内容限制为始终有效的 utf-8,并帮助将该内存区域解引用为类型 &str

+

这两种数据结构都使用不安全的解引用指针来完成它们的工作。

+

内存细节:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_98_en.html b/beta_98_en.html new file mode 100644 index 000000000..30d26148d --- /dev/null +++ b/beta_98_en.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..c8579aa53 --- /dev/null +++ b/beta_98_es.html @@ -0,0 +1,56 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..43ff29e24 --- /dev/null +++ b/beta_98_fa.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..177fdca1f --- /dev/null +++ b/beta_98_fr.html @@ -0,0 +1,58 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..1f9969485 --- /dev/null +++ b/beta_98_hu.html @@ -0,0 +1,56 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..d501b97fb --- /dev/null +++ b/beta_98_ie.html @@ -0,0 +1,56 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..bbfce7ae4 --- /dev/null +++ b/beta_98_ko.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

힙에 할당된 메모리

+

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..360efe863 --- /dev/null +++ b/beta_98_pl.html @@ -0,0 +1,56 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..bc288d01e --- /dev/null +++ b/beta_98_pt-br.html @@ -0,0 +1,56 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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_ru.html b/beta_98_ru.html new file mode 100644 index 000000000..49acf24b4 --- /dev/null +++ b/beta_98_ru.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Память, выделяемая в куче (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..e1f4402f1 --- /dev/null +++ b/beta_98_th.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

การจัดสรรพื้นที่ใน 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..13f669238 --- /dev/null +++ b/beta_98_tr.html @@ -0,0 +1,56 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

Ö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..678fb9fe3 --- /dev/null +++ b/beta_98_ua.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Пам'ять у купі (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..e64720dcc --- /dev/null +++ b/beta_98_vi.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..b2f556159 --- /dev/null +++ b/beta_98_zh-cn.html @@ -0,0 +1,56 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

堆分配内存

+

Box 是一个可以让我们将数据从堆栈移动到堆的智能指针。

+

解引用可以让我们以人类更容易理解的方式使用堆分配的数据,就好像它是原始类型一样。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_99_en.html b/beta_99_en.html new file mode 100644 index 000000000..6d696893e --- /dev/null +++ b/beta_99_en.html @@ -0,0 +1,63 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..46240b826 --- /dev/null +++ b/beta_99_es.html @@ -0,0 +1,59 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..e6873289b --- /dev/null +++ b/beta_99_fa.html @@ -0,0 +1,63 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..4d37aab1e --- /dev/null +++ b/beta_99_fr.html @@ -0,0 +1,68 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..94baa89a2 --- /dev/null +++ b/beta_99_hu.html @@ -0,0 +1,64 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..6d8bb2e5a --- /dev/null +++ b/beta_99_ie.html @@ -0,0 +1,63 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..1fba37169 --- /dev/null +++ b/beta_99_ko.html @@ -0,0 +1,63 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

실패할 수 있는 메인 다시 보기

+

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..2a61a653f --- /dev/null +++ b/beta_99_pl.html @@ -0,0 +1,63 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..f026bc807 --- /dev/null +++ b/beta_99_pt-br.html @@ -0,0 +1,59 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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_ru.html b/beta_99_ru.html new file mode 100644 index 000000000..2d37abdc9 --- /dev/null +++ b/beta_99_ru.html @@ -0,0 +1,59 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Сигнатура ошибки в функции 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..e5978e6e9 --- /dev/null +++ b/beta_99_th.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

กลับมาที่ 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..ed77f890c --- /dev/null +++ b/beta_99_tr.html @@ -0,0 +1,59 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..d1aa69ca3 --- /dev/null +++ b/beta_99_ua.html @@ -0,0 +1,63 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Обробка помилок функції 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..83738f071 --- /dev/null +++ b/beta_99_vi.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..cbd6bfd7c --- /dev/null +++ b/beta_99_zh-cn.html @@ -0,0 +1,59 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

重温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_de.html b/beta_chapter_10_de.html new file mode 100644 index 000000000..4a6965b20 --- /dev/null +++ b/beta_chapter_10_de.html @@ -0,0 +1,56 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour durch Rust + + Inhaltsverzeichnis +
+
+

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..759986198 --- /dev/null +++ b/beta_chapter_10_en.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..cec3eb7df --- /dev/null +++ b/beta_chapter_10_es.html @@ -0,0 +1,53 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..367a779ed --- /dev/null +++ b/beta_chapter_10_fa.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..f17fada3f --- /dev/null +++ b/beta_chapter_10_fr.html @@ -0,0 +1,60 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..9951c5c67 --- /dev/null +++ b/beta_chapter_10_gr.html @@ -0,0 +1,56 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

Κεφάλαιο 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..a3bf6360a --- /dev/null +++ b/beta_chapter_10_hu.html @@ -0,0 +1,58 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..63c482c1f --- /dev/null +++ b/beta_chapter_10_ie.html @@ -0,0 +1,53 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..68a5aaec7 --- /dev/null +++ b/beta_chapter_10_ja.html @@ -0,0 +1,57 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

第 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..612eac137 --- /dev/null +++ b/beta_chapter_10_ko.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

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..2cd825f8a --- /dev/null +++ b/beta_chapter_10_pl.html @@ -0,0 +1,57 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..5de7e3a75 --- /dev/null +++ b/beta_chapter_10_pt-br.html @@ -0,0 +1,53 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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_ru.html b/beta_chapter_10_ru.html new file mode 100644 index 000000000..3f70b0615 --- /dev/null +++ b/beta_chapter_10_ru.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Глава 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..f3b5ffb91 --- /dev/null +++ b/beta_chapter_10_th.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

บทที่ 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..e694c7893 --- /dev/null +++ b/beta_chapter_10_tr.html @@ -0,0 +1,58 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..106acc41c --- /dev/null +++ b/beta_chapter_10_ua.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Розділ 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..448811d4c --- /dev/null +++ b/beta_chapter_10_vi.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..3f06d9456 --- /dev/null +++ b/beta_chapter_10_zh-cn.html @@ -0,0 +1,56 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

尾声

+

我们很高兴你能完成 Rust 之旅。Ferris 和 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..838770d68 --- /dev/null +++ b/beta_chapter_1_de.html @@ -0,0 +1,55 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour durch Rust + + Inhaltsverzeichnis +
+
+

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..5e8c2cf77 --- /dev/null +++ b/beta_chapter_1_en.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..de6f47424 --- /dev/null +++ b/beta_chapter_1_es.html @@ -0,0 +1,54 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..f3e4b7730 --- /dev/null +++ b/beta_chapter_1_fa.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..21aef30c5 --- /dev/null +++ b/beta_chapter_1_fi.html @@ -0,0 +1,55 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

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..96a27a7cf --- /dev/null +++ b/beta_chapter_1_fr.html @@ -0,0 +1,56 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..288fd6f13 --- /dev/null +++ b/beta_chapter_1_gr.html @@ -0,0 +1,54 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

Κεφάλαιο 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..96453fc3e --- /dev/null +++ b/beta_chapter_1_hu.html @@ -0,0 +1,56 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..8b786d64d --- /dev/null +++ b/beta_chapter_1_id.html @@ -0,0 +1,56 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

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..327e24e7d --- /dev/null +++ b/beta_chapter_1_ie.html @@ -0,0 +1,53 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..11445980c --- /dev/null +++ b/beta_chapter_1_it.html @@ -0,0 +1,55 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

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..4a6e2cc84 --- /dev/null +++ b/beta_chapter_1_ja.html @@ -0,0 +1,54 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

第 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..49c6dda15 --- /dev/null +++ b/beta_chapter_1_ko.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

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..118cfb1b1 --- /dev/null +++ b/beta_chapter_1_pl.html @@ -0,0 +1,55 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..ae1922871 --- /dev/null +++ b/beta_chapter_1_pt-br.html @@ -0,0 +1,54 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..235172e4c --- /dev/null +++ b/beta_chapter_1_ro.html @@ -0,0 +1,56 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

Capitolul 1 - Ideiile ș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..5e31f0de3 --- /dev/null +++ b/beta_chapter_1_ru.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Глава 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..a0d3a5831 --- /dev/null +++ b/beta_chapter_1_th.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

บทที่ 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..4b39ed67b --- /dev/null +++ b/beta_chapter_1_tr.html @@ -0,0 +1,54 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..cb189977b --- /dev/null +++ b/beta_chapter_1_ua.html @@ -0,0 +1,54 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Розділ 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..21596112f --- /dev/null +++ b/beta_chapter_1_vi.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..629fa6d05 --- /dev/null +++ b/beta_chapter_1_zh-cn.html @@ -0,0 +1,55 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

第一章 - 基础知识

+

在第一章中,我们将探讨函数、变量和最基本的类型等基础知识。欢迎入坑!

+

并且~以防你好奇这个跟你说话的螃蟹是谁,我叫 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..f75b92d72 --- /dev/null +++ b/beta_chapter_1_zh-tw.html @@ -0,0 +1,54 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

第一章 - 基礎概念

+

在此第一章中,我們會探討最基本的函數(functions),變量(variables),及大部份的基本類型 (primitive types)。歡迎你的參加這次 Rust 之旅。 +還有如果您好奇這一隻正在限您說話的,又可愛的螃蟹是誰。請容許我自我介紹! 我是非官方的 Rust 語言吉祥物很高興認識您!

+ +
+
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..4fbab553b --- /dev/null +++ b/beta_chapter_2_de.html @@ -0,0 +1,56 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour durch Rust + + Inhaltsverzeichnis +
+
+

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..46b212da3 --- /dev/null +++ b/beta_chapter_2_en.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..d9c320268 --- /dev/null +++ b/beta_chapter_2_es.html @@ -0,0 +1,54 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..23af95110 --- /dev/null +++ b/beta_chapter_2_fa.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..6154d2a29 --- /dev/null +++ b/beta_chapter_2_fi.html @@ -0,0 +1,55 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

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..fbbe47d2e --- /dev/null +++ b/beta_chapter_2_fr.html @@ -0,0 +1,55 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..625731dd1 --- /dev/null +++ b/beta_chapter_2_gr.html @@ -0,0 +1,54 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

Κεφάλαιο 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..b56bf1be0 --- /dev/null +++ b/beta_chapter_2_hu.html @@ -0,0 +1,54 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..200cf6094 --- /dev/null +++ b/beta_chapter_2_id.html @@ -0,0 +1,54 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

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..6abbef1be --- /dev/null +++ b/beta_chapter_2_ie.html @@ -0,0 +1,53 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..376977e7c --- /dev/null +++ b/beta_chapter_2_it.html @@ -0,0 +1,54 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

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..f69f3b02f --- /dev/null +++ b/beta_chapter_2_ja.html @@ -0,0 +1,54 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

第 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..5cee0bba3 --- /dev/null +++ b/beta_chapter_2_ko.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

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..a162079cf --- /dev/null +++ b/beta_chapter_2_pl.html @@ -0,0 +1,55 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..45f70ba7d --- /dev/null +++ b/beta_chapter_2_pt-br.html @@ -0,0 +1,54 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..dae4b48bf --- /dev/null +++ b/beta_chapter_2_ro.html @@ -0,0 +1,55 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..ea2fb1cf8 --- /dev/null +++ b/beta_chapter_2_ru.html @@ -0,0 +1,55 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Глава 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..6f4d7d56d --- /dev/null +++ b/beta_chapter_2_th.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

บทที่ 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..9f312de2e --- /dev/null +++ b/beta_chapter_2_tr.html @@ -0,0 +1,53 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..3fcbc3304 --- /dev/null +++ b/beta_chapter_2_ua.html @@ -0,0 +1,54 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Розділ 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..79ba13014 --- /dev/null +++ b/beta_chapter_2_vi.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..9754a0aa5 --- /dev/null +++ b/beta_chapter_2_zh-cn.html @@ -0,0 +1,53 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

第二章 - 基本控制流

+

在本章中,我们将讨论 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..30ac40d79 --- /dev/null +++ b/beta_chapter_2_zh-tw.html @@ -0,0 +1,54 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

第二章 - 基本流程控制

+

在這個章節,我們會探討 Rust 裡的基本流程控制。 +如果你已經熟悉 C 相關語言,那你將會猶如處在自家廚房般,甚至偶爾會碰上一兩個驚喜呢!

+ +
+
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..7f42030e3 --- /dev/null +++ b/beta_chapter_3_de.html @@ -0,0 +1,55 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour durch Rust + + Inhaltsverzeichnis +
+
+

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..f8aba9828 --- /dev/null +++ b/beta_chapter_3_en.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..86a4af818 --- /dev/null +++ b/beta_chapter_3_es.html @@ -0,0 +1,55 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..8d4404180 --- /dev/null +++ b/beta_chapter_3_fa.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..57a3a4283 --- /dev/null +++ b/beta_chapter_3_fr.html @@ -0,0 +1,56 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..8c3deb732 --- /dev/null +++ b/beta_chapter_3_gr.html @@ -0,0 +1,53 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

Κεφάλαιο 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..fcacb9d9a --- /dev/null +++ b/beta_chapter_3_hu.html @@ -0,0 +1,55 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..e594fe94a --- /dev/null +++ b/beta_chapter_3_ie.html @@ -0,0 +1,55 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..d86ad8517 --- /dev/null +++ b/beta_chapter_3_it.html @@ -0,0 +1,53 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

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..093baf3e1 --- /dev/null +++ b/beta_chapter_3_ja.html @@ -0,0 +1,54 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

第 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..dfce09da6 --- /dev/null +++ b/beta_chapter_3_ko.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

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..632a88c90 --- /dev/null +++ b/beta_chapter_3_pl.html @@ -0,0 +1,55 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..bc790b7cf --- /dev/null +++ b/beta_chapter_3_pt-br.html @@ -0,0 +1,53 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..184ad0dea --- /dev/null +++ b/beta_chapter_3_ro.html @@ -0,0 +1,55 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..7fae2f2ea --- /dev/null +++ b/beta_chapter_3_ru.html @@ -0,0 +1,54 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Глава 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..fdd22af24 --- /dev/null +++ b/beta_chapter_3_th.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

บทที่ 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..5e293ac27 --- /dev/null +++ b/beta_chapter_3_tr.html @@ -0,0 +1,54 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..11d3ea73d --- /dev/null +++ b/beta_chapter_3_ua.html @@ -0,0 +1,54 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Розділ 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..736162198 --- /dev/null +++ b/beta_chapter_3_vi.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..ec5d512ae --- /dev/null +++ b/beta_chapter_3_zh-cn.html @@ -0,0 +1,54 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

第三章 - 基本数据结构类型

+

现在是我们探索基本类型之外内容的时候了!在本章中,我们将查看 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..a32e64ba0 --- /dev/null +++ b/beta_chapter_3_zh-tw.html @@ -0,0 +1,53 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

第三章 - 基本資料結構 (data structures)

+

是時候讓我們探討基本型別了!在這個章節,我們將會看看 Rust 裡最原始的資料結構,特別注意它們在記憶體裡是如何呈現的。 我想你會享受到 Rust 替你隱藏起來的東西有多麼少。

+ +
+
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..c05ffd91d --- /dev/null +++ b/beta_chapter_4_de.html @@ -0,0 +1,55 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour durch Rust + + Inhaltsverzeichnis +
+
+

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..15ce9c039 --- /dev/null +++ b/beta_chapter_4_en.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..552ef9d4b --- /dev/null +++ b/beta_chapter_4_es.html @@ -0,0 +1,55 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..95306ea23 --- /dev/null +++ b/beta_chapter_4_fa.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..6cfacf979 --- /dev/null +++ b/beta_chapter_4_fr.html @@ -0,0 +1,56 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..8dec49e17 --- /dev/null +++ b/beta_chapter_4_gr.html @@ -0,0 +1,53 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

Κεφάλαιο 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..93f3e14b7 --- /dev/null +++ b/beta_chapter_4_hu.html @@ -0,0 +1,56 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..a8c07cfa6 --- /dev/null +++ b/beta_chapter_4_ie.html @@ -0,0 +1,56 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..8d7a00d63 --- /dev/null +++ b/beta_chapter_4_it.html @@ -0,0 +1,56 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

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..b2f9bb241 --- /dev/null +++ b/beta_chapter_4_ja.html @@ -0,0 +1,55 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

第 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..5fb035104 --- /dev/null +++ b/beta_chapter_4_ko.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

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..9b669fdfa --- /dev/null +++ b/beta_chapter_4_pl.html @@ -0,0 +1,54 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..fee5aa980 --- /dev/null +++ b/beta_chapter_4_pt-br.html @@ -0,0 +1,53 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..152e8ffc0 --- /dev/null +++ b/beta_chapter_4_ro.html @@ -0,0 +1,56 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..8a93391bc --- /dev/null +++ b/beta_chapter_4_ru.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Глава 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..0ebe4faca --- /dev/null +++ b/beta_chapter_4_th.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..c019c1b90 --- /dev/null +++ b/beta_chapter_4_tr.html @@ -0,0 +1,53 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..0a87823d5 --- /dev/null +++ b/beta_chapter_4_ua.html @@ -0,0 +1,54 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Розділ 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..bf691775c --- /dev/null +++ b/beta_chapter_4_vi.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..10f0fbf93 --- /dev/null +++ b/beta_chapter_4_zh-cn.html @@ -0,0 +1,54 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

第四章 - 泛型

+

泛型在 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..f636bfc5f --- /dev/null +++ b/beta_chapter_4_zh-tw.html @@ -0,0 +1,53 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

第四章 - 泛型 (generic types)

+

泛型在 Rust 裡是非常重要的。它們被用來表示空值 (即那些還沒有值的變量)、錯誤處理、集合及其他更多東西! 在此章節我們將會學習泛型的基礎,你很有可能將會一直使用到它。

+ +
+
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..e6b7cfc44 --- /dev/null +++ b/beta_chapter_5_en.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..1059ae94c --- /dev/null +++ b/beta_chapter_5_es.html @@ -0,0 +1,53 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..0b8a2f734 --- /dev/null +++ b/beta_chapter_5_fa.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..ea35bb54f --- /dev/null +++ b/beta_chapter_5_fr.html @@ -0,0 +1,57 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..a0259d1f7 --- /dev/null +++ b/beta_chapter_5_gr.html @@ -0,0 +1,53 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

Κεφάλαιο 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..2cf005032 --- /dev/null +++ b/beta_chapter_5_hu.html @@ -0,0 +1,56 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..d10dea6cb --- /dev/null +++ b/beta_chapter_5_ie.html @@ -0,0 +1,55 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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_ja.html b/beta_chapter_5_ja.html new file mode 100644 index 000000000..1448a0a79 --- /dev/null +++ b/beta_chapter_5_ja.html @@ -0,0 +1,56 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

第 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..23cc041db --- /dev/null +++ b/beta_chapter_5_ko.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

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..837fce7ac --- /dev/null +++ b/beta_chapter_5_pl.html @@ -0,0 +1,55 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..4687891f3 --- /dev/null +++ b/beta_chapter_5_pt-br.html @@ -0,0 +1,53 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..80d7ee9b1 --- /dev/null +++ b/beta_chapter_5_ro.html @@ -0,0 +1,55 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..ff7ca9392 --- /dev/null +++ b/beta_chapter_5_ru.html @@ -0,0 +1,53 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Глава 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..e5e839b2c --- /dev/null +++ b/beta_chapter_5_th.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

บทที่ 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..4e920cac8 --- /dev/null +++ b/beta_chapter_5_tr.html @@ -0,0 +1,53 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..ab4fb16ba --- /dev/null +++ b/beta_chapter_5_ua.html @@ -0,0 +1,55 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Розділ 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..53a1e52f5 --- /dev/null +++ b/beta_chapter_5_vi.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..9a34d1375 --- /dev/null +++ b/beta_chapter_5_zh-cn.html @@ -0,0 +1,53 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

第五章 - 所有权和数据借用

+

相较于其他编程语言,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..29d428e0f --- /dev/null +++ b/beta_chapter_5_zh-tw.html @@ -0,0 +1,53 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

第五章 - 擁有權 (ownership) 與借資料 (borrowing data)

+

與其他語言相比,Rust 有一套獨特的方式管理記憶體。我們將會逐一檢視這些行為以及編譯器的驗證,以免一下壓垮你。 有一點要特別記得的是,這些規則的最終目標都是為了幫助你的程式碼有較少錯誤,而不是讓你的人生更痛苦。

+ +
+
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..cb642dda9 --- /dev/null +++ b/beta_chapter_6_en.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..db5eb7cf4 --- /dev/null +++ b/beta_chapter_6_es.html @@ -0,0 +1,53 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..c88992aa5 --- /dev/null +++ b/beta_chapter_6_fa.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..84c9cb4d0 --- /dev/null +++ b/beta_chapter_6_fr.html @@ -0,0 +1,57 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..c81899746 --- /dev/null +++ b/beta_chapter_6_hu.html @@ -0,0 +1,57 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..d9e0a3a52 --- /dev/null +++ b/beta_chapter_6_ie.html @@ -0,0 +1,55 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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_ja.html b/beta_chapter_6_ja.html new file mode 100644 index 000000000..7f1bb4b55 --- /dev/null +++ b/beta_chapter_6_ja.html @@ -0,0 +1,55 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

第 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..eb274e631 --- /dev/null +++ b/beta_chapter_6_ko.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

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..97a7d8f63 --- /dev/null +++ b/beta_chapter_6_pl.html @@ -0,0 +1,55 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..5283c80a9 --- /dev/null +++ b/beta_chapter_6_pt-br.html @@ -0,0 +1,54 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..e117957d9 --- /dev/null +++ b/beta_chapter_6_ro.html @@ -0,0 +1,55 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

Capitolul 6 - Text

+

Acum că înțelegem puțin modul în care Rust gestionează memoria, suntem pregătiti să discutăm mai detaliat despre folosirea textelor. +Limbajul Rust acorda multă importanță 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 lor.

+ +
+
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..cd8e792bd --- /dev/null +++ b/beta_chapter_6_ru.html @@ -0,0 +1,55 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Глава 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..647515f8e --- /dev/null +++ b/beta_chapter_6_th.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

บทที่ 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..5c46d181c --- /dev/null +++ b/beta_chapter_6_tr.html @@ -0,0 +1,53 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..882ea000b --- /dev/null +++ b/beta_chapter_6_ua.html @@ -0,0 +1,55 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Розділ 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..ddc36b924 --- /dev/null +++ b/beta_chapter_6_vi.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..60e8160f6 --- /dev/null +++ b/beta_chapter_6_zh-cn.html @@ -0,0 +1,54 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

第六章 - 文本

+

了解完了 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..d181369ba --- /dev/null +++ b/beta_chapter_6_zh-tw.html @@ -0,0 +1,54 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

第六章 - 文字

+

現在我們稍微了解 Rust 的記憶體了,我們準備更詳細的討論文字。 +Rust 非常在意國際語言,及從位元組 (byte) 層面來看,你可能不是那麼熟悉的語言。 即是,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..fbea45144 --- /dev/null +++ b/beta_chapter_7_en.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..22ac78cde --- /dev/null +++ b/beta_chapter_7_es.html @@ -0,0 +1,53 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..d9c6b6405 --- /dev/null +++ b/beta_chapter_7_fa.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..c686f59be --- /dev/null +++ b/beta_chapter_7_fr.html @@ -0,0 +1,58 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..4c35eac19 --- /dev/null +++ b/beta_chapter_7_hu.html @@ -0,0 +1,57 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..f91313ccd --- /dev/null +++ b/beta_chapter_7_ie.html @@ -0,0 +1,56 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..fd6c0af5a --- /dev/null +++ b/beta_chapter_7_ja.html @@ -0,0 +1,53 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

第 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..cc5bed128 --- /dev/null +++ b/beta_chapter_7_ko.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

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..0102454c0 --- /dev/null +++ b/beta_chapter_7_pl.html @@ -0,0 +1,56 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..987dc28b8 --- /dev/null +++ b/beta_chapter_7_pt-br.html @@ -0,0 +1,53 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..03540c1da --- /dev/null +++ b/beta_chapter_7_ro.html @@ -0,0 +1,55 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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 agregatii ș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..bca5b9e4b --- /dev/null +++ b/beta_chapter_7_ru.html @@ -0,0 +1,53 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Глава 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..75fb428a7 --- /dev/null +++ b/beta_chapter_7_th.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..3a696eb5d --- /dev/null +++ b/beta_chapter_7_tr.html @@ -0,0 +1,55 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..3ea66a124 --- /dev/null +++ b/beta_chapter_7_ua.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Розділ 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..fc33e4875 --- /dev/null +++ b/beta_chapter_7_vi.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..8130bb3cc --- /dev/null +++ b/beta_chapter_7_zh-cn.html @@ -0,0 +1,53 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

第七章 - 面向对象编程

+

用函数表达思想是一种成熟的行为和数据表示方式(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..d9aa10a2e --- /dev/null +++ b/beta_chapter_7_zh-tw.html @@ -0,0 +1,54 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

第七章 - 物件導向程式 (object oriented programming)

+

使用函式來表達點子是一個已經被證實用來表示行為及資料的方式 (C 已經這樣做了幾十年了!)。 +從歷史上來看,電腦科學發現了其他非常有表達力的聚合式 (aggregation) 及抽象資料。 你可能已經熟悉其中一種物件導向程式。在此章節我們將會探索 Rust 這門程式語言函式以上的東西。

+ +
+
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..28aca7c6a --- /dev/null +++ b/beta_chapter_8_en.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..4c8c5f795 --- /dev/null +++ b/beta_chapter_8_es.html @@ -0,0 +1,54 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..d299fcc97 --- /dev/null +++ b/beta_chapter_8_fa.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..ff36b40d3 --- /dev/null +++ b/beta_chapter_8_fr.html @@ -0,0 +1,60 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..9138c7ede --- /dev/null +++ b/beta_chapter_8_hu.html @@ -0,0 +1,59 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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!"

+ + +
+
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..690e531fc --- /dev/null +++ b/beta_chapter_8_ie.html @@ -0,0 +1,58 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..67fbe4549 --- /dev/null +++ b/beta_chapter_8_ko.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

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..a5e9e66ea --- /dev/null +++ b/beta_chapter_8_pl.html @@ -0,0 +1,58 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..86a901f59 --- /dev/null +++ b/beta_chapter_8_pt-br.html @@ -0,0 +1,54 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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_ru.html b/beta_chapter_8_ru.html new file mode 100644 index 000000000..671269984 --- /dev/null +++ b/beta_chapter_8_ru.html @@ -0,0 +1,54 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

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..3eaefdcab --- /dev/null +++ b/beta_chapter_8_th.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

บทที่ 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..7d79191b7 --- /dev/null +++ b/beta_chapter_8_tr.html @@ -0,0 +1,54 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..1395661fa --- /dev/null +++ b/beta_chapter_8_ua.html @@ -0,0 +1,59 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Розділ 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..b8ababf28 --- /dev/null +++ b/beta_chapter_8_vi.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..35660580f --- /dev/null +++ b/beta_chapter_8_zh-cn.html @@ -0,0 +1,54 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

第8章 - 智能指针

+

在本章中,我们将揭开智能指针的神秘面纱。 让我们探索一下能够让我们与最底层内存打交道的这些数据结构。 +Ferris 说:“读完这一章之后,即使您觉得仍然不能编写管理底层内存的代码也不用觉得不知所措。 本章主要是向您介绍一些有用的工具并简要了解他们如何工作!”

+ +
+
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..633c6aadf --- /dev/null +++ b/beta_chapter_9_de.html @@ -0,0 +1,53 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour durch Rust + + Inhaltsverzeichnis +
+
+

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..2b83219b8 --- /dev/null +++ b/beta_chapter_9_en.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..8d2df1563 --- /dev/null +++ b/beta_chapter_9_es.html @@ -0,0 +1,53 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..8a8fb6207 --- /dev/null +++ b/beta_chapter_9_fa.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..2c1ae3bca --- /dev/null +++ b/beta_chapter_9_fr.html @@ -0,0 +1,56 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..bda064599 --- /dev/null +++ b/beta_chapter_9_hu.html @@ -0,0 +1,54 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..21b809560 --- /dev/null +++ b/beta_chapter_9_ie.html @@ -0,0 +1,53 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..31c936475 --- /dev/null +++ b/beta_chapter_9_ko.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

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..49cb8c96e --- /dev/null +++ b/beta_chapter_9_pl.html @@ -0,0 +1,53 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..ae4da4f89 --- /dev/null +++ b/beta_chapter_9_pt-br.html @@ -0,0 +1,53 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..7caae4cee --- /dev/null +++ b/beta_chapter_9_ro.html @@ -0,0 +1,53 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..3f044a96b --- /dev/null +++ b/beta_chapter_9_ru.html @@ -0,0 +1,53 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Глава 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..b782184ba --- /dev/null +++ b/beta_chapter_9_th.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

บทที่ 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..eb3d77202 --- /dev/null +++ b/beta_chapter_9_tr.html @@ -0,0 +1,53 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..12beba473 --- /dev/null +++ b/beta_chapter_9_ua.html @@ -0,0 +1,53 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Розділ 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..7f98e4f71 --- /dev/null +++ b/beta_chapter_9_vi.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..b136bad5e --- /dev/null +++ b/beta_chapter_9_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_index.html b/beta_index.html new file mode 100644 index 000000000..3b03aa15a --- /dev/null +++ b/beta_index.html @@ -0,0 +1,82 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

Hello World!

+

Welcome to the Tour of Rust

+

Happy 1 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_de.html b/chapter_10_de.html new file mode 100644 index 000000000..193b8bc2e --- /dev/null +++ b/chapter_10_de.html @@ -0,0 +1,56 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour durch Rust + + Inhaltsverzeichnis +
+
+

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..6fa7b1d9c --- /dev/null +++ b/chapter_10_en.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..8cb161a98 --- /dev/null +++ b/chapter_10_es.html @@ -0,0 +1,53 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..2ce36b49b --- /dev/null +++ b/chapter_10_fa.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..c12e15d44 --- /dev/null +++ b/chapter_10_fi.html @@ -0,0 +1,57 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

[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..ee1dcb436 --- /dev/null +++ b/chapter_10_fr.html @@ -0,0 +1,60 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..5151fb043 --- /dev/null +++ b/chapter_10_gr.html @@ -0,0 +1,56 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

Κεφάλαιο 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..fe52910fc --- /dev/null +++ b/chapter_10_hu.html @@ -0,0 +1,58 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..f544518c3 --- /dev/null +++ b/chapter_10_id.html @@ -0,0 +1,57 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[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..81255f966 --- /dev/null +++ b/chapter_10_ie.html @@ -0,0 +1,53 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..9a4a20451 --- /dev/null +++ b/chapter_10_it.html @@ -0,0 +1,57 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

[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..3425ecf13 --- /dev/null +++ b/chapter_10_ja.html @@ -0,0 +1,57 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

第 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..bf83bbdb5 --- /dev/null +++ b/chapter_10_ko.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

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..b245efdf3 --- /dev/null +++ b/chapter_10_pl.html @@ -0,0 +1,57 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..9435b7ab7 --- /dev/null +++ b/chapter_10_pt-br.html @@ -0,0 +1,53 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..186e4a0e9 --- /dev/null +++ b/chapter_10_ro.html @@ -0,0 +1,57 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

[Nu e tradus] 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_ru.html b/chapter_10_ru.html new file mode 100644 index 000000000..af189452b --- /dev/null +++ b/chapter_10_ru.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Глава 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..2b2d2ec4f --- /dev/null +++ b/chapter_10_th.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

บทที่ 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..c625af5c7 --- /dev/null +++ b/chapter_10_tr.html @@ -0,0 +1,58 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..feaed3bdd --- /dev/null +++ b/chapter_10_ua.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Розділ 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..d116ab0f7 --- /dev/null +++ b/chapter_10_vi.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..ed3b1f633 --- /dev/null +++ b/chapter_10_zh-cn.html @@ -0,0 +1,56 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

尾声

+

我们很高兴你能完成 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..eb76c5b7e --- /dev/null +++ b/chapter_10_zh-tw.html @@ -0,0 +1,57 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

[沒有翻譯] 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_de.html b/chapter_1_de.html new file mode 100644 index 000000000..9928fa6d1 --- /dev/null +++ b/chapter_1_de.html @@ -0,0 +1,55 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour durch Rust + + Inhaltsverzeichnis +
+
+

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..090f13726 --- /dev/null +++ b/chapter_1_en.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..b1d4b9084 --- /dev/null +++ b/chapter_1_es.html @@ -0,0 +1,54 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..54f37dcc5 --- /dev/null +++ b/chapter_1_fa.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..c80d98a09 --- /dev/null +++ b/chapter_1_fi.html @@ -0,0 +1,55 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

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..e29b6edb6 --- /dev/null +++ b/chapter_1_fr.html @@ -0,0 +1,56 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..470b608fb --- /dev/null +++ b/chapter_1_gr.html @@ -0,0 +1,54 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

Κεφάλαιο 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..54571caa4 --- /dev/null +++ b/chapter_1_hu.html @@ -0,0 +1,56 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..3db5a59b7 --- /dev/null +++ b/chapter_1_id.html @@ -0,0 +1,56 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

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..96846c790 --- /dev/null +++ b/chapter_1_ie.html @@ -0,0 +1,53 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..92a7dc067 --- /dev/null +++ b/chapter_1_it.html @@ -0,0 +1,55 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

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..e74b46ad4 --- /dev/null +++ b/chapter_1_ja.html @@ -0,0 +1,54 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

第 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..c7c437584 --- /dev/null +++ b/chapter_1_ko.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

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..183797311 --- /dev/null +++ b/chapter_1_pl.html @@ -0,0 +1,55 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..61df51c03 --- /dev/null +++ b/chapter_1_pt-br.html @@ -0,0 +1,54 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..9751517e5 --- /dev/null +++ b/chapter_1_ro.html @@ -0,0 +1,56 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

Capitolul 1 - Ideiile ș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..dfa0a447c --- /dev/null +++ b/chapter_1_ru.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Глава 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..f4635da20 --- /dev/null +++ b/chapter_1_th.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

บทที่ 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..f12c179c4 --- /dev/null +++ b/chapter_1_tr.html @@ -0,0 +1,54 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..ddee20e3b --- /dev/null +++ b/chapter_1_ua.html @@ -0,0 +1,54 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Розділ 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..9fdea35e6 --- /dev/null +++ b/chapter_1_vi.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..700a20842 --- /dev/null +++ b/chapter_1_zh-cn.html @@ -0,0 +1,55 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

第一章 - 基础知识

+

在第一章中,我们将探讨函数、变量和最基本的类型等基础知识。欢迎入坑!

+

并且~以防你好奇这个跟你说话的螃蟹是谁,我叫 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..e6103ad65 --- /dev/null +++ b/chapter_1_zh-tw.html @@ -0,0 +1,54 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

第一章 - 基礎概念

+

在此第一章中,我們會探討最基本的函數(functions),變量(variables),及大部份的基本類型 (primitive types)。歡迎你的參加這次 Rust 之旅。 +還有如果您好奇這一隻正在限您說話的,又可愛的螃蟹是誰。請容許我自我介紹! 我是非官方的 Rust 語言吉祥物很高興認識您!

+ +
+
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..ee5feb38b --- /dev/null +++ b/chapter_2_de.html @@ -0,0 +1,56 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour durch Rust + + Inhaltsverzeichnis +
+
+

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..da1db32ad --- /dev/null +++ b/chapter_2_en.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..889dfef43 --- /dev/null +++ b/chapter_2_es.html @@ -0,0 +1,54 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..eda9058bc --- /dev/null +++ b/chapter_2_fa.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..766a7cc13 --- /dev/null +++ b/chapter_2_fi.html @@ -0,0 +1,55 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

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..097fffda5 --- /dev/null +++ b/chapter_2_fr.html @@ -0,0 +1,55 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..a134fc702 --- /dev/null +++ b/chapter_2_gr.html @@ -0,0 +1,54 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

Κεφάλαιο 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..288e95fce --- /dev/null +++ b/chapter_2_hu.html @@ -0,0 +1,54 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..5cc6c1405 --- /dev/null +++ b/chapter_2_id.html @@ -0,0 +1,54 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

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..27b25613d --- /dev/null +++ b/chapter_2_ie.html @@ -0,0 +1,53 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..2c44cea59 --- /dev/null +++ b/chapter_2_it.html @@ -0,0 +1,54 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

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..8de307b9d --- /dev/null +++ b/chapter_2_ja.html @@ -0,0 +1,54 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

第 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..83cff5754 --- /dev/null +++ b/chapter_2_ko.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

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..b45083b76 --- /dev/null +++ b/chapter_2_pl.html @@ -0,0 +1,55 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..518348dd9 --- /dev/null +++ b/chapter_2_pt-br.html @@ -0,0 +1,54 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..fe78a05fb --- /dev/null +++ b/chapter_2_ro.html @@ -0,0 +1,55 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..2ed26a8d1 --- /dev/null +++ b/chapter_2_ru.html @@ -0,0 +1,55 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Глава 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..b0919a73c --- /dev/null +++ b/chapter_2_th.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

บทที่ 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..95d9d24df --- /dev/null +++ b/chapter_2_tr.html @@ -0,0 +1,53 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..f03e6df33 --- /dev/null +++ b/chapter_2_ua.html @@ -0,0 +1,54 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Розділ 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..1dadb700c --- /dev/null +++ b/chapter_2_vi.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..3f93aa3fb --- /dev/null +++ b/chapter_2_zh-cn.html @@ -0,0 +1,53 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

第二章 - 基本控制流

+

在本章中,我们将讨论 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..8fcb77ae1 --- /dev/null +++ b/chapter_2_zh-tw.html @@ -0,0 +1,54 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

第二章 - 基本流程控制

+

在這個章節,我們會探討 Rust 裡的基本流程控制。 +如果你已經熟悉 C 相關語言,那你將會猶如處在自家廚房般,甚至偶爾會碰上一兩個驚喜呢!

+ +
+
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..41023151b --- /dev/null +++ b/chapter_3_de.html @@ -0,0 +1,55 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour durch Rust + + Inhaltsverzeichnis +
+
+

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..0c1fb075c --- /dev/null +++ b/chapter_3_en.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..07382b90c --- /dev/null +++ b/chapter_3_es.html @@ -0,0 +1,55 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..1765cc68e --- /dev/null +++ b/chapter_3_fa.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..aad13beb0 --- /dev/null +++ b/chapter_3_fi.html @@ -0,0 +1,55 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

[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..62f68608e --- /dev/null +++ b/chapter_3_fr.html @@ -0,0 +1,56 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..eb47bec94 --- /dev/null +++ b/chapter_3_gr.html @@ -0,0 +1,53 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

Κεφάλαιο 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..9b263221f --- /dev/null +++ b/chapter_3_hu.html @@ -0,0 +1,55 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..466c33b56 --- /dev/null +++ b/chapter_3_id.html @@ -0,0 +1,55 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[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..587d5e7d4 --- /dev/null +++ b/chapter_3_ie.html @@ -0,0 +1,55 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..c144b37c1 --- /dev/null +++ b/chapter_3_it.html @@ -0,0 +1,53 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

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..d21e8e500 --- /dev/null +++ b/chapter_3_ja.html @@ -0,0 +1,54 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

第 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..cb19f7435 --- /dev/null +++ b/chapter_3_ko.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

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..c715aa2bb --- /dev/null +++ b/chapter_3_pl.html @@ -0,0 +1,55 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..bb565f6ef --- /dev/null +++ b/chapter_3_pt-br.html @@ -0,0 +1,53 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..8d7328bd6 --- /dev/null +++ b/chapter_3_ro.html @@ -0,0 +1,55 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..71fdd5104 --- /dev/null +++ b/chapter_3_ru.html @@ -0,0 +1,54 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Глава 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..676d8a131 --- /dev/null +++ b/chapter_3_th.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

บทที่ 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..d3d08ab3d --- /dev/null +++ b/chapter_3_tr.html @@ -0,0 +1,54 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..110f5090d --- /dev/null +++ b/chapter_3_ua.html @@ -0,0 +1,54 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Розділ 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..b2fde551e --- /dev/null +++ b/chapter_3_vi.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..0dac45886 --- /dev/null +++ b/chapter_3_zh-cn.html @@ -0,0 +1,54 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

第三章 - 基本数据结构类型

+

现在是我们探索基本类型之外内容的时候了!在本章中,我们将查看 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..14439f75e --- /dev/null +++ b/chapter_3_zh-tw.html @@ -0,0 +1,53 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

第三章 - 基本資料結構 (data structures)

+

是時候讓我們探討基本型別了!在這個章節,我們將會看看 Rust 裡最原始的資料結構,特別注意它們在記憶體裡是如何呈現的。 我想你會享受到 Rust 替你隱藏起來的東西有多麼少。

+ +
+
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..0fd063955 --- /dev/null +++ b/chapter_4_de.html @@ -0,0 +1,55 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour durch Rust + + Inhaltsverzeichnis +
+
+

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..597fd7730 --- /dev/null +++ b/chapter_4_en.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..d91b06263 --- /dev/null +++ b/chapter_4_es.html @@ -0,0 +1,55 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..f722e1304 --- /dev/null +++ b/chapter_4_fa.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..cb030f16e --- /dev/null +++ b/chapter_4_fi.html @@ -0,0 +1,56 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

[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..22d9f9e30 --- /dev/null +++ b/chapter_4_fr.html @@ -0,0 +1,56 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..32c7a8d4c --- /dev/null +++ b/chapter_4_gr.html @@ -0,0 +1,53 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

Κεφάλαιο 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..8e756ed46 --- /dev/null +++ b/chapter_4_hu.html @@ -0,0 +1,56 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..5b5940887 --- /dev/null +++ b/chapter_4_id.html @@ -0,0 +1,56 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[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..cb0522f7e --- /dev/null +++ b/chapter_4_ie.html @@ -0,0 +1,56 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..af0301da5 --- /dev/null +++ b/chapter_4_it.html @@ -0,0 +1,56 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

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..c8c4f9fe2 --- /dev/null +++ b/chapter_4_ja.html @@ -0,0 +1,55 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

第 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..a6bf8df00 --- /dev/null +++ b/chapter_4_ko.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

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..e874c447a --- /dev/null +++ b/chapter_4_pl.html @@ -0,0 +1,54 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..cd877e864 --- /dev/null +++ b/chapter_4_pt-br.html @@ -0,0 +1,53 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..91b8551c1 --- /dev/null +++ b/chapter_4_ro.html @@ -0,0 +1,56 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..ab6c0f074 --- /dev/null +++ b/chapter_4_ru.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Глава 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..2f7901544 --- /dev/null +++ b/chapter_4_th.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..a0fbb708e --- /dev/null +++ b/chapter_4_tr.html @@ -0,0 +1,53 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..0d0a1d529 --- /dev/null +++ b/chapter_4_ua.html @@ -0,0 +1,54 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Розділ 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..ebffb4c23 --- /dev/null +++ b/chapter_4_vi.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..53711624f --- /dev/null +++ b/chapter_4_zh-cn.html @@ -0,0 +1,54 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

第四章 - 泛型

+

泛型在 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..2c430ebab --- /dev/null +++ b/chapter_4_zh-tw.html @@ -0,0 +1,53 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

第四章 - 泛型 (generic types)

+

泛型在 Rust 裡是非常重要的。它們被用來表示空值 (即那些還沒有值的變量)、錯誤處理、集合及其他更多東西! 在此章節我們將會學習泛型的基礎,你很有可能將會一直使用到它。

+ +
+
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..ac6adc5c0 --- /dev/null +++ b/chapter_5_de.html @@ -0,0 +1,55 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour durch Rust + + Inhaltsverzeichnis +
+
+

[Noch nicht übersetzt] 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_en.html b/chapter_5_en.html new file mode 100644 index 000000000..16b1e7c09 --- /dev/null +++ b/chapter_5_en.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..d9b59de23 --- /dev/null +++ b/chapter_5_es.html @@ -0,0 +1,53 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..8031e5af7 --- /dev/null +++ b/chapter_5_fa.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..431cc0285 --- /dev/null +++ b/chapter_5_fi.html @@ -0,0 +1,55 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

[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..dccf40dee --- /dev/null +++ b/chapter_5_fr.html @@ -0,0 +1,57 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..e0e9100d2 --- /dev/null +++ b/chapter_5_gr.html @@ -0,0 +1,53 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

Κεφάλαιο 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..8685f7008 --- /dev/null +++ b/chapter_5_hu.html @@ -0,0 +1,56 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..72e465c4f --- /dev/null +++ b/chapter_5_id.html @@ -0,0 +1,55 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[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..c58c09469 --- /dev/null +++ b/chapter_5_ie.html @@ -0,0 +1,55 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..33d4cc5b0 --- /dev/null +++ b/chapter_5_it.html @@ -0,0 +1,55 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

[Non tradotto] 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_ja.html b/chapter_5_ja.html new file mode 100644 index 000000000..184a836ab --- /dev/null +++ b/chapter_5_ja.html @@ -0,0 +1,56 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

第 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..075e3bf9c --- /dev/null +++ b/chapter_5_ko.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

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..295351028 --- /dev/null +++ b/chapter_5_pl.html @@ -0,0 +1,55 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..30dc683a4 --- /dev/null +++ b/chapter_5_pt-br.html @@ -0,0 +1,53 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..ce2c09aa2 --- /dev/null +++ b/chapter_5_ro.html @@ -0,0 +1,55 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..fc2410929 --- /dev/null +++ b/chapter_5_ru.html @@ -0,0 +1,53 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Глава 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..e28c13edd --- /dev/null +++ b/chapter_5_th.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

บทที่ 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..03ebcef17 --- /dev/null +++ b/chapter_5_tr.html @@ -0,0 +1,53 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..7c0edc97f --- /dev/null +++ b/chapter_5_ua.html @@ -0,0 +1,55 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Розділ 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..5dffd3644 --- /dev/null +++ b/chapter_5_vi.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..de8cd9553 --- /dev/null +++ b/chapter_5_zh-cn.html @@ -0,0 +1,53 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

第五章 - 所有权和数据借用

+

相较于其他编程语言,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..81db4e6ea --- /dev/null +++ b/chapter_5_zh-tw.html @@ -0,0 +1,53 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

第五章 - 擁有權 (ownership) 與借資料 (borrowing data)

+

與其他語言相比,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..f885af394 --- /dev/null +++ b/chapter_6_de.html @@ -0,0 +1,55 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour durch Rust + + Inhaltsverzeichnis +
+
+

[Noch nicht übersetzt] 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_en.html b/chapter_6_en.html new file mode 100644 index 000000000..6b5b7068a --- /dev/null +++ b/chapter_6_en.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..cb469d8e8 --- /dev/null +++ b/chapter_6_es.html @@ -0,0 +1,53 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..63288d3fb --- /dev/null +++ b/chapter_6_fa.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..a824d1e78 --- /dev/null +++ b/chapter_6_fi.html @@ -0,0 +1,55 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

[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..675253e3f --- /dev/null +++ b/chapter_6_fr.html @@ -0,0 +1,57 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..f5df1a526 --- /dev/null +++ b/chapter_6_gr.html @@ -0,0 +1,55 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

[Αμετάφραστο] 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..14efd1818 --- /dev/null +++ b/chapter_6_hu.html @@ -0,0 +1,57 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..8aea122ef --- /dev/null +++ b/chapter_6_id.html @@ -0,0 +1,55 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[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..1337c0e3d --- /dev/null +++ b/chapter_6_ie.html @@ -0,0 +1,55 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..738dc6e28 --- /dev/null +++ b/chapter_6_it.html @@ -0,0 +1,55 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

[Non tradotto] 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_ja.html b/chapter_6_ja.html new file mode 100644 index 000000000..f26ed0870 --- /dev/null +++ b/chapter_6_ja.html @@ -0,0 +1,55 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

第 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..cf64fa4fa --- /dev/null +++ b/chapter_6_ko.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

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..6486b261d --- /dev/null +++ b/chapter_6_pl.html @@ -0,0 +1,55 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..0ed876911 --- /dev/null +++ b/chapter_6_pt-br.html @@ -0,0 +1,54 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..44b2e3559 --- /dev/null +++ b/chapter_6_ro.html @@ -0,0 +1,55 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

Capitolul 6 - Text

+

Acum că înțelegem puțin modul în care Rust gestionează memoria, suntem pregătiti să discutăm mai detaliat despre folosirea textelor. +Limbajul Rust acorda multă importanță 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 lor.

+ +
+
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..56f42aa0f --- /dev/null +++ b/chapter_6_ru.html @@ -0,0 +1,55 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Глава 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..337fe2460 --- /dev/null +++ b/chapter_6_th.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

บทที่ 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..384255e69 --- /dev/null +++ b/chapter_6_tr.html @@ -0,0 +1,53 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..7ce9441ad --- /dev/null +++ b/chapter_6_ua.html @@ -0,0 +1,55 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Розділ 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..c3629c3f2 --- /dev/null +++ b/chapter_6_vi.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..5f1c861ad --- /dev/null +++ b/chapter_6_zh-cn.html @@ -0,0 +1,54 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

第六章 - 文本

+

了解完了 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..17fd41d52 --- /dev/null +++ b/chapter_6_zh-tw.html @@ -0,0 +1,54 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

第六章 - 文字

+

現在我們稍微了解 Rust 的記憶體了,我們準備更詳細的討論文字。 +Rust 非常在意國際語言,及從位元組 (byte) 層面來看,你可能不是那麼熟悉的語言。 即是,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..13d4e66cb --- /dev/null +++ b/chapter_7_de.html @@ -0,0 +1,56 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour durch Rust + + Inhaltsverzeichnis +
+
+

[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..2afe48af9 --- /dev/null +++ b/chapter_7_en.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..de0bde177 --- /dev/null +++ b/chapter_7_es.html @@ -0,0 +1,53 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..e7d0b8474 --- /dev/null +++ b/chapter_7_fa.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..65062e59b --- /dev/null +++ b/chapter_7_fi.html @@ -0,0 +1,56 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

[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..a4818615e --- /dev/null +++ b/chapter_7_fr.html @@ -0,0 +1,58 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..e54206107 --- /dev/null +++ b/chapter_7_gr.html @@ -0,0 +1,56 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

[Αμετάφραστο] 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..62edfb2b5 --- /dev/null +++ b/chapter_7_hu.html @@ -0,0 +1,57 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..02558cda2 --- /dev/null +++ b/chapter_7_id.html @@ -0,0 +1,56 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[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..f5c0b4f4f --- /dev/null +++ b/chapter_7_ie.html @@ -0,0 +1,56 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..7efd4938b --- /dev/null +++ b/chapter_7_it.html @@ -0,0 +1,56 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

[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..fe4e63c5a --- /dev/null +++ b/chapter_7_ja.html @@ -0,0 +1,53 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

第 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..cb9ba584c --- /dev/null +++ b/chapter_7_ko.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

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..76c1faaea --- /dev/null +++ b/chapter_7_pl.html @@ -0,0 +1,56 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..93b706830 --- /dev/null +++ b/chapter_7_pt-br.html @@ -0,0 +1,53 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..d3787c4df --- /dev/null +++ b/chapter_7_ro.html @@ -0,0 +1,55 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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 agregatii ș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..4c73f7b9b --- /dev/null +++ b/chapter_7_ru.html @@ -0,0 +1,53 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Глава 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..28fda6017 --- /dev/null +++ b/chapter_7_th.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..58f945221 --- /dev/null +++ b/chapter_7_tr.html @@ -0,0 +1,55 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..e2ca54c9f --- /dev/null +++ b/chapter_7_ua.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Розділ 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..d6b7bdfa6 --- /dev/null +++ b/chapter_7_vi.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..fd1021d45 --- /dev/null +++ b/chapter_7_zh-cn.html @@ -0,0 +1,53 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

第七章 - 面向对象编程

+

用函数表达思想是一种成熟的行为和数据表示方式(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..0870bfb3c --- /dev/null +++ b/chapter_7_zh-tw.html @@ -0,0 +1,54 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

第七章 - 物件導向程式 (object oriented programming)

+

使用函式來表達點子是一個已經被證實用來表示行為及資料的方式 (C 已經這樣做了幾十年了!)。 +從歷史上來看,電腦科學發現了其他非常有表達力的聚合式 (aggregation) 及抽象資料。 你可能已經熟悉其中一種物件導向程式。在此章節我們將會探索 Rust 這門程式語言函式以上的東西。

+ +
+
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..a6ffcde1c --- /dev/null +++ b/chapter_8_de.html @@ -0,0 +1,58 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour durch Rust + + Inhaltsverzeichnis +
+
+

[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..3fbb04430 --- /dev/null +++ b/chapter_8_en.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..574ac60ff --- /dev/null +++ b/chapter_8_es.html @@ -0,0 +1,54 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..09c122c69 --- /dev/null +++ b/chapter_8_fa.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..f2711ceaf --- /dev/null +++ b/chapter_8_fi.html @@ -0,0 +1,58 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

[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..8c42dbd0e --- /dev/null +++ b/chapter_8_fr.html @@ -0,0 +1,60 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..bd1a2c394 --- /dev/null +++ b/chapter_8_gr.html @@ -0,0 +1,58 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

[Αμετάφραστο] 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..f9731b008 --- /dev/null +++ b/chapter_8_hu.html @@ -0,0 +1,59 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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!"

+ + +
+
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..f31ea808a --- /dev/null +++ b/chapter_8_id.html @@ -0,0 +1,58 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[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..dcdda0d8b --- /dev/null +++ b/chapter_8_ie.html @@ -0,0 +1,58 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..b5b27031a --- /dev/null +++ b/chapter_8_it.html @@ -0,0 +1,58 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

[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..038a0b6d5 --- /dev/null +++ b/chapter_8_ja.html @@ -0,0 +1,58 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

[未翻訳] 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..769927390 --- /dev/null +++ b/chapter_8_ko.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

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..d8a34e99a --- /dev/null +++ b/chapter_8_pl.html @@ -0,0 +1,58 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..79d993348 --- /dev/null +++ b/chapter_8_pt-br.html @@ -0,0 +1,54 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..265765623 --- /dev/null +++ b/chapter_8_ro.html @@ -0,0 +1,58 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

[Nu e tradus] 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_ru.html b/chapter_8_ru.html new file mode 100644 index 000000000..ebef0d22a --- /dev/null +++ b/chapter_8_ru.html @@ -0,0 +1,54 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

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..e81ee270a --- /dev/null +++ b/chapter_8_th.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

บทที่ 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..ba042122f --- /dev/null +++ b/chapter_8_tr.html @@ -0,0 +1,54 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..2ec96d3d5 --- /dev/null +++ b/chapter_8_ua.html @@ -0,0 +1,59 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Розділ 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..881181eb6 --- /dev/null +++ b/chapter_8_vi.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..ce4c551dd --- /dev/null +++ b/chapter_8_zh-cn.html @@ -0,0 +1,54 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 语言之旅 + + 目录 +
+
+

第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..0a9f31e59 --- /dev/null +++ b/chapter_8_zh-tw.html @@ -0,0 +1,58 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

[沒有翻譯] 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_de.html b/chapter_9_de.html new file mode 100644 index 000000000..8779c7bb4 --- /dev/null +++ b/chapter_9_de.html @@ -0,0 +1,53 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour durch Rust + + Inhaltsverzeichnis +
+
+

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..cfc973f4e --- /dev/null +++ b/chapter_9_en.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..3a4cb5454 --- /dev/null +++ b/chapter_9_es.html @@ -0,0 +1,53 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Tabla de Contenidos +
+
+

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..c9de6bf01 --- /dev/null +++ b/chapter_9_fa.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

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..3f6a03c8f --- /dev/null +++ b/chapter_9_fi.html @@ -0,0 +1,53 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rustin ympäriajo + + Sisällysluettelo +
+
+

[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..f450ee0db --- /dev/null +++ b/chapter_9_fr.html @@ -0,0 +1,56 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + Table des matières +
+
+

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..c7bb1a57c --- /dev/null +++ b/chapter_9_gr.html @@ -0,0 +1,53 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Ξενάγηση στη Rust + + Πίνακας Περιεχομένων +
+
+

[Αμετάφραστο] 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..05aa3c75b --- /dev/null +++ b/chapter_9_hu.html @@ -0,0 +1,54 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + Tartalomjegyzék +
+
+

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..c375183dc --- /dev/null +++ b/chapter_9_id.html @@ -0,0 +1,53 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + Daftar Isi +
+
+

[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..49ee60485 --- /dev/null +++ b/chapter_9_ie.html @@ -0,0 +1,53 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..86ed53b5d --- /dev/null +++ b/chapter_9_it.html @@ -0,0 +1,53 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + Indice dei Contenuti +
+
+

[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..59656e071 --- /dev/null +++ b/chapter_9_ja.html @@ -0,0 +1,53 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + 目次 +
+
+

[未翻訳] 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..2223adb69 --- /dev/null +++ b/chapter_9_ko.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + 목차 +
+
+

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..d605d1fef --- /dev/null +++ b/chapter_9_pl.html @@ -0,0 +1,53 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Przewodnik po Języku Rust + + Spis Treści +
+
+

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..20f9f7db5 --- /dev/null +++ b/chapter_9_pt-br.html @@ -0,0 +1,53 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por Rust + + Índice +
+
+

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..3f07c7da6 --- /dev/null +++ b/chapter_9_ro.html @@ -0,0 +1,53 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Turul limbajului Rust + + Cuprins +
+
+

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..8836e5a9f --- /dev/null +++ b/chapter_9_ru.html @@ -0,0 +1,53 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Содержание +
+
+

Глава 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..c92421a15 --- /dev/null +++ b/chapter_9_th.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

บทที่ 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..07f71076c --- /dev/null +++ b/chapter_9_tr.html @@ -0,0 +1,53 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + İçindekiler +
+
+

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..3f77be447 --- /dev/null +++ b/chapter_9_ua.html @@ -0,0 +1,53 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Тур по Rust + + Зміст +
+
+

Розділ 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..3727e951b --- /dev/null +++ b/chapter_9_vi.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Mục lục +
+
+

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..c7013241e --- /dev/null +++ b/chapter_9_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/chapter_9_zh-tw.html b/chapter_9_zh-tw.html new file mode 100644 index 000000000..9f2b211aa --- /dev/null +++ b/chapter_9_zh-tw.html @@ -0,0 +1,53 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust 語言之旅 + + 目錄 +
+
+

[沒有翻譯] Chapter 9 - Project Organization and Structure

+

So far all of our code examples have been a single file. Let's discuss how our code can be better organized and shared by others!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/docs/cover.jpg b/cover.jpg similarity index 100% rename from docs/cover.jpg rename to cover.jpg diff --git a/docs/favicon-16x16.png b/favicon-16x16.png similarity index 100% rename from docs/favicon-16x16.png rename to favicon-16x16.png diff --git a/docs/favicon-32x32.png b/favicon-32x32.png similarity index 100% rename from docs/favicon-32x32.png rename to favicon-32x32.png diff --git a/docs/favicon.ico b/favicon.ico similarity index 100% rename from docs/favicon.ico rename to favicon.ico diff --git a/docs/ferris.png b/ferris.png similarity index 100% rename from docs/ferris.png rename to ferris.png diff --git a/docs/ferris_lofi.png b/ferris_lofi.png similarity index 100% rename from docs/ferris_lofi.png rename to ferris_lofi.png diff --git a/index.html b/index.html new file mode 100644 index 000000000..8531a36a7 --- /dev/null +++ b/index.html @@ -0,0 +1,82 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + Table of Contents +
+
+

Hello World!

+

Welcome to the Tour of Rust

+

Happy 1 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..b51e8a52c --- /dev/null +++ b/webassembly/00_en_c.html @@ -0,0 +1,66 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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..c6ab148ba --- /dev/null +++ b/webassembly/00_es.html @@ -0,0 +1,68 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Tabla de Contenidos +
+
+

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..3e9119bb5 --- /dev/null +++ b/webassembly/00_fr.html @@ -0,0 +1,69 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

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..e30ad18d6 --- /dev/null +++ b/webassembly/00_fr_c.html @@ -0,0 +1,66 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

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..454ecc883 --- /dev/null +++ b/webassembly/00_ie.html @@ -0,0 +1,68 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..6218bb975 --- /dev/null +++ b/webassembly/00_ja.html @@ -0,0 +1,67 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ WebAssembly ツアー + + 目次 +
+
+

こんにちは, 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..97c616edf --- /dev/null +++ b/webassembly/00_pt-br.html @@ -0,0 +1,64 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por WebAssembly + + Índice +
+
+

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/02_en.html b/webassembly/02_en.html new file mode 100644 index 000000000..a86a6e43a --- /dev/null +++ b/webassembly/02_en.html @@ -0,0 +1,60 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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:

+ + +
+
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..2dbe1c714 --- /dev/null +++ b/webassembly/02_en_c.html @@ -0,0 +1,60 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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:

+ + +
+
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..af3919124 --- /dev/null +++ b/webassembly/02_es.html @@ -0,0 +1,62 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Tabla de Contenidos +
+
+

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:

+ + +
+
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..e98f0bae5 --- /dev/null +++ b/webassembly/02_fr.html @@ -0,0 +1,62 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

À 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:

+ + +
+
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..041b1fae8 --- /dev/null +++ b/webassembly/02_fr_c.html @@ -0,0 +1,62 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

À 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:

+ + +
+
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..edf011c61 --- /dev/null +++ b/webassembly/02_ie.html @@ -0,0 +1,60 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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:

+ + +
+
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..caca9fcd1 --- /dev/null +++ b/webassembly/02_ja.html @@ -0,0 +1,60 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ WebAssembly ツアー + + 目次 +
+
+

Moduleについて

+

WebAssemblyをターゲットにしてコードをコンパイルすると、.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..49b9e3e1a --- /dev/null +++ b/webassembly/02_pt-br.html @@ -0,0 +1,59 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por WebAssembly + + Índice +
+
+

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:

+ + +
+
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..4a0059d1e --- /dev/null +++ b/webassembly/03_en.html @@ -0,0 +1,56 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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..552cdc7bb --- /dev/null +++ b/webassembly/03_en_c.html @@ -0,0 +1,56 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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..09f7f05cd --- /dev/null +++ b/webassembly/03_es.html @@ -0,0 +1,57 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Tabla de Contenidos +
+
+

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..45df9720e --- /dev/null +++ b/webassembly/03_fr.html @@ -0,0 +1,57 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

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..f6074bdac --- /dev/null +++ b/webassembly/03_fr_c.html @@ -0,0 +1,57 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

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..1580d749c --- /dev/null +++ b/webassembly/03_ie.html @@ -0,0 +1,56 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..7c0badb07 --- /dev/null +++ b/webassembly/03_ja.html @@ -0,0 +1,56 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ WebAssembly ツアー + + 目次 +
+
+

モジュールのロード

+

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..38ac50402 --- /dev/null +++ b/webassembly/03_pt-br.html @@ -0,0 +1,55 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por WebAssembly + + Índice +
+
+

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/04_en.html b/webassembly/04_en.html new file mode 100644 index 000000000..b35c83277 --- /dev/null +++ b/webassembly/04_en.html @@ -0,0 +1,57 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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..d3608fbbf --- /dev/null +++ b/webassembly/04_en_c.html @@ -0,0 +1,57 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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..debfe3903 --- /dev/null +++ b/webassembly/04_es.html @@ -0,0 +1,57 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Tabla de Contenidos +
+
+

[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..58c24a749 --- /dev/null +++ b/webassembly/04_fr.html @@ -0,0 +1,59 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

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..8f051c2b4 --- /dev/null +++ b/webassembly/04_fr_c.html @@ -0,0 +1,59 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

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..6be2d8c1d --- /dev/null +++ b/webassembly/04_ie.html @@ -0,0 +1,57 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..82229c3bf --- /dev/null +++ b/webassembly/04_ja.html @@ -0,0 +1,57 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ WebAssembly ツアー + + 目次 +
+
+

モジュールの作成

+

モジュールはバイト列から作成されます。

+
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..739a48c46 --- /dev/null +++ b/webassembly/04_pt-br.html @@ -0,0 +1,55 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por WebAssembly + + Índice +
+
+

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/05_en.html b/webassembly/05_en.html new file mode 100644 index 000000000..b77978251 --- /dev/null +++ b/webassembly/05_en.html @@ -0,0 +1,56 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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..bc31927ca --- /dev/null +++ b/webassembly/05_en_c.html @@ -0,0 +1,56 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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..1975f6a7f --- /dev/null +++ b/webassembly/05_es.html @@ -0,0 +1,56 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Tabla de Contenidos +
+
+

[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..4697166f7 --- /dev/null +++ b/webassembly/05_fr.html @@ -0,0 +1,58 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

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..18a0d0cae --- /dev/null +++ b/webassembly/05_fr_c.html @@ -0,0 +1,58 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

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..e623ebe9e --- /dev/null +++ b/webassembly/05_ie.html @@ -0,0 +1,56 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..b71ce0e81 --- /dev/null +++ b/webassembly/05_ja.html @@ -0,0 +1,56 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ WebAssembly ツアー + + 目次 +
+
+

モジュールを使用する

+

モジュールには、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..77b671a36 --- /dev/null +++ b/webassembly/05_pt-br.html @@ -0,0 +1,55 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por WebAssembly + + Índice +
+
+

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/06_en.html b/webassembly/06_en.html new file mode 100644 index 000000000..42c9fd152 --- /dev/null +++ b/webassembly/06_en.html @@ -0,0 +1,58 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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..1e1ac6210 --- /dev/null +++ b/webassembly/06_en_c.html @@ -0,0 +1,58 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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..60364df25 --- /dev/null +++ b/webassembly/06_es.html @@ -0,0 +1,58 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Tabla de Contenidos +
+
+

[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..9d15309a9 --- /dev/null +++ b/webassembly/06_fr.html @@ -0,0 +1,58 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

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..44dd160f4 --- /dev/null +++ b/webassembly/06_fr_c.html @@ -0,0 +1,58 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

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..09759ee2b --- /dev/null +++ b/webassembly/06_ie.html @@ -0,0 +1,58 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..4adc295c0 --- /dev/null +++ b/webassembly/06_ja.html @@ -0,0 +1,57 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ WebAssembly ツアー + + 目次 +
+
+

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..a0f5bc39c --- /dev/null +++ b/webassembly/06_pt-br.html @@ -0,0 +1,56 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por WebAssembly + + Índice +
+
+

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/07_en.html b/webassembly/07_en.html new file mode 100644 index 000000000..35d5b2f51 --- /dev/null +++ b/webassembly/07_en.html @@ -0,0 +1,54 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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..ba9769672 --- /dev/null +++ b/webassembly/07_en_c.html @@ -0,0 +1,54 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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..5d4d5e39e --- /dev/null +++ b/webassembly/07_es.html @@ -0,0 +1,54 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Tabla de Contenidos +
+
+

[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..464ac6705 --- /dev/null +++ b/webassembly/07_fr.html @@ -0,0 +1,56 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

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..dc23235ec --- /dev/null +++ b/webassembly/07_fr_c.html @@ -0,0 +1,56 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

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..4c916f996 --- /dev/null +++ b/webassembly/07_ie.html @@ -0,0 +1,54 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

[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..3c5e55c2e --- /dev/null +++ b/webassembly/07_ja.html @@ -0,0 +1,54 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ WebAssembly ツアー + + 目次 +
+
+

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..152726692 --- /dev/null +++ b/webassembly/07_pt-br.html @@ -0,0 +1,53 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por WebAssembly + + Índice +
+
+

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/09_en.html b/webassembly/09_en.html new file mode 100644 index 000000000..2ca338560 --- /dev/null +++ b/webassembly/09_en.html @@ -0,0 +1,58 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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 gaurantees 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..68c27f399 --- /dev/null +++ b/webassembly/09_en_c.html @@ -0,0 +1,56 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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..77563bff7 --- /dev/null +++ b/webassembly/09_es.html @@ -0,0 +1,58 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Tabla de Contenidos +
+
+

[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 gaurantees 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..f98d0d82a --- /dev/null +++ b/webassembly/09_fr.html @@ -0,0 +1,58 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

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..2252cc717 --- /dev/null +++ b/webassembly/09_fr_c.html @@ -0,0 +1,56 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

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..cc31c8c04 --- /dev/null +++ b/webassembly/09_ie.html @@ -0,0 +1,58 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

[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 gaurantees 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..6b5abef7a --- /dev/null +++ b/webassembly/09_ja.html @@ -0,0 +1,57 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ WebAssembly ツアー + + 目次 +
+
+

関数のインポート

+

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..d89492373 --- /dev/null +++ b/webassembly/09_pt-br.html @@ -0,0 +1,57 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por WebAssembly + + Índice +
+
+

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/10_en.html b/webassembly/10_en.html new file mode 100644 index 000000000..20bfa6e6c --- /dev/null +++ b/webassembly/10_en.html @@ -0,0 +1,59 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

Limitations of Functions

+

Parameter and return types of functions are limited to:

+ +

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..35c844b33 --- /dev/null +++ b/webassembly/10_en_c.html @@ -0,0 +1,59 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

Limitations of Functions

+

Parameter and return types of functions are limited to:

+ +

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..b326c818a --- /dev/null +++ b/webassembly/10_es.html @@ -0,0 +1,59 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Tabla de Contenidos +
+
+

[Untranslated] Limitations of Functions

+

Parameter and return types of functions are limited to:

+ +

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..a109773f4 --- /dev/null +++ b/webassembly/10_fr.html @@ -0,0 +1,59 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

Limitations des Fonctions

+

Les types des paramètres et retours d'une fonction sont limités à:

+ +

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..1a29594bf --- /dev/null +++ b/webassembly/10_fr_c.html @@ -0,0 +1,59 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

Limitations des Fonctions

+

Les types de paramètres et de fonctions de retour sont limités à:

+ +

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..c3089f060 --- /dev/null +++ b/webassembly/10_ie.html @@ -0,0 +1,59 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

[Untranslated] Limitations of Functions

+

Parameter and return types of functions are limited to:

+ +

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..fdf46a8d3 --- /dev/null +++ b/webassembly/10_ja.html @@ -0,0 +1,59 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ WebAssembly ツアー + + 目次 +
+
+

関数の制限

+

関数から返すことのできる値は、次のものに限られます。

+ +

そのため、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..38178bcc6 --- /dev/null +++ b/webassembly/10_pt-br.html @@ -0,0 +1,59 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por WebAssembly + + Índice +
+
+

Limitações das Funções

+

Os parâmetros e tipos retornados pelas funções são limitados a:

+ +

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/11_en.html b/webassembly/11_en.html new file mode 100644 index 000000000..550bf94a5 --- /dev/null +++ b/webassembly/11_en.html @@ -0,0 +1,57 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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..8dba43dee --- /dev/null +++ b/webassembly/11_en_c.html @@ -0,0 +1,57 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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..b7ea17b54 --- /dev/null +++ b/webassembly/11_es.html @@ -0,0 +1,57 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Tabla de Contenidos +
+
+

[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..339ec7fd9 --- /dev/null +++ b/webassembly/11_fr.html @@ -0,0 +1,58 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

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..f1a00524f --- /dev/null +++ b/webassembly/11_fr_c.html @@ -0,0 +1,58 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

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..b12b6ad9e --- /dev/null +++ b/webassembly/11_ie.html @@ -0,0 +1,57 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

[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..5951274f0 --- /dev/null +++ b/webassembly/11_ja.html @@ -0,0 +1,56 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ WebAssembly ツアー + + 目次 +
+
+

メモリのエクスポート

+

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..114e2e185 --- /dev/null +++ b/webassembly/11_pt-br.html @@ -0,0 +1,56 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por WebAssembly + + Índice +
+
+

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/12_en.html b/webassembly/12_en.html new file mode 100644 index 000000000..37510ed05 --- /dev/null +++ b/webassembly/12_en.html @@ -0,0 +1,68 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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..e350fae18 --- /dev/null +++ b/webassembly/12_en_c.html @@ -0,0 +1,68 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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..28de662fc --- /dev/null +++ b/webassembly/12_es.html @@ -0,0 +1,68 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Tabla de Contenidos +
+
+

[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..a07e093e3 --- /dev/null +++ b/webassembly/12_fr.html @@ -0,0 +1,69 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

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..b60d072be --- /dev/null +++ b/webassembly/12_fr_c.html @@ -0,0 +1,69 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

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..2888c8c61 --- /dev/null +++ b/webassembly/12_ie.html @@ -0,0 +1,68 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

[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..99bc4b989 --- /dev/null +++ b/webassembly/12_ja.html @@ -0,0 +1,68 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ WebAssembly ツアー + + 目次 +
+
+

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..89ca16d0f --- /dev/null +++ b/webassembly/12_pt-br.html @@ -0,0 +1,55 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por WebAssembly + + Índice +
+
+

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/13_en.html b/webassembly/13_en.html new file mode 100644 index 000000000..aed5895a0 --- /dev/null +++ b/webassembly/13_en.html @@ -0,0 +1,70 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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..1c78503c1 --- /dev/null +++ b/webassembly/13_en_c.html @@ -0,0 +1,70 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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..94a198e5f --- /dev/null +++ b/webassembly/13_es.html @@ -0,0 +1,70 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Tabla de Contenidos +
+
+

[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..41dc6d820 --- /dev/null +++ b/webassembly/13_fr.html @@ -0,0 +1,73 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

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..c1792e585 --- /dev/null +++ b/webassembly/13_fr_c.html @@ -0,0 +1,73 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

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..0163cde0c --- /dev/null +++ b/webassembly/13_ie.html @@ -0,0 +1,70 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

[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..33464bce3 --- /dev/null +++ b/webassembly/13_ja.html @@ -0,0 +1,68 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ WebAssembly ツアー + + 目次 +
+
+

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..2f0a8034e --- /dev/null +++ b/webassembly/13_pt-br.html @@ -0,0 +1,55 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por WebAssembly + + Índice +
+
+

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/14_en.html b/webassembly/14_en.html new file mode 100644 index 000000000..084879e9b --- /dev/null +++ b/webassembly/14_en.html @@ -0,0 +1,71 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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..17c8c735b --- /dev/null +++ b/webassembly/14_en_c.html @@ -0,0 +1,71 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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..0d168dfc6 --- /dev/null +++ b/webassembly/14_es.html @@ -0,0 +1,71 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Tabla de Contenidos +
+
+

[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..6d55ccffd --- /dev/null +++ b/webassembly/14_fr.html @@ -0,0 +1,73 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

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..b8471ff4e --- /dev/null +++ b/webassembly/14_fr_c.html @@ -0,0 +1,73 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

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..6100b799b --- /dev/null +++ b/webassembly/14_ie.html @@ -0,0 +1,71 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

[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..152479df7 --- /dev/null +++ b/webassembly/14_ja.html @@ -0,0 +1,71 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ WebAssembly ツアー + + 目次 +
+
+

テキストのロギング

+

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..55d22bb3e --- /dev/null +++ b/webassembly/14_pt-br.html @@ -0,0 +1,70 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por WebAssembly + + Índice +
+
+

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/15_en.html b/webassembly/15_en.html new file mode 100644 index 000000000..30165dd55 --- /dev/null +++ b/webassembly/15_en.html @@ -0,0 +1,80 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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..e9d522612 --- /dev/null +++ b/webassembly/15_en_c.html @@ -0,0 +1,80 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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..12949ed7b --- /dev/null +++ b/webassembly/15_es.html @@ -0,0 +1,80 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Tabla de Contenidos +
+
+

[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..784f800a3 --- /dev/null +++ b/webassembly/15_fr.html @@ -0,0 +1,83 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

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..d17d89962 --- /dev/null +++ b/webassembly/15_fr_c.html @@ -0,0 +1,83 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

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..298655ffb --- /dev/null +++ b/webassembly/15_ie.html @@ -0,0 +1,80 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

[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..8a41b80a6 --- /dev/null +++ b/webassembly/15_ja.html @@ -0,0 +1,80 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ WebAssembly ツアー + + 目次 +
+
+

テキストの読み込み

+

次は、その反対の考え方をしてみます。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..39f734821 --- /dev/null +++ b/webassembly/15_pt-br.html @@ -0,0 +1,67 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por WebAssembly + + Índice +
+
+

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/16_en.html b/webassembly/16_en.html new file mode 100644 index 000000000..a436ba4f7 --- /dev/null +++ b/webassembly/16_en.html @@ -0,0 +1,58 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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..e54a26b87 --- /dev/null +++ b/webassembly/16_en_c.html @@ -0,0 +1,58 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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..4f30ab556 --- /dev/null +++ b/webassembly/16_es.html @@ -0,0 +1,58 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Tabla de Contenidos +
+
+

[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..fea1bdeb3 --- /dev/null +++ b/webassembly/16_fr.html @@ -0,0 +1,61 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

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..57ec2d7fe --- /dev/null +++ b/webassembly/16_fr_c.html @@ -0,0 +1,61 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

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..b2f89a05d --- /dev/null +++ b/webassembly/16_ie.html @@ -0,0 +1,58 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

[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..441632e2d --- /dev/null +++ b/webassembly/16_ja.html @@ -0,0 +1,56 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ WebAssembly ツアー + + 目次 +
+
+

表現を見つける

+

テキストの開始位置や長さを渡すことに煩雑さを覚えるかもしれません。

+

これは、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..73f734d8f --- /dev/null +++ b/webassembly/16_pt-br.html @@ -0,0 +1,56 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por WebAssembly + + Índice +
+
+

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/17_en.html b/webassembly/17_en.html new file mode 100644 index 000000000..7596f7674 --- /dev/null +++ b/webassembly/17_en.html @@ -0,0 +1,57 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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..a577a2cba --- /dev/null +++ b/webassembly/17_en_c.html @@ -0,0 +1,57 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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..ba2dcf045 --- /dev/null +++ b/webassembly/17_es.html @@ -0,0 +1,57 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Tabla de Contenidos +
+
+

[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..72a1d560c --- /dev/null +++ b/webassembly/17_fr.html @@ -0,0 +1,63 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

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..47e39ac32 --- /dev/null +++ b/webassembly/17_fr_c.html @@ -0,0 +1,61 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

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..cc526b5be --- /dev/null +++ b/webassembly/17_ie.html @@ -0,0 +1,57 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

[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..b8df07023 --- /dev/null +++ b/webassembly/17_ja.html @@ -0,0 +1,56 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ WebAssembly ツアー + + 目次 +
+
+

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..5e2fa049a --- /dev/null +++ b/webassembly/17_pt-br.html @@ -0,0 +1,55 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por WebAssembly + + Índice +
+
+

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/19_en.html b/webassembly/19_en.html new file mode 100644 index 000000000..49b1636de --- /dev/null +++ b/webassembly/19_en.html @@ -0,0 +1,63 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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?

+ + +
+
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..63a17c969 --- /dev/null +++ b/webassembly/19_en_c.html @@ -0,0 +1,63 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

[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?

+ + +
+
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..8a6b04dc0 --- /dev/null +++ b/webassembly/19_es.html @@ -0,0 +1,63 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Tabla de Contenidos +
+
+

[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?

+ + +
+
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..af046fd8a --- /dev/null +++ b/webassembly/19_fr.html @@ -0,0 +1,68 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

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?

+ + +
+
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..9a6d43e92 --- /dev/null +++ b/webassembly/19_fr_c.html @@ -0,0 +1,63 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

[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?

+ + +
+
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..6ec201d61 --- /dev/null +++ b/webassembly/19_ie.html @@ -0,0 +1,63 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

[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?

+ + +
+
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..ac6fab7c1 --- /dev/null +++ b/webassembly/19_ja.html @@ -0,0 +1,61 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ WebAssembly ツアー + + 目次 +
+
+

なぜ動的実行なのか?

+

1章で、.jsファイルの中に簡単に関数を定義し、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..cc907069f --- /dev/null +++ b/webassembly/19_pt-br.html @@ -0,0 +1,58 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por WebAssembly + + Índice +
+
+

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?

+ + +
+
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..7c633139f --- /dev/null +++ b/webassembly/20_en.html @@ -0,0 +1,58 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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.

+ + +
+
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..2a6caeb3f --- /dev/null +++ b/webassembly/20_en_c.html @@ -0,0 +1,58 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

[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.

+ + +
+
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..8eaf50261 --- /dev/null +++ b/webassembly/20_es.html @@ -0,0 +1,58 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Tabla de Contenidos +
+
+

[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.

+ + +
+
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..f5b4fabb1 --- /dev/null +++ b/webassembly/20_fr.html @@ -0,0 +1,63 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

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!):

+ + +
+
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..b83362e94 --- /dev/null +++ b/webassembly/20_fr_c.html @@ -0,0 +1,58 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

[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.

+ + +
+
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..4c10ad748 --- /dev/null +++ b/webassembly/20_ie.html @@ -0,0 +1,58 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

[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.

+ + +
+
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..79076af3a --- /dev/null +++ b/webassembly/20_ja.html @@ -0,0 +1,58 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ WebAssembly ツアー + + 目次 +
+
+

ロギングふたたび

+

1章でconsole.logを使ったロギングの関数を書きました。これを動的に行う方法について考えましょう。

+ + +
+
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..5610438d5 --- /dev/null +++ b/webassembly/20_pt-br.html @@ -0,0 +1,58 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por WebAssembly + + Índice +
+
+

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.

+ + +
+
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..9493a53b6 --- /dev/null +++ b/webassembly/21_en.html @@ -0,0 +1,64 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

Registering Functions

+

In order to register a function we need two things:

+ +
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..423b6efbc --- /dev/null +++ b/webassembly/21_en_c.html @@ -0,0 +1,64 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

[Untranslated] Registering Functions

+

In order to register a function we need two things:

+ +
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..b239096f0 --- /dev/null +++ b/webassembly/21_es.html @@ -0,0 +1,64 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Tabla de Contenidos +
+
+

[Untranslated] Registering Functions

+

In order to register a function we need two things:

+ +
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..e3d9b80cb --- /dev/null +++ b/webassembly/21_fr.html @@ -0,0 +1,69 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

Déclaration de fonctions

+

Pour déclarer une fonction, nous avons besoin de deux choses:

+ +

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..5e67e3c80 --- /dev/null +++ b/webassembly/21_fr_c.html @@ -0,0 +1,64 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

[Untranslated] Registering Functions

+

In order to register a function we need two things:

+ +
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..cc8379c1a --- /dev/null +++ b/webassembly/21_ie.html @@ -0,0 +1,64 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

[Untranslated] Registering Functions

+

In order to register a function we need two things:

+ +
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..a7f880b35 --- /dev/null +++ b/webassembly/21_ja.html @@ -0,0 +1,63 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ WebAssembly ツアー + + 目次 +
+
+

関数の登録

+

関数を登録するためには、次の2つが必要となります。

+ +
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..d53536b7d --- /dev/null +++ b/webassembly/21_pt-br.html @@ -0,0 +1,61 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por WebAssembly + + Índice +
+
+

Registrando Funções

+

Para registrar uma função precisamos de duas coisas:

+ +

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/22_en.html b/webassembly/22_en.html new file mode 100644 index 000000000..324cd8fb7 --- /dev/null +++ b/webassembly/22_en.html @@ -0,0 +1,70 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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..8f455c1e3 --- /dev/null +++ b/webassembly/22_en_c.html @@ -0,0 +1,70 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

[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..6f0a5309f --- /dev/null +++ b/webassembly/22_es.html @@ -0,0 +1,70 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Tabla de Contenidos +
+
+

[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..6c9755adc --- /dev/null +++ b/webassembly/22_fr.html @@ -0,0 +1,76 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

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..4434bed62 --- /dev/null +++ b/webassembly/22_fr_c.html @@ -0,0 +1,70 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

[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..3292c4a8e --- /dev/null +++ b/webassembly/22_ie.html @@ -0,0 +1,70 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

[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..6be32b5ab --- /dev/null +++ b/webassembly/22_ja.html @@ -0,0 +1,73 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ WebAssembly ツアー + + 目次 +
+
+

関数を呼び出す

+

後で動的な関数を実行するためには、関数ハンドルとその引数を受け取るための呼び出し方が必要になります。

+

繰り返しですが、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..603be4523 --- /dev/null +++ b/webassembly/22_pt-br.html @@ -0,0 +1,65 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por WebAssembly + + Índice +
+
+

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/23_en.html b/webassembly/23_en.html new file mode 100644 index 000000000..dba1284e6 --- /dev/null +++ b/webassembly/23_en.html @@ -0,0 +1,68 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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..504869aaa --- /dev/null +++ b/webassembly/23_en_c.html @@ -0,0 +1,68 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

[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..ae8afce28 --- /dev/null +++ b/webassembly/23_es.html @@ -0,0 +1,68 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Tabla de Contenidos +
+
+

[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..0d43c44e6 --- /dev/null +++ b/webassembly/23_fr.html @@ -0,0 +1,71 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

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..f7dbe6a34 --- /dev/null +++ b/webassembly/23_fr_c.html @@ -0,0 +1,68 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

[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..f1271b9c5 --- /dev/null +++ b/webassembly/23_ie.html @@ -0,0 +1,68 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

[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..3973d4c41 --- /dev/null +++ b/webassembly/23_ja.html @@ -0,0 +1,71 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ WebAssembly ツアー + + 目次 +
+
+

動的実行のコンテキスト

+

我々の動的実行関数が呼ばれるとき、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..ef58718ff --- /dev/null +++ b/webassembly/23_pt-br.html @@ -0,0 +1,65 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por WebAssembly + + Índice +
+
+

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/24_en.html b/webassembly/24_en.html new file mode 100644 index 000000000..6393db271 --- /dev/null +++ b/webassembly/24_en.html @@ -0,0 +1,70 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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..ca8284544 --- /dev/null +++ b/webassembly/24_en_c.html @@ -0,0 +1,70 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

[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..c578d0497 --- /dev/null +++ b/webassembly/24_es.html @@ -0,0 +1,70 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Tabla de Contenidos +
+
+

[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..a1ea823b1 --- /dev/null +++ b/webassembly/24_fr.html @@ -0,0 +1,73 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

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..8deae1140 --- /dev/null +++ b/webassembly/24_fr_c.html @@ -0,0 +1,70 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

[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..09dd23ee9 --- /dev/null +++ b/webassembly/24_ie.html @@ -0,0 +1,70 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

[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..f25f431fd --- /dev/null +++ b/webassembly/24_ja.html @@ -0,0 +1,71 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ WebAssembly ツアー + + 目次 +
+
+

参照を返す

+

このやり方では、オブジェクトへの参照を返したい場合に問題があります。 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..af8dbc217 --- /dev/null +++ b/webassembly/24_pt-br.html @@ -0,0 +1,66 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por WebAssembly + + Índice +
+
+

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/25_en.html b/webassembly/25_en.html new file mode 100644 index 000000000..2fc426dba --- /dev/null +++ b/webassembly/25_en.html @@ -0,0 +1,80 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

Allocators

+

As we can see to properly communicate objects, we need to have some kind of storage mechanism for objects:

+ +

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..d189188bd --- /dev/null +++ b/webassembly/25_en_c.html @@ -0,0 +1,80 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

[Untranslated] Allocators

+

As we can see to properly communicate objects, we need to have some kind of storage mechanism for objects:

+ +

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..b17071250 --- /dev/null +++ b/webassembly/25_es.html @@ -0,0 +1,80 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Tabla de Contenidos +
+
+

[Untranslated] Allocators

+

As we can see to properly communicate objects, we need to have some kind of storage mechanism for objects:

+ +

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..a486406e0 --- /dev/null +++ b/webassembly/25_fr.html @@ -0,0 +1,85 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

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:

+ +

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..76bf8a6cb --- /dev/null +++ b/webassembly/25_fr_c.html @@ -0,0 +1,80 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

[Untranslated] Allocators

+

As we can see to properly communicate objects, we need to have some kind of storage mechanism for objects:

+ +

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..08ef37bd2 --- /dev/null +++ b/webassembly/25_ie.html @@ -0,0 +1,80 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

[Untranslated] Allocators

+

As we can see to properly communicate objects, we need to have some kind of storage mechanism for objects:

+ +

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..4cbe81989 --- /dev/null +++ b/webassembly/25_ja.html @@ -0,0 +1,79 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ WebAssembly ツアー + + 目次 +
+
+

アロケータ

+

オブジェクトをやり取りできるよう、ストレージの仕組みが必要です。

+ +

このような実装のことを、アロケータといいます。(詳細はこのツアーの範疇を超えています)

+

本質的には、オブジェクトを格納することができ、その際にインデックスがハンドルとして返される無限のベクタです。

+
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..99e893b6a --- /dev/null +++ b/webassembly/25_pt-br.html @@ -0,0 +1,74 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por WebAssembly + + Índice +
+
+

Alocadores

+

Como podemos ver para comunicar os objetos corretamente precisamos ter algum tipo de mecanismo de armazenamento para os objetos:

+ +

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/26_en.html b/webassembly/26_en.html new file mode 100644 index 000000000..20c309b93 --- /dev/null +++ b/webassembly/26_en.html @@ -0,0 +1,80 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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..81e55f9bf --- /dev/null +++ b/webassembly/26_en_c.html @@ -0,0 +1,80 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

[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..1cfac35b0 --- /dev/null +++ b/webassembly/26_es.html @@ -0,0 +1,80 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Tabla de Contenidos +
+
+

[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..c110c3475 --- /dev/null +++ b/webassembly/26_fr.html @@ -0,0 +1,81 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

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..92cae620d --- /dev/null +++ b/webassembly/26_fr_c.html @@ -0,0 +1,80 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

[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..600cddea6 --- /dev/null +++ b/webassembly/26_ie.html @@ -0,0 +1,80 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

[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..c3c5ffca4 --- /dev/null +++ b/webassembly/26_ja.html @@ -0,0 +1,82 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ WebAssembly ツアー + + 目次 +
+
+

画面への描画

+

学んだ全てを組み合わせて、赤い四角を画面に描画する例を考えます。

+

登録すべき関数はこのようになります。

+
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..6dcbcefe1 --- /dev/null +++ b/webassembly/26_pt-br.html @@ -0,0 +1,77 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por WebAssembly + + Índice +
+
+

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/27_en.html b/webassembly/27_en.html new file mode 100644 index 000000000..f251b39d2 --- /dev/null +++ b/webassembly/27_en.html @@ -0,0 +1,55 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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..ddf537842 --- /dev/null +++ b/webassembly/27_en_c.html @@ -0,0 +1,55 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

[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..5c75064c0 --- /dev/null +++ b/webassembly/27_es.html @@ -0,0 +1,55 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Tabla de Contenidos +
+
+

[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..71fb1f88c --- /dev/null +++ b/webassembly/27_fr.html @@ -0,0 +1,58 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

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..1825d0910 --- /dev/null +++ b/webassembly/27_fr_c.html @@ -0,0 +1,55 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

[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..13744ee72 --- /dev/null +++ b/webassembly/27_ie.html @@ -0,0 +1,55 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

[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..6678397e3 --- /dev/null +++ b/webassembly/27_ja.html @@ -0,0 +1,55 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ WebAssembly ツアー + + 目次 +
+
+

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..d3c16d63f --- /dev/null +++ b/webassembly/27_pt-br.html @@ -0,0 +1,53 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por WebAssembly + + Índice +
+
+

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/TOC_en.html b/webassembly/TOC_en.html new file mode 100644 index 000000000..ba97e5eff --- /dev/null +++ b/webassembly/TOC_en.html @@ -0,0 +1,77 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + +
+
+

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..b25db1c49 --- /dev/null +++ b/webassembly/TOC_en_c.html @@ -0,0 +1,77 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + +
+
+

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..b2a62ca1f --- /dev/null +++ b/webassembly/TOC_es.html @@ -0,0 +1,77 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + +
+
+

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..001264e93 --- /dev/null +++ b/webassembly/TOC_fr.html @@ -0,0 +1,77 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + +
+
+

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..21b1a1321 --- /dev/null +++ b/webassembly/TOC_fr_c.html @@ -0,0 +1,77 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + +
+
+

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..5337e8cf8 --- /dev/null +++ b/webassembly/TOC_ie.html @@ -0,0 +1,77 @@ + + + + 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..af3c62a32 --- /dev/null +++ b/webassembly/TOC_ja.html @@ -0,0 +1,77 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ WebAssembly ツアー + + +
+
+

レッスン

+

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..4bb5f43cc --- /dev/null +++ b/webassembly/TOC_pt-br.html @@ -0,0 +1,77 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por WebAssembly + + +
+
+

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/beta_00_en_c.html b/webassembly/beta_00_en_c.html new file mode 100644 index 000000000..af3837804 --- /dev/null +++ b/webassembly/beta_00_en_c.html @@ -0,0 +1,66 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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..12f65c210 --- /dev/null +++ b/webassembly/beta_00_es.html @@ -0,0 +1,68 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Tabla de Contenidos +
+
+

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..054f460dd --- /dev/null +++ b/webassembly/beta_00_fr.html @@ -0,0 +1,69 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

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..9a82c5e3f --- /dev/null +++ b/webassembly/beta_00_fr_c.html @@ -0,0 +1,66 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

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..d081df631 --- /dev/null +++ b/webassembly/beta_00_ie.html @@ -0,0 +1,68 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..abc0954b1 --- /dev/null +++ b/webassembly/beta_00_ja.html @@ -0,0 +1,67 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ WebAssembly ツアー + + 目次 +
+
+

こんにちは, 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..796f76c1a --- /dev/null +++ b/webassembly/beta_00_pt-br.html @@ -0,0 +1,64 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por WebAssembly + + Índice +
+
+

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_02_en.html b/webassembly/beta_02_en.html new file mode 100644 index 000000000..3d86c8c19 --- /dev/null +++ b/webassembly/beta_02_en.html @@ -0,0 +1,60 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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:

+ + +
+
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..a663f9109 --- /dev/null +++ b/webassembly/beta_02_en_c.html @@ -0,0 +1,60 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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:

+ + +
+
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..7d8d3ae17 --- /dev/null +++ b/webassembly/beta_02_es.html @@ -0,0 +1,62 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Tabla de Contenidos +
+
+

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:

+ + +
+
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..741c7bfc9 --- /dev/null +++ b/webassembly/beta_02_fr.html @@ -0,0 +1,62 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

À 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:

+ + +
+
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..61b24bc85 --- /dev/null +++ b/webassembly/beta_02_fr_c.html @@ -0,0 +1,62 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

À 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:

+ + +
+
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..67370ef08 --- /dev/null +++ b/webassembly/beta_02_ie.html @@ -0,0 +1,60 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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:

+ + +
+
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..a1a925c58 --- /dev/null +++ b/webassembly/beta_02_ja.html @@ -0,0 +1,60 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ WebAssembly ツアー + + 目次 +
+
+

Moduleについて

+

WebAssemblyをターゲットにしてコードをコンパイルすると、.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..0a70cacd2 --- /dev/null +++ b/webassembly/beta_02_pt-br.html @@ -0,0 +1,59 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por WebAssembly + + Índice +
+
+

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:

+ + +
+
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..b7cde07d8 --- /dev/null +++ b/webassembly/beta_03_en.html @@ -0,0 +1,56 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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..70f71bb33 --- /dev/null +++ b/webassembly/beta_03_en_c.html @@ -0,0 +1,56 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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..21879fafb --- /dev/null +++ b/webassembly/beta_03_es.html @@ -0,0 +1,57 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Tabla de Contenidos +
+
+

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..ebeb452a2 --- /dev/null +++ b/webassembly/beta_03_fr.html @@ -0,0 +1,57 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

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..a2fd3422e --- /dev/null +++ b/webassembly/beta_03_fr_c.html @@ -0,0 +1,57 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

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..707052883 --- /dev/null +++ b/webassembly/beta_03_ie.html @@ -0,0 +1,56 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..cf3948408 --- /dev/null +++ b/webassembly/beta_03_ja.html @@ -0,0 +1,56 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ WebAssembly ツアー + + 目次 +
+
+

モジュールのロード

+

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..987678a09 --- /dev/null +++ b/webassembly/beta_03_pt-br.html @@ -0,0 +1,55 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por WebAssembly + + Índice +
+
+

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_04_en.html b/webassembly/beta_04_en.html new file mode 100644 index 000000000..13bb6a45b --- /dev/null +++ b/webassembly/beta_04_en.html @@ -0,0 +1,57 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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..da9c43487 --- /dev/null +++ b/webassembly/beta_04_en_c.html @@ -0,0 +1,57 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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..83b298b86 --- /dev/null +++ b/webassembly/beta_04_fr.html @@ -0,0 +1,59 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

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..a134acc98 --- /dev/null +++ b/webassembly/beta_04_fr_c.html @@ -0,0 +1,59 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

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..f8046864f --- /dev/null +++ b/webassembly/beta_04_ie.html @@ -0,0 +1,57 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..b92437304 --- /dev/null +++ b/webassembly/beta_04_ja.html @@ -0,0 +1,57 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ WebAssembly ツアー + + 目次 +
+
+

モジュールの作成

+

モジュールはバイト列から作成されます。

+
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..38461f822 --- /dev/null +++ b/webassembly/beta_04_pt-br.html @@ -0,0 +1,55 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por WebAssembly + + Índice +
+
+

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_05_en.html b/webassembly/beta_05_en.html new file mode 100644 index 000000000..a89d29bcf --- /dev/null +++ b/webassembly/beta_05_en.html @@ -0,0 +1,56 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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..bf74dec22 --- /dev/null +++ b/webassembly/beta_05_en_c.html @@ -0,0 +1,56 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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..4c86cf07e --- /dev/null +++ b/webassembly/beta_05_fr.html @@ -0,0 +1,58 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

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..fcac7a7e7 --- /dev/null +++ b/webassembly/beta_05_fr_c.html @@ -0,0 +1,58 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

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..c753793e2 --- /dev/null +++ b/webassembly/beta_05_ie.html @@ -0,0 +1,56 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..de7bcb8e2 --- /dev/null +++ b/webassembly/beta_05_ja.html @@ -0,0 +1,56 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ WebAssembly ツアー + + 目次 +
+
+

モジュールを使用する

+

モジュールには、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..08db0ac4a --- /dev/null +++ b/webassembly/beta_05_pt-br.html @@ -0,0 +1,55 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por WebAssembly + + Índice +
+
+

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_06_en.html b/webassembly/beta_06_en.html new file mode 100644 index 000000000..e7a6734d8 --- /dev/null +++ b/webassembly/beta_06_en.html @@ -0,0 +1,58 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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..6ecaa15c3 --- /dev/null +++ b/webassembly/beta_06_en_c.html @@ -0,0 +1,58 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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..8db94e6c5 --- /dev/null +++ b/webassembly/beta_06_fr.html @@ -0,0 +1,58 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

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..e4fd374af --- /dev/null +++ b/webassembly/beta_06_fr_c.html @@ -0,0 +1,58 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

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..2958504b7 --- /dev/null +++ b/webassembly/beta_06_ie.html @@ -0,0 +1,58 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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..d959562a9 --- /dev/null +++ b/webassembly/beta_06_ja.html @@ -0,0 +1,57 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ WebAssembly ツアー + + 目次 +
+
+

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..02aece16f --- /dev/null +++ b/webassembly/beta_06_pt-br.html @@ -0,0 +1,56 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por WebAssembly + + Índice +
+
+

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_07_en.html b/webassembly/beta_07_en.html new file mode 100644 index 000000000..3ea384aa5 --- /dev/null +++ b/webassembly/beta_07_en.html @@ -0,0 +1,54 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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..4baafb8bf --- /dev/null +++ b/webassembly/beta_07_en_c.html @@ -0,0 +1,54 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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..c0bb57487 --- /dev/null +++ b/webassembly/beta_07_fr.html @@ -0,0 +1,56 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

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..fb508f2fd --- /dev/null +++ b/webassembly/beta_07_fr_c.html @@ -0,0 +1,56 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

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..85530fea7 --- /dev/null +++ b/webassembly/beta_07_ja.html @@ -0,0 +1,54 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ WebAssembly ツアー + + 目次 +
+
+

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..8f1b1cd97 --- /dev/null +++ b/webassembly/beta_07_pt-br.html @@ -0,0 +1,53 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por WebAssembly + + Índice +
+
+

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_09_en.html b/webassembly/beta_09_en.html new file mode 100644 index 000000000..98a5cc2e7 --- /dev/null +++ b/webassembly/beta_09_en.html @@ -0,0 +1,58 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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 gaurantees 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..d3a2d4838 --- /dev/null +++ b/webassembly/beta_09_en_c.html @@ -0,0 +1,56 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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..a13b967c4 --- /dev/null +++ b/webassembly/beta_09_fr.html @@ -0,0 +1,58 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

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..5a46906aa --- /dev/null +++ b/webassembly/beta_09_fr_c.html @@ -0,0 +1,56 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

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..01146df65 --- /dev/null +++ b/webassembly/beta_09_ja.html @@ -0,0 +1,57 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ WebAssembly ツアー + + 目次 +
+
+

関数のインポート

+

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..eef8f9f2a --- /dev/null +++ b/webassembly/beta_09_pt-br.html @@ -0,0 +1,57 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por WebAssembly + + Índice +
+
+

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_10_en.html b/webassembly/beta_10_en.html new file mode 100644 index 000000000..b018e4dc7 --- /dev/null +++ b/webassembly/beta_10_en.html @@ -0,0 +1,59 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

Limitations of Functions

+

Parameter and return types of functions are limited to:

+ +

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..0f0f180f8 --- /dev/null +++ b/webassembly/beta_10_en_c.html @@ -0,0 +1,59 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

Limitations of Functions

+

Parameter and return types of functions are limited to:

+ +

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..8c89c987a --- /dev/null +++ b/webassembly/beta_10_fr.html @@ -0,0 +1,59 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

Limitations des Fonctions

+

Les types des paramètres et retours d'une fonction sont limités à:

+ +

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..4bbda92bb --- /dev/null +++ b/webassembly/beta_10_fr_c.html @@ -0,0 +1,59 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

Limitations des Fonctions

+

Les types de paramètres et de fonctions de retour sont limités à:

+ +

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..96d9c1b55 --- /dev/null +++ b/webassembly/beta_10_ja.html @@ -0,0 +1,59 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ WebAssembly ツアー + + 目次 +
+
+

関数の制限

+

関数から返すことのできる値は、次のものに限られます。

+ +

そのため、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..23d6a259b --- /dev/null +++ b/webassembly/beta_10_pt-br.html @@ -0,0 +1,59 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por WebAssembly + + Índice +
+
+

Limitações das Funções

+

Os parâmetros e tipos retornados pelas funções são limitados a:

+ +

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_11_en.html b/webassembly/beta_11_en.html new file mode 100644 index 000000000..54e7a0df0 --- /dev/null +++ b/webassembly/beta_11_en.html @@ -0,0 +1,57 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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..ae4804065 --- /dev/null +++ b/webassembly/beta_11_en_c.html @@ -0,0 +1,57 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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..b844213f3 --- /dev/null +++ b/webassembly/beta_11_fr.html @@ -0,0 +1,58 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

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..03fab1134 --- /dev/null +++ b/webassembly/beta_11_fr_c.html @@ -0,0 +1,58 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

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..d3d964986 --- /dev/null +++ b/webassembly/beta_11_ja.html @@ -0,0 +1,56 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ WebAssembly ツアー + + 目次 +
+
+

メモリのエクスポート

+

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..b45142429 --- /dev/null +++ b/webassembly/beta_11_pt-br.html @@ -0,0 +1,56 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por WebAssembly + + Índice +
+
+

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_12_en.html b/webassembly/beta_12_en.html new file mode 100644 index 000000000..674086436 --- /dev/null +++ b/webassembly/beta_12_en.html @@ -0,0 +1,68 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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..0e89a5312 --- /dev/null +++ b/webassembly/beta_12_en_c.html @@ -0,0 +1,68 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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..a606e6302 --- /dev/null +++ b/webassembly/beta_12_fr.html @@ -0,0 +1,69 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

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..a552c3ee2 --- /dev/null +++ b/webassembly/beta_12_fr_c.html @@ -0,0 +1,69 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

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..d280c9556 --- /dev/null +++ b/webassembly/beta_12_ja.html @@ -0,0 +1,68 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ WebAssembly ツアー + + 目次 +
+
+

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..3cebea8e5 --- /dev/null +++ b/webassembly/beta_12_pt-br.html @@ -0,0 +1,55 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por WebAssembly + + Índice +
+
+

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_13_en.html b/webassembly/beta_13_en.html new file mode 100644 index 000000000..c5b91cac4 --- /dev/null +++ b/webassembly/beta_13_en.html @@ -0,0 +1,70 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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..610772841 --- /dev/null +++ b/webassembly/beta_13_en_c.html @@ -0,0 +1,70 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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..03ffe3909 --- /dev/null +++ b/webassembly/beta_13_fr.html @@ -0,0 +1,73 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

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..53fa7a556 --- /dev/null +++ b/webassembly/beta_13_fr_c.html @@ -0,0 +1,73 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

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..801f66a66 --- /dev/null +++ b/webassembly/beta_13_ja.html @@ -0,0 +1,68 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ WebAssembly ツアー + + 目次 +
+
+

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..4f0f98afa --- /dev/null +++ b/webassembly/beta_13_pt-br.html @@ -0,0 +1,55 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por WebAssembly + + Índice +
+
+

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_14_en.html b/webassembly/beta_14_en.html new file mode 100644 index 000000000..a57406cc7 --- /dev/null +++ b/webassembly/beta_14_en.html @@ -0,0 +1,71 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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..1d2030181 --- /dev/null +++ b/webassembly/beta_14_en_c.html @@ -0,0 +1,71 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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..d01bad823 --- /dev/null +++ b/webassembly/beta_14_fr.html @@ -0,0 +1,73 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

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..043b657fe --- /dev/null +++ b/webassembly/beta_14_fr_c.html @@ -0,0 +1,73 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

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..97c0c7681 --- /dev/null +++ b/webassembly/beta_14_ja.html @@ -0,0 +1,71 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ WebAssembly ツアー + + 目次 +
+
+

テキストのロギング

+

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..2ba664589 --- /dev/null +++ b/webassembly/beta_14_pt-br.html @@ -0,0 +1,70 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por WebAssembly + + Índice +
+
+

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_15_en.html b/webassembly/beta_15_en.html new file mode 100644 index 000000000..6d6d9ff30 --- /dev/null +++ b/webassembly/beta_15_en.html @@ -0,0 +1,80 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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..90a32f187 --- /dev/null +++ b/webassembly/beta_15_en_c.html @@ -0,0 +1,80 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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..ed42f552f --- /dev/null +++ b/webassembly/beta_15_fr.html @@ -0,0 +1,83 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

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..f1590be13 --- /dev/null +++ b/webassembly/beta_15_fr_c.html @@ -0,0 +1,83 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

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..1b15ff1b4 --- /dev/null +++ b/webassembly/beta_15_ja.html @@ -0,0 +1,80 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ WebAssembly ツアー + + 目次 +
+
+

テキストの読み込み

+

次は、その反対の考え方をしてみます。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..3664598a9 --- /dev/null +++ b/webassembly/beta_15_pt-br.html @@ -0,0 +1,67 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por WebAssembly + + Índice +
+
+

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_16_en.html b/webassembly/beta_16_en.html new file mode 100644 index 000000000..a0651ced3 --- /dev/null +++ b/webassembly/beta_16_en.html @@ -0,0 +1,58 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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..b88ec976c --- /dev/null +++ b/webassembly/beta_16_en_c.html @@ -0,0 +1,58 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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..844490ff7 --- /dev/null +++ b/webassembly/beta_16_fr.html @@ -0,0 +1,61 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

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..75b0770c0 --- /dev/null +++ b/webassembly/beta_16_fr_c.html @@ -0,0 +1,61 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

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..fae50ae0c --- /dev/null +++ b/webassembly/beta_16_ja.html @@ -0,0 +1,56 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ WebAssembly ツアー + + 目次 +
+
+

表現を見つける

+

テキストの開始位置や長さを渡すことに煩雑さを覚えるかもしれません。

+

これは、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..fcdb26cea --- /dev/null +++ b/webassembly/beta_16_pt-br.html @@ -0,0 +1,56 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por WebAssembly + + Índice +
+
+

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_17_en.html b/webassembly/beta_17_en.html new file mode 100644 index 000000000..53d5767b5 --- /dev/null +++ b/webassembly/beta_17_en.html @@ -0,0 +1,57 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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..eaec64e33 --- /dev/null +++ b/webassembly/beta_17_en_c.html @@ -0,0 +1,57 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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..82f1098d1 --- /dev/null +++ b/webassembly/beta_17_fr.html @@ -0,0 +1,63 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

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..d8fb83094 --- /dev/null +++ b/webassembly/beta_17_fr_c.html @@ -0,0 +1,61 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

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..360b9dc09 --- /dev/null +++ b/webassembly/beta_17_ja.html @@ -0,0 +1,56 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ WebAssembly ツアー + + 目次 +
+
+

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..eed58502a --- /dev/null +++ b/webassembly/beta_17_pt-br.html @@ -0,0 +1,55 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por WebAssembly + + Índice +
+
+

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_19_en.html b/webassembly/beta_19_en.html new file mode 100644 index 000000000..2fcfef41b --- /dev/null +++ b/webassembly/beta_19_en.html @@ -0,0 +1,63 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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?

+ + +
+
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..4210b6cd4 --- /dev/null +++ b/webassembly/beta_19_fr.html @@ -0,0 +1,68 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

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?

+ + +
+
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..82c0df962 --- /dev/null +++ b/webassembly/beta_19_ja.html @@ -0,0 +1,61 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ WebAssembly ツアー + + 目次 +
+
+

なぜ動的実行なのか?

+

1章で、.jsファイルの中に簡単に関数を定義し、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..897cd2f96 --- /dev/null +++ b/webassembly/beta_19_pt-br.html @@ -0,0 +1,58 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por WebAssembly + + Índice +
+
+

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?

+ + +
+
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..57042bfee --- /dev/null +++ b/webassembly/beta_20_en.html @@ -0,0 +1,58 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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.

+ + +
+
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..f7f864c50 --- /dev/null +++ b/webassembly/beta_20_fr.html @@ -0,0 +1,63 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

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!):

+ + +
+
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..93910c32b --- /dev/null +++ b/webassembly/beta_20_ja.html @@ -0,0 +1,58 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ WebAssembly ツアー + + 目次 +
+
+

ロギングふたたび

+

1章でconsole.logを使ったロギングの関数を書きました。これを動的に行う方法について考えましょう。

+ + +
+
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..c86e75bc3 --- /dev/null +++ b/webassembly/beta_20_pt-br.html @@ -0,0 +1,58 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por WebAssembly + + Índice +
+
+

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.

+ + +
+
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..52b03a748 --- /dev/null +++ b/webassembly/beta_21_en.html @@ -0,0 +1,64 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

Registering Functions

+

In order to register a function we need two things:

+ +
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..c39a94065 --- /dev/null +++ b/webassembly/beta_21_fr.html @@ -0,0 +1,69 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

Déclaration de fonctions

+

Pour déclarer une fonction, nous avons besoin de deux choses:

+ +

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..cf3c5fe2f --- /dev/null +++ b/webassembly/beta_21_ja.html @@ -0,0 +1,63 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ WebAssembly ツアー + + 目次 +
+
+

関数の登録

+

関数を登録するためには、次の2つが必要となります。

+ +
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..9277c0402 --- /dev/null +++ b/webassembly/beta_21_pt-br.html @@ -0,0 +1,61 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por WebAssembly + + Índice +
+
+

Registrando Funções

+

Para registrar uma função precisamos de duas coisas:

+ +

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_22_en.html b/webassembly/beta_22_en.html new file mode 100644 index 000000000..034069139 --- /dev/null +++ b/webassembly/beta_22_en.html @@ -0,0 +1,70 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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..a9c546cd5 --- /dev/null +++ b/webassembly/beta_22_fr.html @@ -0,0 +1,76 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

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..5238d8d5d --- /dev/null +++ b/webassembly/beta_22_ja.html @@ -0,0 +1,73 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ WebAssembly ツアー + + 目次 +
+
+

関数を呼び出す

+

後で動的な関数を実行するためには、関数ハンドルとその引数を受け取るための呼び出し方が必要になります。

+

繰り返しですが、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..53686bf05 --- /dev/null +++ b/webassembly/beta_22_pt-br.html @@ -0,0 +1,65 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por WebAssembly + + Índice +
+
+

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_23_en.html b/webassembly/beta_23_en.html new file mode 100644 index 000000000..b912dadaa --- /dev/null +++ b/webassembly/beta_23_en.html @@ -0,0 +1,68 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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..c61257c95 --- /dev/null +++ b/webassembly/beta_23_fr.html @@ -0,0 +1,71 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

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..fb51ed0ea --- /dev/null +++ b/webassembly/beta_23_ja.html @@ -0,0 +1,71 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ WebAssembly ツアー + + 目次 +
+
+

動的実行のコンテキスト

+

我々の動的実行関数が呼ばれるとき、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..523845858 --- /dev/null +++ b/webassembly/beta_23_pt-br.html @@ -0,0 +1,65 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por WebAssembly + + Índice +
+
+

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_24_en.html b/webassembly/beta_24_en.html new file mode 100644 index 000000000..0d6554e11 --- /dev/null +++ b/webassembly/beta_24_en.html @@ -0,0 +1,70 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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..c2c7db5bb --- /dev/null +++ b/webassembly/beta_24_fr.html @@ -0,0 +1,73 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

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..8c2f8d772 --- /dev/null +++ b/webassembly/beta_24_ja.html @@ -0,0 +1,71 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ WebAssembly ツアー + + 目次 +
+
+

参照を返す

+

このやり方では、オブジェクトへの参照を返したい場合に問題があります。 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..90ff4f8b0 --- /dev/null +++ b/webassembly/beta_24_pt-br.html @@ -0,0 +1,66 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por WebAssembly + + Índice +
+
+

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_25_en.html b/webassembly/beta_25_en.html new file mode 100644 index 000000000..2cdf980fe --- /dev/null +++ b/webassembly/beta_25_en.html @@ -0,0 +1,80 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

Allocators

+

As we can see to properly communicate objects, we need to have some kind of storage mechanism for objects:

+ +

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..4a6eb5e83 --- /dev/null +++ b/webassembly/beta_25_fr.html @@ -0,0 +1,85 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

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:

+ +

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..5220e3e44 --- /dev/null +++ b/webassembly/beta_25_ja.html @@ -0,0 +1,79 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ WebAssembly ツアー + + 目次 +
+
+

アロケータ

+

オブジェクトをやり取りできるよう、ストレージの仕組みが必要です。

+ +

このような実装のことを、アロケータといいます。(詳細はこのツアーの範疇を超えています)

+

本質的には、オブジェクトを格納することができ、その際にインデックスがハンドルとして返される無限のベクタです。

+
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..6c71191c1 --- /dev/null +++ b/webassembly/beta_25_pt-br.html @@ -0,0 +1,74 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por WebAssembly + + Índice +
+
+

Alocadores

+

Como podemos ver para comunicar os objetos corretamente precisamos ter algum tipo de mecanismo de armazenamento para os objetos:

+ +

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_26_en.html b/webassembly/beta_26_en.html new file mode 100644 index 000000000..fe1b9a9bb --- /dev/null +++ b/webassembly/beta_26_en.html @@ -0,0 +1,80 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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..aea1b5199 --- /dev/null +++ b/webassembly/beta_26_fr.html @@ -0,0 +1,81 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

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..6224f765c --- /dev/null +++ b/webassembly/beta_26_ja.html @@ -0,0 +1,82 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ WebAssembly ツアー + + 目次 +
+
+

画面への描画

+

学んだ全てを組み合わせて、赤い四角を画面に描画する例を考えます。

+

登録すべき関数はこのようになります。

+
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..3cb147078 --- /dev/null +++ b/webassembly/beta_26_pt-br.html @@ -0,0 +1,77 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por WebAssembly + + Índice +
+
+

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_27_en.html b/webassembly/beta_27_en.html new file mode 100644 index 000000000..116a978f5 --- /dev/null +++ b/webassembly/beta_27_en.html @@ -0,0 +1,55 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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..404f4d9f2 --- /dev/null +++ b/webassembly/beta_27_fr.html @@ -0,0 +1,58 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

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..cfe42880a --- /dev/null +++ b/webassembly/beta_27_ja.html @@ -0,0 +1,55 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ WebAssembly ツアー + + 目次 +
+
+

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..aba65cd1a --- /dev/null +++ b/webassembly/beta_27_pt-br.html @@ -0,0 +1,53 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por WebAssembly + + Índice +
+
+

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_chapter_1_en.html b/webassembly/beta_chapter_1_en.html new file mode 100644 index 000000000..7271f0b58 --- /dev/null +++ b/webassembly/beta_chapter_1_en.html @@ -0,0 +1,61 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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:

+ +

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..e22582f5b --- /dev/null +++ b/webassembly/beta_chapter_1_en_c.html @@ -0,0 +1,61 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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:

+ +

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..9c35d5893 --- /dev/null +++ b/webassembly/beta_chapter_1_es.html @@ -0,0 +1,65 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Tabla de Contenidos +
+
+

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:

+ +

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..ac3c41b2e --- /dev/null +++ b/webassembly/beta_chapter_1_fr.html @@ -0,0 +1,68 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

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:

+ +

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..b44ff7c5d --- /dev/null +++ b/webassembly/beta_chapter_1_fr_c.html @@ -0,0 +1,68 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

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:

+ +

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..22d2af8ca --- /dev/null +++ b/webassembly/beta_chapter_1_ie.html @@ -0,0 +1,61 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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:

+ +

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..8601bb730 --- /dev/null +++ b/webassembly/beta_chapter_1_ja.html @@ -0,0 +1,61 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ WebAssembly ツアー + + 目次 +
+
+

1章 - WebAssemblyとは?

+

WebAssemblyは、単体で実行可能なバイナリ形式のコードです。 +JavaScriptの代わりとして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..cd0f6edd2 --- /dev/null +++ b/webassembly/beta_chapter_1_pt-br.html @@ -0,0 +1,60 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por WebAssembly + + Índice +
+
+

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:

+ +

O WebAssembly é frequentemente chamado de 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..d72206f10 --- /dev/null +++ b/webassembly/beta_chapter_2_en.html @@ -0,0 +1,55 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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..b664807f8 --- /dev/null +++ b/webassembly/beta_chapter_2_en_c.html @@ -0,0 +1,55 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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..7d8e0d233 --- /dev/null +++ b/webassembly/beta_chapter_2_fr.html @@ -0,0 +1,55 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

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..adf66fb74 --- /dev/null +++ b/webassembly/beta_chapter_2_fr_c.html @@ -0,0 +1,55 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

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..914d84e80 --- /dev/null +++ b/webassembly/beta_chapter_2_ja.html @@ -0,0 +1,55 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ WebAssembly ツアー + + 目次 +
+
+

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..515a0b8db --- /dev/null +++ b/webassembly/beta_chapter_2_pt-br.html @@ -0,0 +1,55 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por WebAssembly + + Índice +
+
+

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_3_en.html b/webassembly/beta_chapter_3_en.html new file mode 100644 index 000000000..c94869323 --- /dev/null +++ b/webassembly/beta_chapter_3_en.html @@ -0,0 +1,53 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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..ca64741b0 --- /dev/null +++ b/webassembly/beta_chapter_3_fr.html @@ -0,0 +1,54 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

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..01631bd19 --- /dev/null +++ b/webassembly/beta_chapter_3_ja.html @@ -0,0 +1,53 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ WebAssembly ツアー + + 目次 +
+
+

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..09dc08f8a --- /dev/null +++ b/webassembly/beta_chapter_3_pt-br.html @@ -0,0 +1,53 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por WebAssembly + + Índice +
+
+

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_index.html b/webassembly/beta_index.html new file mode 100644 index 000000000..9743c069c --- /dev/null +++ b/webassembly/beta_index.html @@ -0,0 +1,68 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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..692b077c3 --- /dev/null +++ b/webassembly/chapter_1_en.html @@ -0,0 +1,61 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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:

+ +

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..fdcab50cf --- /dev/null +++ b/webassembly/chapter_1_en_c.html @@ -0,0 +1,61 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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:

+ +

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..ac2710b77 --- /dev/null +++ b/webassembly/chapter_1_es.html @@ -0,0 +1,65 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Tabla de Contenidos +
+
+

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:

+ +

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..fd7a65bf4 --- /dev/null +++ b/webassembly/chapter_1_fr.html @@ -0,0 +1,68 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

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:

+ +

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..0e4f7f9a2 --- /dev/null +++ b/webassembly/chapter_1_fr_c.html @@ -0,0 +1,68 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

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:

+ +

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..7cb02b2c0 --- /dev/null +++ b/webassembly/chapter_1_ie.html @@ -0,0 +1,61 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

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:

+ +

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..29db7f3ed --- /dev/null +++ b/webassembly/chapter_1_ja.html @@ -0,0 +1,61 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ WebAssembly ツアー + + 目次 +
+
+

1章 - WebAssemblyとは?

+

WebAssemblyは、単体で実行可能なバイナリ形式のコードです。 +JavaScriptの代わりとして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..d487ef97f --- /dev/null +++ b/webassembly/chapter_1_pt-br.html @@ -0,0 +1,60 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por WebAssembly + + Índice +
+
+

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:

+ +

O WebAssembly é frequentemente chamado de 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..c2d00ab0f --- /dev/null +++ b/webassembly/chapter_2_en.html @@ -0,0 +1,55 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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..008481390 --- /dev/null +++ b/webassembly/chapter_2_en_c.html @@ -0,0 +1,55 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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..940c9e39c --- /dev/null +++ b/webassembly/chapter_2_es.html @@ -0,0 +1,55 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Tabla de Contenidos +
+
+

[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..5bc320e60 --- /dev/null +++ b/webassembly/chapter_2_fr.html @@ -0,0 +1,55 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

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..799e87f59 --- /dev/null +++ b/webassembly/chapter_2_fr_c.html @@ -0,0 +1,55 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

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..014953afc --- /dev/null +++ b/webassembly/chapter_2_ie.html @@ -0,0 +1,55 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

[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..eff51fa05 --- /dev/null +++ b/webassembly/chapter_2_ja.html @@ -0,0 +1,55 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ WebAssembly ツアー + + 目次 +
+
+

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..05a2f356c --- /dev/null +++ b/webassembly/chapter_2_pt-br.html @@ -0,0 +1,55 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por WebAssembly + + Índice +
+
+

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_3_en.html b/webassembly/chapter_3_en.html new file mode 100644 index 000000000..d018eacc7 --- /dev/null +++ b/webassembly/chapter_3_en.html @@ -0,0 +1,53 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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..d16c404ba --- /dev/null +++ b/webassembly/chapter_3_en_c.html @@ -0,0 +1,53 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

[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..b1768baf6 --- /dev/null +++ b/webassembly/chapter_3_es.html @@ -0,0 +1,53 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Tabla de Contenidos +
+
+

[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..997dc265c --- /dev/null +++ b/webassembly/chapter_3_fr.html @@ -0,0 +1,54 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

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..d5aa468c0 --- /dev/null +++ b/webassembly/chapter_3_fr_c.html @@ -0,0 +1,53 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de WebAssembly + + Table des Matières +
+
+

[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..5e4fb27c0 --- /dev/null +++ b/webassembly/chapter_3_ie.html @@ -0,0 +1,53 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + Tabelle de contenete +
+
+

[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..af5a9419b --- /dev/null +++ b/webassembly/chapter_3_ja.html @@ -0,0 +1,53 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ WebAssembly ツアー + + 目次 +
+
+

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..69bfbeeb4 --- /dev/null +++ b/webassembly/chapter_3_pt-br.html @@ -0,0 +1,53 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Um tour por WebAssembly + + Índice +
+
+

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/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..da429aea6 --- /dev/null +++ b/webassembly/index.html @@ -0,0 +1,68 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of WebAssembly + + Table of Contents +
+
+

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