Searched refs:lazycell (Results 1 – 16 of 16) sorted by relevance
/external/rust/crates/lazycell/src/ |
D | lib.rs | 374 let lazycell: LazyCell<usize> = LazyCell::new(); in test_borrow_from_empty() localVariable 376 let value = lazycell.borrow(); in test_borrow_from_empty() 379 let value = lazycell.get(); in test_borrow_from_empty() 385 let lazycell = LazyCell::new(); in test_fill_and_borrow() localVariable 387 assert!(!lazycell.filled()); in test_fill_and_borrow() 388 lazycell.fill(1).unwrap(); in test_fill_and_borrow() 389 assert!(lazycell.filled()); in test_fill_and_borrow() 391 let value = lazycell.borrow(); in test_fill_and_borrow() 394 let value = lazycell.get(); in test_fill_and_borrow() 400 let mut lazycell = LazyCell::new(); in test_borrow_mut() localVariable [all …]
|
/external/rust/crates/lazycell/ |
D | CHANGELOG.md | 7 …port non-Default-able `<T>` types ([b49f4eab](https://github.com/indiv0/lazycell/commit/b49f4eabec… 8 …lazycell:** Fix unsound aliasing in `LazyCell::fill` ([e789ac1a](https://github.com/indiv0/lazyce… 12 * Implement serde support ([e728a0b6](https://github.com/indiv0/lazycell/commit/e728a0b680e607b79… 16 * fix typo ([5f5ba9d5](https://github.com/indiv0/lazycell/commit/5f5ba9d5ac3364f8376c0c872c2e5094… 26 * Implement Clone for LazyCell and AtomicLazyCell ([30fe4a8f](https://github.com/indiv0/lazycell/… 36 * add `LazyCell::replace` for infallible access ([a63ffb90](https://github.com/indiv0/lazycell/co… 46 * add note regarding LazyCell::borrow_mut ([9d634d1f](https://github.com/indiv0/lazycell/commit/9… 47 …ps://github.com/indiv0/lazycell/commit/b80780294611e92efddcdd33a701b3049ab5c5eb), closes [#78](htt… 51 …ps://github.com/indiv0/lazycell/commit/31aff0dacf824841c5f38ef4acf0aa71ec4c36eb), closes [#87](htt… 52 …lazycell/commit/fdc6d268f0e9a6668768302f45fe2bb4aa9a7c34), closes [#79](https://github.com/indiv0/… [all …]
|
D | README.md | 1 # lazycell chapter 6 …ref="https://travis-ci.org/indiv0/lazycell" title="Travis Build Status"><img src="https://travis-c… 10 … href="https://crates.io/crates/lazycell" title="Crates.io downloads"><img src="https://img.shield… 11 …<a href="https://indiv0.github.io/lazycell/lazycell" title="API Docs"><img src="https://img.shield… 12 …<a href="https://crates.io/crates/lazycell" title="Crates.io"><img src="https://img.shields.io/cra… 13 …tle="License: MIT/Apache-2.0"><img src="https://img.shields.io/crates/l/lazycell.svg" alt="license… 14 …ralls.io/github/indiv0/lazycell?branch=master" title="Coverage Status"><img src="https://coveralls… 34 lazycell = "1.3" 40 extern crate lazycell; 68 [api-docs]: https://indiv0.github.io/lazycell/lazycell [all …]
|
D | Cargo.toml.orig | 2 name = "lazycell" 7 repository = "https://github.com/indiv0/lazycell" 8 documentation = "http://indiv0.github.io/lazycell/lazycell/" 10 keywords = ["lazycell", "lazy", "cell", "library"]
|
D | METADATA | 1 name: "lazycell" 6 value: "https://crates.io/crates/lazycell" 10 value: "https://static.crates.io/crates/lazycell/lazycell-1.3.0.crate"
|
D | Cargo.toml | 14 name = "lazycell" 19 documentation = "http://indiv0.github.io/lazycell/lazycell/" 21 keywords = ["lazycell", "lazy", "cell", "library"] 23 repository = "https://github.com/indiv0/lazycell"
|
D | LICENSE-MIT | 2 Modified work Copyright (c) 2016-2018 Nikita Pekin and lazycell contributors
|
D | Android.bp | 42 crate_name: "lazycell",
|
/external/rust/crates/once_cell/ |
D | README.md | 51 * [lazycell](https://crates.io/crates/lazycell)
|
/external/rust/crates/bindgen/ |
D | Cargo.toml.orig | 53 lazycell = "1"
|
D | Cargo.lock | 45 "lazycell", 156 name = "lazycell"
|
D | Cargo.toml | 58 [dependencies.lazycell]
|
D | Android.bp | 119 // lazycell-1.3.0
|
/external/rust/crates/grpcio-sys/ |
D | Android.bp | 119 // lazycell-1.3.0
|
/external/rust/crates/mio/ |
D | CHANGELOG.md | 292 - Fix lazycell related compilation issues.
|
/external/rust/crates/bindgen/src/ir/ |
D | item.rs | 26 use lazycell::LazyCell;
|