Warm-up examples
Examples to demonstrate:
- using an unsafe block (
unsafe { ... }) - defining an unsafe function (
unsafe fn) - implementing an unsafe trait (
unsafe impl { ... }) - defining an unsafe trait (
unsafe trait)
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
Examples to demonstrate:
unsafe { ... })unsafe fn)unsafe impl { ... })unsafe trait)