Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Building Reusable Code with Rust
Building Reusable Code with Rust

Building Reusable Code with Rust: Write clean and reusable Rust libraries using generics, traits, and macros

Arrow left icon
Profile Icon Shing Lyu
Arrow right icon
£99.99
Full star icon Full star icon Full star icon Full star icon Full star icon 5 (1 Ratings)
Video Oct 2018 1hr 59mins 1st Edition
Video
£99.99
Subscription
Free Trial
Renews at £16.99p/m
Arrow left icon
Profile Icon Shing Lyu
Arrow right icon
£99.99
Full star icon Full star icon Full star icon Full star icon Full star icon 5 (1 Ratings)
Video Oct 2018 1hr 59mins 1st Edition
Video
£99.99
Subscription
Free Trial
Renews at £16.99p/m
Video
£99.99
Subscription
Free Trial
Renews at £16.99p/m

What do you get with a video?

Product feature icon Download this video in MP4 format
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Key benefits

  • Know the concepts of macros and compiler plugins and how they help with more complex projects
  • Use Rust's standard library to build a reusable and easy-to-understand API
  • Hands-on example of how to package your Rust code into reusable crates and publish them on crates.io

Description

Rust is the ideal language for writing safe, correct code in a way that won't make you pull your hair out. This course will teach you how to build reusable Rust code so that you can stop copying and pasting code. Write code that can adapt to many different usages. You will reuse code by using advanced features such as traits, generics and macros. You will work with different forms of code reuse, loops, map, filter and fold to save time and resources. Achieve higher-level reuse without sacrificing runtime performance. Organize your code into modules and crates to publish them to crates.io. By the end of the course you will be able to avoid code duplication and write clean reusable code. The code bundle for this video course is available at - https://github.com/PacktPublishing/Building-Reusable-Code-with-Rust

Who is this book for?

This course will appeal to Rust developers who are already familiar with the language and want to learn how to build Rust libraries that are maintainable and reusable, and have an API that honors Rust conventions.

What you will learn

  • Write clean and reusable Rust code for your applications
  • Use loop, map, filter and fold to avoid duplicated code
  • Understand generics and learn to use it to abstract algorithms for multiple data types
  • Define and enforce clear interface using traits
  • Work with macros and compiler plugins for metaprogramming
  • Explore how the standard library uses features such as generics, traits and macros
  • Structure your code with modules and crates and publish them online

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Oct 31, 2018
Length: 1hr 59mins
Edition : 1st
Language : English
ISBN-13 : 9781788399524
Category :
Languages :

What do you get with a video?

Product feature icon Download this video in MP4 format
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Product Details

Publication date : Oct 31, 2018
Length: 1hr 59mins
Edition : 1st
Language : English
ISBN-13 : 9781788399524
Category :
Languages :

Packt Subscriptions

See our plans and pricing
Modal Close icon
£16.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
£169.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just £5 each
Feature tick icon Exclusive print discounts
£234.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just £5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total £ 242.97
Learn Rust in 7 Days
£105.99
Building Reusable Code with Rust
£99.99
Rust Standard Library Cookbook
£36.99
Total £ 242.97 Stars icon
Banner background image

Table of Contents

5 Chapters
Basics of Code Reuse Chevron down icon Chevron up icon
Using Generics in Rust Chevron down icon Chevron up icon
Defining Interfaces with Traits Chevron down icon Chevron up icon
Hacking the Language with Macros Chevron down icon Chevron up icon
Reusing the Code with Other People Using Modules and Crates Chevron down icon Chevron up icon

Customer reviews

Rating distribution
Full star icon Full star icon Full star icon Full star icon Full star icon 5
(1 Ratings)
5 star 100%
4 star 0%
3 star 0%
2 star 0%
1 star 0%
Mouad Dec 21, 2023
Full star icon Full star icon Full star icon Full star icon Full star icon 5
the best wrap up demystifying deep basics I've stumbled over till now!! Thank you
Subscriber review Packt
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How can I download a video package for offline viewing? Chevron down icon Chevron up icon
  1. Login to your account at Packtpub.com.
  2. Click on "My Account" and then click on the "My Videos" tab to access your videos.
  3. Click on the "Download Now" link to start your video download.
How can I extract my video file? Chevron down icon Chevron up icon

All modern operating systems ship with ZIP file extraction built in. If you'd prefer to use a dedicated compression application, we've tested WinRAR / 7-Zip for Windows, Zipeg / iZip / UnRarX for Mac and 7-Zip / PeaZip for Linux. These applications support all extension files.

How can I get help and support around my video package? Chevron down icon Chevron up icon

If your video course doesn't give you what you were expecting, either because of functionality problems or because the content isn't up to scratch, please mail [email protected] with details of the problem. In addition, so that we can best provide the support you need, please include the following information for our support team.

  1. Video
  2. Format watched (HTML, MP4, streaming)
  3. Chapter or section that issue relates to (if relevant)
  4. System being played on
  5. Browser used (if relevant)
  6. Details of support
Why can’t I download my video package? Chevron down icon Chevron up icon

In the even that you are having issues downloading your video package then please follow these instructions:

  1. Disable all your browser plugins and extensions: Some security and download manager extensions can cause issues during the download.
  2. Download the video course using a different browser: We've tested downloads operate correctly in current versions of Chrome, Firefox, Internet Explorer, and Safari.