Home
last modified time | relevance | path

Searched refs:into_inner (Results 1 - 16 of 16) sorted by relevance

/third_party/rust/crates/once_cell/src/
H A Dimp_cs.rs75 pub(crate) fn into_inner(self) -> Option<T> {
76 self.value.into_inner().into_inner()
H A Dlib.rs638 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 Dimp_pl.rs117 pub(crate) fn into_inner(self) -> Option<T> {
118 self.value.into_inner()
H A Dimp_std.rs125 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 Dlib.rs40 //! 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 Dit.rs86 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 Dlib.rs16 assert_eq!(lazycell.into_inner(), Some(1)); in test_lazycell()
/third_party/rust/crates/clap/tests/builder/
H A Dutils.rs32 let actual = buf.into_inner(); in assert_output()
/third_party/rust/crates/cxx/gen/cmd/src/
H A Dapp.rs142 let mut bool_cfgs = bool_cfgs.lock().unwrap_or_else(PoisonError::into_inner); in arg_cfg()
/third_party/rust/crates/cxx/src/
H A Dunique_ptr.rs151 Some(target) => Pin::into_inner(target), in deref_mut()
/third_party/rust/crates/clap/src/parser/
H A Darg_matcher.rs43 pub(crate) fn into_inner(self) -> ArgMatches {
H A Dparser.rs452 matches: sc_m.into_inner(),
717 matches: sc_matcher.into_inner(), in parse_subcommand()
/third_party/rust/crates/termcolor/src/
H A Dlib.rs1159 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 Dlib.rs868 /// 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 Dtermios.rs347 termios.inner.into_inner() in from()
/third_party/rust/crates/clap/src/builder/
H A Dcommand.rs3809 Ok(matcher.into_inner()) in _do_parse()

Completed in 18 milliseconds