Exploring Slice Types in Rust: Understanding Dynamic Types, References, and Their Size and the Traits Involved
Slice is a dynamically sized view into the contiguous sequence i.e. no copy but a direct view into memory whether stored in the heap or stack. We can make reference to a slice as long as the underlying data structure is contiguous which Rust guarante...
sanjeevi.hashnode.dev13 min read