Searched refs:from_inner (Results 1 – 2 of 2) sorted by relevance
109 const fn from_inner(string: &[u8]) -> &Self { in from_inner() method139 Cow::Borrowed(string) => Cow::Borrowed(Self::from_inner(string)), in new()164 Self::from_inner(string.as_bytes()) in from_str()197 Self::from_inner(string) in assert_from_raw_bytes()233 .map(|()| Self::from_inner(string))272 Self::from_inner(string) in from_raw_bytes_unchecked()458 Some((Self::from_inner(prefix), Self::from_inner(suffix))) in split_once_raw_with()573 (Self::from_inner(prefix), Self::from_inner(suffix)) in split_at()670 self.0.strip_prefix(pat).map(Self::from_inner) in strip_prefix()696 self.0.strip_suffix(pat).map(Self::from_inner) in strip_suffix()[all …]
19817 fn from_inner(ptr: NonNull<RcBox<T>>) -> Self {19822 Self::from_inner(unsafe { NonNull::new_unchecked(ptr) })19842 Self::from_inner(19903 let strong = Rc::from_inner(init_ptr);19991 Ok(Self::from_inner(20210 Rc::from_inner(mem::ManuallyDrop::new(self).ptr.cast())20680 Ok(Rc::from_inner(ptr))20946 Self::from_inner(self.ptr)21664 Some(Rc::from_inner(self.ptr))23512 fn from_inner(ptr: NonNull<ArcInner<T>>) -> Self {[all …]