• Home
  • Raw
  • Download

Lines Matching defs:BStr

113         fn as_ref(&self) -> &BStr {  in as_ref()
127 fn as_mut(&mut self) -> &mut BStr { in as_mut()
134 fn borrow(&self) -> &BStr { in borrow()
139 impl ToOwned for BStr { implementation
198 fn from(s: BString) -> Cow<'a, BStr> { in from() argument
314 impl fmt::Display for BStr { implementation
320 bstr: &BStr, in fmt()
373 impl fmt::Debug for BStr { implementation
408 impl ops::Deref for BStr { implementation
417 impl ops::DerefMut for BStr { implementation
424 impl ops::Index<usize> for BStr { implementation
433 impl ops::Index<ops::RangeFull> for BStr { implementation
437 fn index(&self, _: ops::RangeFull) -> &BStr { in index()
442 impl ops::Index<ops::Range<usize>> for BStr { implementation
446 fn index(&self, r: ops::Range<usize>) -> &BStr { in index()
451 impl ops::Index<ops::RangeInclusive<usize>> for BStr { implementation
455 fn index(&self, r: ops::RangeInclusive<usize>) -> &BStr { in index()
460 impl ops::Index<ops::RangeFrom<usize>> for BStr { implementation
464 fn index(&self, r: ops::RangeFrom<usize>) -> &BStr { in index()
469 impl ops::Index<ops::RangeTo<usize>> for BStr { implementation
473 fn index(&self, r: ops::RangeTo<usize>) -> &BStr { in index()
478 impl ops::Index<ops::RangeToInclusive<usize>> for BStr { implementation
482 fn index(&self, r: ops::RangeToInclusive<usize>) -> &BStr { in index()
487 impl ops::IndexMut<usize> for BStr { implementation
494 impl ops::IndexMut<ops::RangeFull> for BStr { implementation
496 fn index_mut(&mut self, _: ops::RangeFull) -> &mut BStr { in index_mut()
501 impl ops::IndexMut<ops::Range<usize>> for BStr { implementation
503 fn index_mut(&mut self, r: ops::Range<usize>) -> &mut BStr { in index_mut()
508 impl ops::IndexMut<ops::RangeInclusive<usize>> for BStr { implementation
510 fn index_mut(&mut self, r: ops::RangeInclusive<usize>) -> &mut BStr { in index_mut()
515 impl ops::IndexMut<ops::RangeFrom<usize>> for BStr { implementation
517 fn index_mut(&mut self, r: ops::RangeFrom<usize>) -> &mut BStr { in index_mut()
522 impl ops::IndexMut<ops::RangeTo<usize>> for BStr { implementation
524 fn index_mut(&mut self, r: ops::RangeTo<usize>) -> &mut BStr { in index_mut()
529 impl ops::IndexMut<ops::RangeToInclusive<usize>> for BStr { implementation
531 fn index_mut(&mut self, r: ops::RangeToInclusive<usize>) -> &mut BStr { in index_mut()
536 impl AsRef<[u8]> for BStr { implementation
545 fn as_ref(&self) -> &BStr { in as_ref()
552 fn as_ref(&self) -> &BStr { in as_ref()
557 impl AsMut<[u8]> for BStr { implementation
566 fn as_mut(&mut self) -> &mut BStr { in as_mut()
571 impl<'a> Default for &'a BStr { implementation
577 impl<'a> Default for &'a mut BStr { implementation
583 impl<'a> From<&'a [u8]> for &'a BStr { implementation
585 fn from(s: &'a [u8]) -> &'a BStr { in from()
590 impl<'a> From<&'a str> for &'a BStr { implementation
592 fn from(s: &'a str) -> &'a BStr { in from()
600 fn from(s: &'a BStr) -> Cow<'a, BStr> { in from() argument
608 fn from(s: Box<[u8]>) -> Box<BStr> { in from()
621 impl Eq for BStr {} implementation
623 impl PartialEq<BStr> for BStr { implementation
650 impl PartialOrd for BStr { implementation
657 impl Ord for BStr { implementation
690 impl Serialize for BStr { implementation
700 impl<'a, 'de: 'a> Deserialize<'de> for &'a BStr { implementation
702 fn deserialize<D>(deserializer: D) -> Result<&'a BStr, D::Error> in deserialize()
719 ) -> Result<&'de BStr, E> { in deserialize()
727 ) -> Result<&'de BStr, E> { in deserialize()