Searched refs:from_option (Results 1 – 2 of 2) sorted by relevance
128 SingularPtrField::from_option(self.into_option().map(f)) in map()163 pub fn from_option(option: Option<T>) -> SingularField<T> { in from_option() method203 pub fn from_option(option: Option<T>) -> SingularPtrField<T> { in from_option() method307 SingularPtrField::from_option(self.into_option().map(f)) in map()406 SingularField::from_option(o) in from()412 SingularPtrField::from_option(o) in from()540 Option::deserialize(deserializer).map(SingularPtrField::from_option) in deserialize()550 Option::deserialize(deserializer).map(SingularField::from_option) in deserialize()
51 pub fn from_option(option: Option<T>) -> MessageField<T> { in from_option() method117 MessageField::from_option(self.into_option().map(f)) in map()199 MessageField::from_option(o) in from()