Home
last modified time | relevance | path

Searched refs:into_inner (Results 1 – 25 of 26) sorted by relevance

12

/third_party/rust/crates/once_cell/src/
Dimp_cs.rs75 pub(crate) fn into_inner(self) -> Option<T> { in into_inner() method
76 self.value.into_inner().into_inner() in into_inner()
Dlib.rs638 mem::replace(self, Self::default()).into_inner() in take()
657 pub fn into_inner(self) -> Option<T> { in into_inner() method
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()
1182 pub fn into_inner(self) -> Option<T> { in into_inner() method
1183 self.0.into_inner() in into_inner()
1253 cell.into_inner().ok_or_else(|| { in into_value()
Dimp_pl.rs117 pub(crate) fn into_inner(self) -> Option<T> { in into_inner() method
118 self.value.into_inner() in into_inner()
Dimp_std.rs125 pub(crate) fn into_inner(self) -> Option<T> { in into_inner() method
129 self.value.into_inner() in into_inner()
/third_party/rust/crates/lazycell/src/
Dlib.rs199 pub fn into_inner(self) -> Option<T> { in into_inner() method
204 unsafe { self.inner.into_inner() } in into_inner()
306 pub fn into_inner(self) -> Option<T> { in into_inner() method
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/clap/src/builder/
Dos_str.rs53 match id.into_inner() { in from()
63 Self::from_static_ref(std::ffi::OsStr::new(id.into_inner().0)) in from()
70 match id.clone().into_inner() { in from()
Dstr.rs31 pub(crate) fn into_inner(self) -> Inner { in into_inner() method
Dstyled_str.rs318 let buffer = buffer.into_inner(); in fmt()
Dcommand.rs3809 Ok(matcher.into_inner()) in _do_parse()
/third_party/rust/crates/cxx/gen/build/src/
Dcfg.rs404 let current = CURRENT.read().unwrap_or_else(PoisonError::into_inner); in current()
484 let mut current = CURRENT.write().unwrap_or_else(PoisonError::into_inner); in drop()
Dintern.rs20 .unwrap_or_else(PoisonError::into_inner); in intern()
/third_party/rust/crates/lazycell/tests/
Dlib.rs16 assert_eq!(lazycell.into_inner(), Some(1)); in test_lazycell()
/third_party/rust/crates/once_cell/tests/
Dit.rs86 fn into_inner() { in into_inner() function
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() function
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/syn/tests/crates/
Dmain.rs52 let oversize_count = oversize_count.into_inner(); in main()
/third_party/rust/crates/clap/tests/builder/
Dutils.rs32 let actual = buf.into_inner(); in assert_output()
/third_party/rust/crates/cxx/gen/cmd/src/
Dapp.rs142 let mut bool_cfgs = bool_cfgs.lock().unwrap_or_else(PoisonError::into_inner); in arg_cfg()
/third_party/rust/crates/either/
DREADME.rst95 - Add new methods ``.factor_first()``, ``.factor_second()`` and ``.into_inner()``
/third_party/rust/crates/cxx/src/
Dunique_ptr.rs151 Some(target) => Pin::into_inner(target), in deref_mut()
/third_party/rust/crates/clap/src/parser/
Darg_matcher.rs43 pub(crate) fn into_inner(self) -> ArgMatches { in into_inner() method
Dparser.rs452 matches: sc_m.into_inner(), in get_matches_with()
717 matches: sc_matcher.into_inner(), in parse_subcommand()
/third_party/rust/crates/once_cell/
DCHANGELOG.md179 - add `OnceCell::into_inner` which consumes a cell and returns an option
/third_party/rust/crates/termcolor/src/
Dlib.rs1159 pub fn into_inner(self) -> Vec<u8> { in into_inner() method
1260 pub fn into_inner(self) -> W { in into_inner() method
1321 pub fn into_inner(self) -> W { in into_inner() method
/third_party/rust/crates/either/src/
Dlib.rs873 pub fn into_inner(self) -> T { in into_inner() method
/third_party/rust/crates/nix/src/sys/
Dtermios.rs347 termios.inner.into_inner() in from()
/third_party/rust/crates/rust-openssl/openssl/src/ssl/
Dmod.rs1790 .unwrap_or_else(|e| e.into_inner()) in cached_ex_index()
2240 .unwrap_or_else(|e| e.into_inner()) in cached_ex_index()

12