[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-fr-114":3,"doc-seo-516162-114":48,"doc-detail-516162-fr":123},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,21,24,28,32,36,40,44],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},67,"Document","Général",61,"general",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},66,"Art de vivre",60,"lifestyle",{"id":11,"doc_module":4,"doc_module_name":9,"category_name":19,"show_sort_weight":16,"slug":20},"Bande dessinée","comic",{"id":16,"doc_module":4,"doc_module_name":9,"category_name":22,"show_sort_weight":16,"slug":23},"Examen","exam",{"id":25,"doc_module":4,"doc_module_name":9,"category_name":26,"show_sort_weight":16,"slug":27},59,"Littérature","literature",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":16,"slug":31},64,"Recherche & Rapport","research-report",{"id":33,"doc_module":4,"doc_module_name":9,"category_name":34,"show_sort_weight":16,"slug":35},58,"Récits & Romans","story-novel",{"id":37,"doc_module":4,"doc_module_name":9,"category_name":38,"show_sort_weight":16,"slug":39},65,"Religion & Spiritualité","religion-spirituality",{"id":41,"doc_module":4,"doc_module_name":9,"category_name":42,"show_sort_weight":16,"slug":43},63,"Santé & Soins","healthcare",{"id":45,"doc_module":4,"doc_module_name":9,"category_name":46,"show_sort_weight":16,"slug":47},62,"Technologie","technology",{"code":4,"msg":49,"data":50},"ok",{"site_id":51,"language":52,"slug":53,"title":54,"keywords":55,"description":56,"schema_data":57,"social_meta":116,"head_meta":118,"extra_data":120,"updated_unix":122},114,"fr","comprehensive-rust","Comprehensive Rust","","Comprehensive Rust est un guide structuré pour apprendre Rust pas à pas, en suivant une progression jour par jour avec des chapitres consacrés aux notions fondamentales. Le contenu couvre la présentation de la formation et l’utilisation de Cargo, puis enchaîne sur les types, valeurs, inférence de type, opérateurs arithmétiques, et le flux de contrôle (if, boucles, break/continue, portées). Des exercices pratiques sont intégrés, avec aussi des solutions, et la suite aborde tuples, tableaux, itérateurs, références, filtres par motif (pattern matching), lecture/écriture et traits.",{"@graph":58,"@context":115},[59,76,98],{"@type":60,"itemListElement":61},"BreadcrumbList",[62,67,70,73],{"item":63,"name":64,"@type":65,"position":66},"https://docshare.wps.com","Home","ListItem",1,{"item":68,"name":9,"@type":65,"position":69},"https://docshare.wps.com/fr/document/",2,{"item":71,"name":46,"@type":65,"position":72},"https://docshare.wps.com/fr/document/technologie/",3,{"item":74,"name":54,"@type":65,"position":75},"https://docshare.wps.com/fr/document/comprehensive-rust/516162/",4,{"url":74,"name":54,"@type":77,"image":78,"author":83,"headline":54,"publisher":86,"fileFormat":89,"inLanguage":52,"description":56,"dateModified":90,"datePublished":91,"encodingFormat":89,"isAccessibleForFree":92,"interactionStatistic":93},"DigitalDocument",{"url":79,"@type":80,"width":81,"height":82},"https://docshare.wps.com/thumbnails/comprehensive-rust/516162.png","ImageObject",300,407,{"name":84,"@type":85},"Lucas Martin","Person",{"url":63,"name":87,"@type":88},"DocShare","Organization","application/pdf","2026-11-22","2026-10-06",true,{"@type":94,"interactionType":95,"userInteractionCount":97},"InteractionCounter",{"@type":96},"ViewAction",12,{"@type":99,"mainEntity":100},"FAQPage",[101,107,111],{"name":102,"@type":103,"acceptedAnswer":104},"De quoi se compose la formation Comprehensive Rust ?","Question",{"text":105,"@type":106},"La formation est organisée en chapitres avec une progression jour par jour (Jour 1, Jour 2) et des sections dédiées aux concepts clés du langage Rust, accompagnées d’exercices et de solutions.","Answer",{"name":108,"@type":103,"acceptedAnswer":109},"Comment la formation explique-t-elle l’utilisation de Cargo ?",{"text":110,"@type":106},"La section « Utiliser Cargo » présente l’écosystème Rust, montre des échantillons de code et explique comment exécuter du code localement avec Cargo.",{"name":112,"@type":103,"acceptedAnswer":113},"Quels thèmes de programmation sont abordés dans le cours ?",{"text":114,"@type":106},"Le cours couvre notamment les types et valeurs, l’inférence de type, le flux de contrôle (if, boucles, break/continue, blocs et portées), puis des sujets comme tuples, tableaux, itérateurs, références, pattern matching, read/write et les traits.","https://schema.org",{"og:url":74,"og:type":117,"og:title":54,"og:site_name":87,"og:description":56},"article",{"robots":119,"canonical":74},"index,follow",{"doc_id":121,"site_id":51},516162,1791399851,{"code":4,"msg":5,"data":124},{"doc_id":121,"user_id":125,"nickname":84,"user_avatar":126,"doc_module":4,"category_id":45,"category_name":46,"doc_title":54,"doc_description":56,"doc_content":127,"file_id":128,"file_url":129,"file_type":130,"file_size":131,"view_count":97,"is_deleted":4,"is_public":66,"is_downloadable":66,"audit_status":66,"page_count":132,"language":133,"language_code":52,"site_id":51,"html_lang":52,"table_of_contents":134,"faqs":135,"seo_title":136,"seo_description":56,"update_tm":137,"read_time":138,"preview_page_count":139,"preview_urls":140},8796095360427,"https://ap-avatar.wpscdn.com/davatar_994ba38a5ba835b3df7d355c54d3ed8d","Comprehensive Rust   \nMartin Geisler  \nContents  \nBienvenue à Comprehensive Rust (le guide complet de Rust)  10  \n1 Comment présenter le cours 12  \n1. 1 Structure du cours . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13  \n1. 2 Raccourcis clavier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16  \n1. 3 Traductions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16  \n2 Utiliser Cargo 17  \n2.1 L'écosystème de Rust . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17  \n2. 2 Échantillons de code dans cette formation   19  \n2.3 Exécuter du code localement avec Cargo . . . . . . . . . . . . . . . . . . . . 19  \nI Jour 1 : Matin 21  \n3 Bienvenue au jour 1 22  \n4 Bonjour le monde! 24  \n4.1 Qu'est-ce que Rust ? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24  \n4. 2 Benefits of Rust   25  \n4.3 Playground . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25  \n5 Types and Values 27  \n5.1 Bonjour le monde! . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27  \n5. 2 Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28  \n5. 3 Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28  \n5.4 Arithmetic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29  \n5.5 Inférence de type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29  \n5. 6 Exercise: Fibonacci . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30  \n5.6. 1 Solutions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30  \n6 Flux de contrôle 32  \n6.1 if expressions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32  \n6. 2 Boucles for . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33  \n6.2.1 for . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33  \n6.2.2 loop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33  \n6.3 break and continue . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34  \n6.3. 1 Labels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34  \n6.4 Blocks and Scopes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35  \n6.4.1 Portée et masquage . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35  \n6.5 Fonctions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36  \n6. 6 Macros . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36  \n6.7 Exercise: Collatz Sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37  \n6.7. 1 Solutions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37  \nII Jour 1 : Après-midi 39  \n7 Welcome Back 40  \n8 Tuples and Arrays 41  \n8.1 Arrays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41  \n8.2 Tuples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42  \n8. 3 Iterator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42  \n8.4 Déstructuration des énumérations . . . . . . . . . . . . . . . . . . . . . . . 42  \n8.5 Exercise: Nested Arrays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43  \n8.5. 1 Solutions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44  \n9 Références 46  \n9. 1 Références . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46  \n9. 2 Références invalides . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47  \n9. 3 Tranches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48  \n9.4 Cordes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48  \n9.5 Exercise: Geometry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49  \n9.5. 1 Solutions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50  \n10 User-Defined Types 51  \n10. 1 Structures . . . . . . . . .","cbCaidtPmjcpLJIk","https://ap.wps.com/l/cbCaidtPmjcpLJIk","pdf",1251234,382,"French","# Bienvenue à Comprehensive Rust (le guide complet de Rust)\n## Comment présenter le cours\n## Raccourcis clavier\n## Traductions\n# Utiliser Cargo\n## L'écosystème de Rust\n## Échantillons de code dans cette formation\n## Exécuter du code localement avec Cargo\n# Jour 1 : Matin\n## Bienvenue au jour 1\n## Bonjour le monde!\n## Qu'est-ce que Rust ?\n## Benefits of Rust\n## Playground\n## Types and Values\n# Flux de contrôle\n## if expressions\n## Boucles for\n## break and continue\n## Blocks and Scopes\n## Fonctions\n## Macros\n## Exercise: Collatz Sequence\n# Jour 1 : Après-midi\n## Welcome Back\n## Tuples and Arrays\n## Arrays\n## Tuples\n## Iterator\n## Déstructuration des énumérations\n## Exercise: Nested Arrays\n# Références\n## Références\n## Références invalides\n## Tranches\n## Cordes\n## Exercise: Geometry\n# User-Defined Types\n## Structures\n## Structures tuple\n## Énumérations\n## static\n## const\n## Type Aliases\n## Exercise: Elevator Events\n# Jour 2 : Matin\n## Welcome to Day 2\n## Filtrage par motif\n## Matching Values\n## Déstructuration des énumérations\n## Flux de contrôle\n## Exercise: Expression Evaluation\n# Read et Write\n## Méthodes\n## Traits\n## Implémentation de traits non sécurisés\n## Plus de traits\n## Types scalaires\n## Traits dérivés\n## Exercise: Logger Trait\n# Génériques\n## Fonctions externes","[{\"question\":\"De quoi se compose la formation Comprehensive Rust ?\",\"answer\":\"La formation est organisée en chapitres avec une progression jour par jour (Jour 1, Jour 2) et des sections dédiées aux concepts clés du langage Rust, accompagnées d’exercices et de solutions.\"},{\"question\":\"Comment la formation explique-t-elle l’utilisation de Cargo ?\",\"answer\":\"La section « Utiliser Cargo » présente l’écosystème Rust, montre des échantillons de code et explique comment exécuter du code localement avec Cargo.\"},{\"question\":\"Quels thèmes de programmation sont abordés dans le cours ?\",\"answer\":\"Le cours couvre notamment les types et valeurs, l’inférence de type, le flux de contrôle (if, boucles, break/continue, blocs et portées), puis des sujets comme tuples, tableaux, itérateurs, références, pattern matching, read/write et les traits.\"}]","Comprehensive Rust | PDF",1791326805,588,39,[141,145,149,153,157,162,167,172,177,182,187,192,196,201,206,211,216,221,226,231,236,241,246,251,256,261,266,271,276,281,286,291,296,301,306,311,316,321,326],{"page_no":66,"url":142,"width":143,"height":144},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/9bb1f5f7ef3a0e04ce0e2ad34e86cac4.webp",983,1272,{"page_no":69,"url":146,"width":147,"height":148},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/efe8425c42f557b7f63c1f701db0ddc4.webp",982,1270,{"page_no":72,"url":150,"width":151,"height":152},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/818250ef8f6e7919258613e55324ac27.webp",981,1269,{"page_no":75,"url":154,"width":155,"height":156},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/587c852bd55b8c9804d6df5ba66a75d2.webp",980,1268,{"page_no":158,"url":159,"width":160,"height":161},5,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/621a6c820ec1105c456f0b507e8d2e22.webp",979,1267,{"page_no":163,"url":164,"width":165,"height":166},6,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/f5c509655c7db5f174e11b45ee10d7bc.webp",978,1265,{"page_no":168,"url":169,"width":170,"height":171},7,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/dc9900eada7b8f6e1f679506a04f728b.webp",977,1264,{"page_no":173,"url":174,"width":175,"height":176},8,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/4e7bed5f654db1b50b2227dc85d366d0.webp",976,1263,{"page_no":178,"url":179,"width":180,"height":181},9,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/309d340bad90cc3945fde06c555847b4.webp",975,1261,{"page_no":183,"url":184,"width":185,"height":186},10,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/16b36b0374c3db14f84bb78812825658.webp",974,1260,{"page_no":188,"url":189,"width":190,"height":191},11,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/cf8d43fa7ba336fabad8292c29d01993.webp",973,1259,{"page_no":97,"url":193,"width":194,"height":195},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/515dc6d4da7e972ad2d69727c4b17565.webp",972,1257,{"page_no":197,"url":198,"width":199,"height":200},13,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/b96da64f3449919a69d094d2c3cb96e6.webp",971,1256,{"page_no":202,"url":203,"width":204,"height":205},14,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/211603e08ce7fe666a1e7b1fbc3d859d.webp",970,1255,{"page_no":207,"url":208,"width":209,"height":210},15,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/3e42de375fc8381fdfda00e1c8fbe449.webp",969,1254,{"page_no":212,"url":213,"width":214,"height":215},16,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/1fe78e2494cbe330dd9ef92660279d04.webp",968,1252,{"page_no":217,"url":218,"width":219,"height":220},17,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/eec7985391bc050eb2ed97730cb4aab3.webp",967,1251,{"page_no":222,"url":223,"width":224,"height":225},18,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/1019f6bff16dd9ffdcc06f579b126816.webp",966,1250,{"page_no":227,"url":228,"width":229,"height":230},19,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/3efcb5a3340f497ff9e643fd54e6077c.webp",965,1248,{"page_no":232,"url":233,"width":234,"height":235},20,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/0a071dcbe72df99d5df55d1672c53ee6.webp",964,1247,{"page_no":237,"url":238,"width":239,"height":240},21,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/d558a2aa24556b50e443f5c60fe2f88c.webp",963,1246,{"page_no":242,"url":243,"width":244,"height":245},22,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/e6f107f7c656ec9c7b583f3c239dea0b.webp",962,1245,{"page_no":247,"url":248,"width":249,"height":250},23,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/0a9989db7ffcbaa5032d5d10222d4310.webp",961,1243,{"page_no":252,"url":253,"width":254,"height":255},24,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/0041c80a50436ec0915379d359d5b407.webp",960,1242,{"page_no":257,"url":258,"width":259,"height":260},25,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/ddb775e0f33aae71e5d4e096532cdf7f.webp",959,1241,{"page_no":262,"url":263,"width":264,"height":265},26,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/245cc638c5e55a41919c5924ad7ec0dd.webp",958,1239,{"page_no":267,"url":268,"width":269,"height":270},27,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/cb91dacc8e639eae64610612deb9a988.webp",957,1238,{"page_no":272,"url":273,"width":274,"height":275},28,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/f3ce0cdf601dd7cc7328cd157e77d118.webp",956,1237,{"page_no":277,"url":278,"width":279,"height":280},29,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/fc497f3ca03e7a675153b015a07f4c8e.webp",955,1235,{"page_no":282,"url":283,"width":284,"height":285},30,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/98b3e8ccdb7796e96bf2439609e682d6.webp",954,1234,{"page_no":287,"url":288,"width":289,"height":290},31,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/99645b2a76b8acc5a6d5eb3e0821b911.webp",953,1233,{"page_no":292,"url":293,"width":294,"height":295},32,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/72f7367595478e8cae2318ec08fc5a6f.webp",952,1232,{"page_no":297,"url":298,"width":299,"height":300},33,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/9ef94e8c439344237d33c29f269a431b.webp",951,1230,{"page_no":302,"url":303,"width":304,"height":305},34,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/2e193bc50fbecedf23b264f1392a3044.webp",950,1229,{"page_no":307,"url":308,"width":309,"height":310},35,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/17e295ffefa35013484290336c3c054c.webp",949,1228,{"page_no":312,"url":313,"width":314,"height":315},36,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/ecb0d8576dd1bbe067d99e85e5bf23bc.webp",948,1226,{"page_no":317,"url":318,"width":319,"height":320},37,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/9ecb446fccbff6fdeae61c2f218cc9f2.webp",947,1225,{"page_no":322,"url":323,"width":324,"height":325},38,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/a00d0049a59d6c98ba1fe5cc24d89945.webp",946,1224,{"page_no":139,"url":327,"width":328,"height":329},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/405e1ea1c6dcccffa1053a40349f151d.webp",945,1223]