Home
last modified time | relevance | path

Searched refs:into_value (Results 1 – 9 of 9) sorted by relevance

/third_party/rust/crates/syn/tests/
Dtest_iterators.rs28 assert_eq!(p.pairs().next_back().map(Pair::into_value), Some(&4)); in pairs()
30 p.pairs_mut().next_back().map(Pair::into_value), in pairs()
33 assert_eq!(p.into_pairs().next_back().map(Pair::into_value), Some(4)); in pairs()
/third_party/rust/crates/log/src/kv/
Dvalue.rs321 .map_err(Error::into_value) in visit()
325 self.0.visit_u64(value).map_err(Error::into_value) in visit()
329 self.0.visit_i64(value).map_err(Error::into_value) in visit()
333 self.0.visit_u128(value).map_err(Error::into_value) in visit()
337 self.0.visit_i128(value).map_err(Error::into_value) in visit()
341 self.0.visit_f64(value).map_err(Error::into_value) in visit()
345 self.0.visit_bool(value).map_err(Error::into_value) in visit()
349 self.0.visit_str(value).map_err(Error::into_value) in visit()
353 self.0.visit_borrowed_str(value).map_err(Error::into_value) in visit()
357 self.0.visit_char(value).map_err(Error::into_value) in visit()
[all …]
Derror.rs34 pub(super) fn into_value(self) -> value_bag::Error { in into_value() method
/third_party/rust/crates/env_logger/src/fmt/writer/termcolor/
Dextern_impl.rs68 self.default_level_style(level).into_value(level) in default_styled_level()
421 pub(crate) fn into_value<T>(self, value: T) -> StyledValue<'static, T> { in into_value() method
/third_party/rust/crates/once_cell/tests/
Dit.rs203 assert!(matches!(Lazy::into_value(l), Err(_))); in lazy_into_value()
206 assert!(matches!(Lazy::into_value(l), Ok(92))); in lazy_into_value()
586 assert!(matches!(Lazy::into_value(l), Err(_))); in lazy_into_value()
589 assert!(matches!(Lazy::into_value(l), Ok(92))); in lazy_into_value()
/third_party/rust/crates/once_cell/src/
Dlib.rs719 pub fn into_value(this: Lazy<T, F>) -> Result<T, F> { in into_value() method
1250 pub fn into_value(this: Lazy<T, F>) -> Result<T, F> { in into_value() method
/third_party/rust/crates/once_cell/
DCHANGELOG.md82 - Add `Lazy::into_value`
/third_party/rust/crates/env_logger/src/fmt/
Dmod.rs243 .into_value(text) in subtle_style()
/third_party/rust/crates/syn/src/
Dpunctuated.rs938 pub fn into_value(self) -> T { in into_value() method