/third_party/rust/crates/once_cell/src/ |
H A D | imp_cs.rs | 75 pub(crate) fn into_inner(self) -> Option<T> { 76 self.value.into_inner().into_inner()
|
H A D | lib.rs | 638 mem::replace(self, Self::default()).into_inner() in take() 651 /// assert_eq!(cell.into_inner(), None); 655 /// assert_eq!(cell.into_inner(), Some("hello".to_string())); 657 pub fn into_inner(self) -> Option<T> { in into_inner() functions 658 // Because `into_inner` takes `self` by value, the compiler statically verifies in into_inner() 660 self.inner.into_inner() in into_inner() 722 cell.into_inner().ok_or_else(|| { in into_value() 1163 mem::replace(self, Self::default()).into_inner() in take() 1175 /// assert_eq!(cell.into_inner(), None); 1179 /// assert_eq!(cell.into_inner(), Som 1182 pub fn into_inner(self) -> Option<T> { into_inner() functions [all...] |
H A D | imp_pl.rs | 117 pub(crate) fn into_inner(self) -> Option<T> { 118 self.value.into_inner()
|
H A D | imp_std.rs | 125 pub(crate) fn into_inner(self) -> Option<T> { 126 // Because `into_inner` takes `self` by value, the compiler statically 129 self.value.into_inner()
|
/third_party/rust/crates/lazycell/src/ |
H A D | lib.rs | 40 //! assert_eq!(lazycell.into_inner(), Some(1)); 199 pub fn into_inner(self) -> Option<T> { in into_inner() functions 200 // Rust 1.25 changed UnsafeCell::into_inner() from unsafe to safe in into_inner() 204 unsafe { self.inner.into_inner() } in into_inner() 306 pub fn into_inner(self) -> Option<T> { in into_inner() functions 307 // Rust 1.25 changed UnsafeCell::into_inner() from unsafe to safe in into_inner() 311 unsafe { self.inner.into_inner() } in into_inner() 544 let value = lazycell.into_inner(); in test_into_inner() 587 let value = lazycell.into_inner(); in test_atomic_into_inner()
|
/third_party/rust/crates/once_cell/tests/ |
H A D | it.rs | 86 fn into_inner() { in into_inner() functions 88 assert_eq!(cell.into_inner(), None); in into_inner() 91 assert_eq!(cell.into_inner(), Some("hello".to_string())); in into_inner() 414 fn into_inner() { in into_inner() functions 416 assert_eq!(cell.into_inner(), None); in into_inner() 419 assert_eq!(cell.into_inner(), Some("hello".to_string())); in into_inner()
|
/third_party/rust/crates/lazycell/tests/ |
H A D | lib.rs | 16 assert_eq!(lazycell.into_inner(), Some(1)); in test_lazycell()
|
/third_party/rust/crates/clap/tests/builder/ |
H A D | utils.rs | 32 let actual = buf.into_inner(); in assert_output()
|
/third_party/rust/crates/cxx/gen/cmd/src/ |
H A D | app.rs | 142 let mut bool_cfgs = bool_cfgs.lock().unwrap_or_else(PoisonError::into_inner); in arg_cfg()
|
/third_party/rust/crates/cxx/src/ |
H A D | unique_ptr.rs | 151 Some(target) => Pin::into_inner(target), in deref_mut()
|
/third_party/rust/crates/clap/src/parser/ |
H A D | arg_matcher.rs | 43 pub(crate) fn into_inner(self) -> ArgMatches {
|
H A D | parser.rs | 452 matches: sc_m.into_inner(), 717 matches: sc_matcher.into_inner(), in parse_subcommand()
|
/third_party/rust/crates/termcolor/src/ |
H A D | lib.rs | 1159 pub fn into_inner(self) -> Vec<u8> { in into_inner() functions 1260 pub fn into_inner(self) -> W { in into_inner() functions 1321 pub fn into_inner(self) -> W { in into_inner() functions
|
/third_party/rust/crates/either/src/ |
H A D | lib.rs | 868 /// assert_eq!(left.into_inner(), 123); 871 /// assert_eq!(right.into_inner(), 123); 873 pub fn into_inner(self) -> T { in into_inner() functions
|
/third_party/rust/crates/nix/src/sys/ |
H A D | termios.rs | 347 termios.inner.into_inner() in from()
|
/third_party/rust/crates/clap/src/builder/ |
H A D | command.rs | 3809 Ok(matcher.into_inner()) in _do_parse()
|