Searched defs:CStr (Results 1 – 4 of 4) sorted by relevance
63 pub struct CStr([u8]); struct65 impl CStr { impl141 pub const unsafe fn from_bytes_with_nul_unchecked(bytes: &[u8]) -> &CStr { in from_bytes_with_nul_unchecked()211 impl fmt::Display for CStr { implementation240 impl fmt::Debug for CStr { implementation271 impl AsRef<BStr> for CStr { implementation278 impl Deref for CStr { implementation287 impl Index<ops::RangeFrom<usize>> for CStr { implementation300 impl Index<ops::RangeFull> for CStr { implementation321 impl<Idx> Index<Idx> for CStr implementation
142 pub fn name(&self) -> Option<&'static CStr> { in name()159 pub fn name(&self) -> Option<&'static CStr> { in name()
95 pub fn new(name: &'static CStr, key: &'static LockClassKey) -> impl PinInit<Self> { in new()
103 pub fn new(t: T, name: &'static CStr, key: &'static LockClassKey) -> impl PinInit<Self> { in new()