|
10 | 10 | - [Finalisation in Destructors](./idioms/dtor-finally.md)
|
11 | 11 | - [`mem::{take(_), replace(_)}`](./idioms/mem-replace.md)
|
12 | 12 | - [On-Stack Dynamic Dispatch](./idioms/on-stack-dyn-dispatch.md)
|
13 |
| - - [Foreign function interface usage](./idioms/ffi-intro.md) |
14 |
| - - [Idiomatic Errors](./idioms/ffi-errors.md) |
15 |
| - - [Accepting Strings](./idioms/ffi-accepting-strings.md) |
16 |
| - - [Passing Strings](./idioms/ffi-passing-strings.md) |
| 13 | + - [Foreign function interface (FFI)](./idioms/ffi/intro.md) |
| 14 | + - [Idiomatic Errors](./idioms/ffi/errors.md) |
| 15 | + - [Accepting Strings](./idioms/ffi/accepting-strings.md) |
| 16 | + - [Passing Strings](./idioms/ffi/passing-strings.md) |
17 | 17 | - [Iterating over an `Option`](./idioms/option-iter.md)
|
18 | 18 | - [Pass Variables to Closure](./idioms/pass-var-to-closure.md)
|
19 | 19 | - [Privacy For Extensibility](./idioms/priv-extend.md)
|
20 | 20 | - [Easy doc initialization](./idioms/rustdoc-init.md)
|
21 | 21 | - [Temporary mutability](./idioms/temporary-mutability.md)
|
22 | 22 |
|
23 | 23 | - [Design Patterns](./patterns/index.md)
|
24 |
| - - [Builder](./patterns/builder.md) |
25 |
| - - [Compose Structs](./patterns/compose-structs.md) |
26 |
| - - [Entry API](./patterns/entry.md) |
27 |
| - - [Foreign function interface usage](./patterns/ffi-intro.md) |
28 |
| - - [Object-Based APIs](./patterns/ffi-export.md) |
29 |
| - - [Type Consolidation into Wrappers](./patterns/ffi-wrappers.md) |
30 |
| - - [Fold](./patterns/fold.md) |
31 |
| - - [Interpreter](./patterns/interpreter.md) |
32 |
| - - [Newtype](./patterns/newtype.md) |
33 |
| - - [RAII Guards](./patterns/RAII.md) |
34 |
| - - [Prefer Small Crates](./patterns/small-crates.md) |
35 |
| - - [Strategy](./patterns/strategy.md) |
36 |
| - - [Contain unsafety in small modules](./patterns/unsafe-mods.md) |
37 |
| - - [Visitor](./patterns/visitor.md) |
| 24 | + - [Behavioural](./patterns/behavioural/intro.md) |
| 25 | + - [Interpreter](./patterns/behavioural/interpreter.md) |
| 26 | + - [Newtype](./patterns/behavioural/newtype.md) |
| 27 | + - [RAII Guards](./patterns/behavioural/RAII.md) |
| 28 | + - [Strategy](./patterns/behavioural/strategy.md) |
| 29 | + - [Visitor](./patterns/behavioural/visitor.md) |
| 30 | + - [Creational](./patterns/creational/intro.md) |
| 31 | + - [Builder](./patterns/creational/builder.md) |
| 32 | + - [Fold](./patterns/creational/fold.md) |
| 33 | + - [Structural](./patterns/structural/intro.md) |
| 34 | + - [Compose Structs](./patterns/structural/compose-structs.md) |
| 35 | + - [Prefer Small Crates](./patterns/structural/small-crates.md) |
| 36 | + - [Contain unsafety in small modules](./patterns/structural/unsafe-mods.md) |
| 37 | + - [Foreign function interface (FFI)](./patterns/ffi/intro.md) |
| 38 | + - [Object-Based APIs](./patterns/ffi/export.md) |
| 39 | + - [Type Consolidation into Wrappers](./patterns/ffi/wrappers.md) |
38 | 40 |
|
39 | 41 | - [Anti-patterns](./anti_patterns/index.md)
|
40 | 42 | - [`#[deny(warnings)]`](./anti_patterns/deny-warnings.md)
|
|
0 commit comments