Lines Matching full:distributed
10 | [Distributed slice] | | | | | | |
15 [Distributed slice]: #distributed-slice
26 # Distributed slice
28 A distributed slice is a collection of static elements that are gathered into a
39 A static distributed slice is declared by writing `#[distributed_slice]` on a
52 Slice elements may be registered into a distributed slice by a
53 `#[distributed_slice(...)]` attribute in which the path to the distributed slice
69 Elements may be defined in the same crate that declares the distributed slice,
73 The distributed slice behaves in all ways like `&'static [T]`.
94 type of the distributed slice. If the two do not match, the program will not
115 As a shorthand for the common case of distributed slices containing function
116 pointers, the distributed\_slice attribute may be applied directly to a function
117 definition to place a pointer to that function into a distributed slice.