Lines Matching defs:BStr
13 pub struct BStr([u8]); struct
15 impl BStr { implementation
32 unsafe { &*(bytes as *const [u8] as *const BStr) } in from_bytes() constant
46 pub fn strip_prefix(&self, pattern: impl AsRef<Self>) -> Option<&BStr> { in strip_prefix()
53 impl fmt::Display for BStr { implementation
83 impl fmt::Debug for BStr { implementation
119 impl Deref for BStr { implementation
128 impl PartialEq for BStr { implementation
134 impl<Idx> Index<Idx> for BStr implementation
146 fn as_ref(&self) -> &BStr { in as_ref()
151 impl AsRef<BStr> for BStr { implementation
152 fn as_ref(&self) -> &BStr { in as_ref()
491 fn as_ref(&self) -> &BStr { in as_ref()