Lines Matching refs:of
13 [Pinning][pinning] is Rust's way of ensuring data does not move.
15 It also allows in-place initialization of big `struct`s that would otherwise produce a stack
23 Another reason would be that you need the address of the object to initialize it. This stands
24 in direct conflict with Rust's normal process of first initializing an object and then moving
67 Throughout the examples we will often make use of the `CMutex` type which can be found in
68 `../examples/mutex.rs`. It is essentially a userland rebuild of the `struct mutex` type from
78 that you need to write `<-` instead of `:` for fields that you want to initialize in-place.
96 `foo` now is of the type [`impl PinInit<Foo>`]. We can now use any smart pointer that we like
134 ### Manual creation of an initializer
145 - you may assume that `slot` will stay pinned even after the closure returns until `drop` of
203 // All fields of `RawFoo` have been initialized, since `_p` is a ZST.