mirror of
https://github.com/darkicewolf50/RustBrock.git
synced 2025-06-15 13:04:18 -06:00
finished ch20 intro
This commit is contained in:
parent
295d603cbd
commit
848e5c4e33
22
.obsidian/workspace.json
vendored
22
.obsidian/workspace.json
vendored
@ -63,6 +63,20 @@
|
||||
"title": "Advanced Features"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "8cdde5c4be386d20",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "markdown",
|
||||
"state": {
|
||||
"file": "Unsafe Rust.md",
|
||||
"mode": "source",
|
||||
"source": false
|
||||
},
|
||||
"icon": "lucide-file",
|
||||
"title": "Unsafe Rust"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "78cd7043d5d51ffa",
|
||||
"type": "leaf",
|
||||
@ -116,7 +130,7 @@
|
||||
}
|
||||
}
|
||||
],
|
||||
"currentTab": 3
|
||||
"currentTab": 4
|
||||
}
|
||||
],
|
||||
"direction": "vertical"
|
||||
@ -259,10 +273,11 @@
|
||||
"command-palette:Open command palette": false
|
||||
}
|
||||
},
|
||||
"active": "de2ac5df5b921166",
|
||||
"active": "8cdde5c4be386d20",
|
||||
"lastOpenFiles": [
|
||||
"Pattern Matching.md",
|
||||
"Advanced Features.md",
|
||||
"Unsafe Rust.md",
|
||||
"Pattern Matching.md",
|
||||
"Places Patterns Can Be Used.md",
|
||||
"Pattern Syntax.md",
|
||||
"Refutability.md",
|
||||
@ -286,7 +301,6 @@
|
||||
"Leaky Reference Cycles.md",
|
||||
"Test Controls.md",
|
||||
"Ref Cell Mutability.md",
|
||||
"Reference Counter Smart Pointer.md",
|
||||
"minigrep/src/lib.rs",
|
||||
"does_not_compile.svg",
|
||||
"Untitled.canvas",
|
||||
|
@ -1 +1,16 @@
|
||||
# Advanced Features
|
||||
So far we learned about the most commonly used parts of the Rust programming language.
|
||||
|
||||
Here we will look at a few aspects of the language you may run into once in a while but may not use everyday.
|
||||
|
||||
This is intended to be used as a reference for when you encounter any unknowns.
|
||||
|
||||
The features covered here are useful in very specific situations.
|
||||
|
||||
In this chapter we will cover
|
||||
- [Unsafe Rust](./Unsafe%20Rust.md): How to opt out of some of Rust's guarantees and take responsibility for manually upholding those guarantees
|
||||
- [Advanced traits](): associated types, default type parameters, fully qualified syntax, supertraits, and the new type pattern in relation to traits
|
||||
- [Advanced types](): more about the newtype pattern, type aliases, the never type, and dynamically sized types
|
||||
- [Advanced functions and closures](): function pointers and returning closures
|
||||
- [Macros](): ways to define code that defines more code at compile time
|
||||
a
|
1
Unsafe Rust.md
Normal file
1
Unsafe Rust.md
Normal file
@ -0,0 +1 @@
|
||||
# Unsafe Rust
|
Loading…
x
Reference in New Issue
Block a user