Home
last modified time | relevance | path

Searched defs:BStr (Results 1 – 1 of 1) sorted by relevance

/linux-6.15/rust/kernel/
Dstr.rs13 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()
[all …]