Searched defs:BStr (Results 1 – 2 of 2) sorted by relevance
22 pub struct BStr([u8]); struct24 impl BStr { impl41 unsafe { &*(core::ptr::from_ref(bytes) as *const BStr) } in from_bytes() constant55 pub fn strip_prefix(&self, pattern: impl AsRef<Self>) -> Option<&BStr> { in strip_prefix()62 impl fmt::Display for BStr { implementation92 impl fmt::Debug for BStr { implementation128 impl Deref for BStr { implementation137 impl PartialEq for BStr { implementation143 impl<Idx> Index<Idx> for BStr implementation155 fn as_ref(&self) -> &BStr { in as_ref()[all …]
22 fn from_str_radix(src: &BStr, radix: u32) -> Result<Self>; in from_str_radix()31 fn strip_radix(src: &BStr) -> (u32, &BStr) { in strip_radix()