Lines Matching defs:CStr
153 pub struct CStr([u8]); struct
155 impl CStr { impl
231 pub const unsafe fn from_bytes_with_nul_unchecked(bytes: &[u8]) -> &CStr { in from_bytes_with_nul_unchecked()
244 pub unsafe fn from_bytes_with_nul_unchecked_mut(bytes: &mut [u8]) -> &mut CStr { in from_bytes_with_nul_unchecked_mut()
378 impl fmt::Display for CStr { implementation
407 impl fmt::Debug for CStr { implementation
438 impl AsRef<BStr> for CStr { implementation
445 impl Deref for CStr { implementation
454 impl Index<ops::RangeFrom<usize>> for CStr { implementation
467 impl Index<ops::RangeFull> for CStr { implementation
488 impl<Idx> Index<Idx> for CStr implementation