Lines Matching defs:String
365 pub struct String { struct
369 /// A possible error value when converting a `String` from a UTF-8 byte vector. argument
430 impl String { impl
498 pub fn with_capacity(capacity: usize) -> String { in with_capacity()
508 pub fn from_str(_: &str) -> String { in from_str()
570 pub fn from_utf8(vec: Vec<u8>) -> Result<String, FromUtf8Error> { in from_utf8()
680 pub fn from_utf16(v: &[u16]) -> Result<String, FromUtf16Error> { in from_utf16()
722 pub fn from_utf16_lossy(v: &[u16]) -> String { in from_utf16_lossy()
810 pub unsafe fn from_raw_parts(buf: *mut u8, length: usize, capacity: usize) -> String { in from_raw_parts()
845 pub unsafe fn from_utf8_unchecked(bytes: Vec<u8>) -> String { in from_utf8_unchecked()
1687 pub fn split_off(&mut self, at: usize) -> String { in split_off()
1991 impl Clone for String { implementation
2003 impl FromIterator<char> for String { implementation
2013 impl<'a> FromIterator<&'a char> for String { implementation
2023 impl<'a> FromIterator<&'a str> for String { implementation
2033 impl FromIterator<String> for String { implementation
2052 impl FromIterator<Box<str>> for String { implementation
2062 impl<'a> FromIterator<Cow<'a, str>> for String { implementation
2063 fn from_iter<I: IntoIterator<Item = Cow<'a, str>>>(iter: I) -> String { in from_iter()
2082 impl Extend<char> for String { implementation
2103 impl<'a> Extend<&'a char> for String { implementation
2121 impl<'a> Extend<&'a str> for String { implementation
2134 impl Extend<Box<str>> for String { implementation
2142 impl Extend<String> for String { implementation
2148 fn extend_one(&mut self, s: String) { in extend_one()
2155 impl<'a> Extend<Cow<'a, str>> for String { implementation
2178 impl<'a, 'b> Pattern<'a> for &'b String { implementation
2251 impl Default for String { implementation
2260 impl fmt::Display for String { implementation
2268 impl fmt::Debug for String { implementation
2276 impl hash::Hash for String { implementation
2322 impl Add<&str> for String { implementation
2326 fn add(mut self, other: &str) -> String { in add()
2337 impl AddAssign<&str> for String { implementation
2345 impl ops::Index<ops::Range<usize>> for String { implementation
2354 impl ops::Index<ops::RangeTo<usize>> for String { implementation
2363 impl ops::Index<ops::RangeFrom<usize>> for String { implementation
2372 impl ops::Index<ops::RangeFull> for String { implementation
2381 impl ops::Index<ops::RangeInclusive<usize>> for String { implementation
2390 impl ops::Index<ops::RangeToInclusive<usize>> for String { implementation
2400 impl ops::IndexMut<ops::Range<usize>> for String { implementation
2407 impl ops::IndexMut<ops::RangeTo<usize>> for String { implementation
2414 impl ops::IndexMut<ops::RangeFrom<usize>> for String { implementation
2421 impl ops::IndexMut<ops::RangeFull> for String { implementation
2428 impl ops::IndexMut<ops::RangeInclusive<usize>> for String { implementation
2435 impl ops::IndexMut<ops::RangeToInclusive<usize>> for String { implementation
2443 impl ops::Deref for String { implementation
2453 impl ops::DerefMut for String { implementation
2470 impl FromStr for String { implementation
2473 fn from_str(s: &str) -> Result<String, Self::Err> { in from_str()
2503 fn to_string(&self) -> String; in to_string()
2520 default fn to_string(&self) -> String { in to_string()
2534 fn to_string(&self) -> String { in to_string()
2543 fn to_string(&self) -> String { in to_string()
2552 fn to_string(&self) -> String { in to_string()
2561 fn to_string(&self) -> String { in to_string()
2581 fn to_string(&self) -> String { in to_string()
2604 fn to_string(&self) -> String { in to_string()
2613 fn to_string(&self) -> String { in to_string()
2620 impl ToString for String { implementation
2622 fn to_string(&self) -> String { in to_string()
2631 fn to_string(&self) -> String { in to_string()
2637 impl AsRef<str> for String { implementation
2645 impl AsMut<str> for String { implementation
2653 impl AsRef<[u8]> for String { implementation
2662 impl From<&str> for String { implementation
2667 fn from(s: &str) -> String { in from()
2674 impl From<&mut str> for String { implementation
2679 fn from(s: &mut str) -> String { in from()
2686 impl From<&String> for String { implementation
2691 fn from(s: &String) -> String { in from()
2699 impl From<Box<str>> for String { implementation
2714 fn from(s: Box<str>) -> String { in from()
2742 impl<'a> From<Cow<'a, str>> for String { implementation
2759 fn from(s: Cow<'a, str>) -> String { in from()
2877 impl fmt::Write for String { implementation
3000 impl From<char> for String { implementation