Structs§
- ArcPoints
To - For
Arc<T>, theinto_rawmethod gives shared access to the memory, and the reference count is not decreased, so the value will not be deallocated until we convert back toArc<T>and drop it. See https://doc.rust-lang.org/src/alloc/sync.rs.html#1480. - BoxPoints
To - For
Box<T>, theinto_rawmethod gives you the ownership of the memory