mirror of
https://github.com/edg-l/edlang.git
synced 2024-11-10 01:58:23 +00:00
1 line
4.3 KiB
JavaScript
1 line
4.3 KiB
JavaScript
searchState.loadedDescShard("once_cell", 0, "Overview\nThread-safe, non-blocking, “first one wins” flavor of …\nThread-safe, blocking version of <code>OnceCell</code>.\nSingle-threaded version of <code>OnceCell</code>.\nA thread-safe cell which can be written to only once.\nA thread-safe cell which can be written to only once.\nA thread-safe cell which can be written to only once.\nA thread-safe cell which can be written to only once.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nGets a reference to the underlying value.\nGets a reference to the underlying value.\nGets the underlying value.\nGets the underlying value.\nGets the contents of the cell, initializing it with <code>f</code> if …\nGets the contents of the cell, initializing it with <code>f</code> if …\nGets the contents of the cell, initializing it with <code>f</code> if …\nGets the contents of the cell, initializing it with <code>f</code> if …\nGets the contents of the cell, initializing it with <code>f</code> if …\nGets the contents of the cell, initializing it with <code>f</code> if …\nGets the contents of the cell, initializing it with <code>f</code> if …\nGets the contents of the cell, initializing it with <code>f</code> if …\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nCreates a new empty cell.\nCreates a new empty cell.\nCreates a new empty cell.\nCreates a new empty cell.\nSets the contents of this cell to <code>value</code>.\nSets the contents of this cell to <code>value</code>.\nSets the contents of this cell to <code>value</code>.\nSets the contents of this cell to <code>value</code>.\nA value which is initialized on the first access.\nA thread-safe cell which can be written to only once.\nCreates a new lazy value using <code>Default</code> as the initializing …\nForces the evaluation of this lazy value and returns a …\nForces the evaluation of this lazy value and returns a …\nReturns the argument unchanged.\nReturns the argument unchanged.\nGets the reference to the underlying value.\nGets the reference to the result of this lazy value if it …\nGets the mutable reference to the underlying value.\nGets the reference to the result of this lazy value if it …\nGets the contents of the cell, initializing it with <code>f</code> if …\nGets the contents of the cell, initializing it with <code>f</code> if …\nGet the reference to the underlying value, without …\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nConsumes the <code>OnceCell</code>, returning the wrapped value. Returns\nConsumes this <code>Lazy</code> returning the stored value.\nCreates a new empty cell.\nCreates a new lazy value with the given initializing …\nSets the contents of this cell to <code>value</code>.\nTakes the value out of this <code>OnceCell</code>, moving it back to an …\nLike <code>set</code>, but also returns a reference to the final cell …\nGets the reference to the underlying value, blocking the …\nCreates a new initialized cell.\nA value which is initialized on the first access.\nA cell which can be written to only once. It is not thread …\nCreates a new lazy value using <code>Default</code> as the initializing …\nForces the evaluation of this lazy value and returns a …\nForces the evaluation of this lazy value and returns a …\nReturns the argument unchanged.\nReturns the argument unchanged.\nGets a reference to the underlying value.\nGets the reference to the result of this lazy value if it …\nGets a mutable reference to the underlying value.\nGets the mutable reference to the result of this lazy …\nGets the contents of the cell, initializing it with <code>f</code> if …\nGets the contents of the cell, initializing it with <code>f</code> if …\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nConsumes the <code>OnceCell</code>, returning the wrapped value.\nConsumes this <code>Lazy</code> returning the stored value.\nCreates a new empty cell.\nCreates a new lazy value with the given initializing …\nSets the contents of this cell to <code>value</code>.\nTakes the value out of this <code>OnceCell</code>, moving it back to an …\nLike <code>set</code>, but also returns a reference to the final cell …\nCreates a new initialized cell.") |