1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
use assert_impl_all;
use ;
// Entry-time thread-safety contract; the anchor rationale is documented
// in `network.rs`.
assert_impl_all!;
/// A detached, `Copy` name for a recorded value: the currency of every
/// phase after recording.
///
/// Unlike [`Value`](crate::Value), a symbol carries no tape borrow and
/// no payload; it is an origin plus a node position, valid across
/// threads, notebook cells, checkpoints, and
/// [`Network::into_tape`](crate::Network::into_tape) round trips —
/// linear extension never moves a recorded node. Take one with
/// [`Value::symbol`](crate::Value::symbol) before sealing the tape;
/// read through it with [`Parameters::of`](crate::Parameters::of),
/// [`Run::of`](crate::Run::of), or [`Field::of`](crate::Field::of),
/// and turn it back into a proxy with
/// [`Tape::resolve`](crate::Tape::resolve) when a network reopens.
///
/// The origin participates in equality and hashing, so equally
/// positioned nodes from unrelated graphs do not compare equal.