000 06207nam a22004573i 4500
001 EBC5601828
003 MiAaPQ
005 20240724113449.0
006 m o d |
007 cr cnu||||||||
008 240724s2018 xx o ||||0 eng d
020 _a9781789610611
_q(electronic bk.)
020 _z9781789616705
035 _a(MiAaPQ)EBC5601828
035 _a(Au-PeEL)EBL5601828
035 _a(CaPaEBR)ebr11639002
035 _a(OCoLC)1076810552
040 _aMiAaPQ
_beng
_erda
_epn
_cMiAaPQ
_dMiAaPQ
050 4 _aQA76.7 .A738 2018
082 0 _a005.13
100 1 _aArbuckle, Daniel.
245 1 0 _aRust Quick Start Guide :
_bThe Easiest Way to Learn Rust Programming.
250 _a1st ed.
264 1 _aBirmingham :
_bPackt Publishing, Limited,
_c2018.
264 4 _c©2018.
300 _a1 online resource (171 pages)
336 _atext
_btxt
_2rdacontent
337 _acomputer
_bc
_2rdamedia
338 _aonline resource
_bcr
_2rdacarrier
505 0 _aCover -- Title Page -- Copyright and Credits -- Packt Upsell -- Contributors -- Table of Contents -- Preface -- Chapter 1: Getting Ready -- Installing Rust -- Starting a new project -- Project metadata -- Dependencies on libraries from crates.io -- Dependencies on Git repositories -- Dependencies on local libraries -- Automatically generated source files -- Compiling our project -- Debug and release builds -- Dynamic libraries, software distribution, and Rust -- Using crates.io -- Summary -- Chapter 2: Basics of the Rust Language -- Functions -- Defining a function -- Modules -- Defining a module -- A module as a section of a file -- A module as a separate file -- Accessing module contents from outside -- Using the item's full name directly -- Using the item's short name -- Public and private module items -- Expressions -- Literal expressions -- Operator expressions -- Array and tuple expressions -- Block expressions -- Branch expressions -- Loop expressions -- while loops -- for loops -- Variables, types, and mutability -- Type inference -- Data structures -- Mutability of data structures -- More about functions -- Parameters -- Return types -- Error handling -- Using Result to signal success or failure -- Calling functions that return Result -- Implementing behavior for types -- Summary -- Chapter 3: The Big Ideas - Ownership and Borrowing -- Scope and ownership -- The stack -- Transferring ownership -- Copying -- Lending -- Lending immutably -- Lending mutably -- Accessing borrowed data -- The lifetime of borrowed data -- Ownership and the self parameter -- Moving self -- Borrowing self -- Mutably borrowing self -- Summary -- Chapter 4: Making Decisions by Pattern Matching -- Variable assignment with pattern matching -- Using if let expressions to test whether a pattern matches -- Using match to choose one of several patterns.
505 8 _aUsing don't care in patterns -- Moving and borrowing in pattern matches -- Matching tuples and other more complex patterns -- Nested patterns -- Storing a matched value and comparing it to a pattern -- Ignoring most of a data structure -- Gotchas -- Not all values can be matched against a literal pattern -- Patterns assign values to variable names -- Summary -- Chapter 5: One Data Type Representing Multiple Kinds of Data -- Enumerations -- Basic enumerations -- Parameterized enumerations -- Checking the value type and extracting parameter values -- Result is an enumeration, accessed via the prelude -- Traits and trait objects -- Traits -- Implementing our PrintableDirection trait -- Trait objects -- Using our PrintableDirection trait -- Trait objects only provide access to the trait interface -- Any -- Any can store almost anything -- But to access it we have to already know about the real data type -- Comparison of these techniques -- Summary -- Chapter 6: Heap Memory and Smart Pointers -- Box -- Box and variable size -- Box and Any -- Vec and String -- String -- Vec -- Rc -- Weak references -- Cell and RefCell -- Cell -- What's the point? -- RefCell -- Arc -- Mutex and RwLock -- Summary -- Chapter 7: Generic Types -- Types with generic type parameters -- Limiting what types can be used for type parameters -- Implementing functionality for types with generic type parameters -- Using generic types as function return values -- Compiler errors involving generic type parameters -- Generic types on functions outside of implementation blocks -- Alternative ways to write trait bounds -- Generic types versus trait objects -- Higher-order functions and trait bounds that represent functions -- Complete implementation of a binary tree with generic type parameters -- Summary -- Chapter 8: Important Standard Traits -- Traits that can be derived -- Clone -- Copy.
505 8 _aDebug -- PartialEq -- Eq -- PartialOrd -- Ord -- Hash -- Default -- Traits that enable operators -- ​Add, Mul, Sub, and Div -- AddAssign, MulAssign, SubAssign, and DivAssign -- BitAnd -- BitAndAssign -- BitOr -- BitOrAssign -- BitXor -- BitXorAssign -- Deref -- DerefMut -- Drop -- Index -- IndexMut -- Neg -- Not -- Rem and RemAssign -- Shl and ShlAssign -- Shr and ShrAssign -- Traits that are implemented automatically -- Sync -- Send -- Sized -- Fn -- FnMut -- FnOnce -- Summary -- Other Books You May Enjoy -- Index.
520 _aRust is an emerging programming language applicable to areas such as embedded programming, network programming, system programming, and web development. This book will take you from the basics of Rust to the point where your code compiles and does what you intend!.
588 _aDescription based on publisher supplied metadata and other sources.
590 _aElectronic reproduction. Ann Arbor, Michigan : ProQuest Ebook Central, 2024. Available via World Wide Web. Access may be limited to ProQuest Ebook Central affiliated libraries.
650 0 _aProgramming languages (Electronic computers).
655 4 _aElectronic books.
776 0 8 _iPrint version:
_aArbuckle, Daniel
_tRust Quick Start Guide
_dBirmingham : Packt Publishing, Limited,c2018
_z9781789616705
797 2 _aProQuest (Firm)
856 4 0 _uhttps://ebookcentral.proquest.com/lib/orpp/detail.action?docID=5601828
_zClick to View
999 _c6680
_d6680