Searched defs:CStr (Results 1 – 13 of 13) 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()
145 const TYPE_NAME: &'static CStr = variable242 const TYPE_NAME: &'static CStr = variable393 const TYPE_NAME: &'static CStr = variable
286 const TYPE_NAME: &'static CStr; variable325 const TYPE_NAME: &'static CStr; variable566 const TYPE_NAME: &'static CStr = variable
108 const TYPE_NAME: &'static CStr = variable
31 const TYPE_NAME: &'static CStr = variable
258 const TYPE_NAME: &'static CStr = variable
190 const TYPE_NAME: &'static CStr = variable
62 const TYPE_NAME: &'static CStr = c_str!("dummy"); variable97 const TYPE_NAME: &'static CStr = c_str!("dummy_child"); variable
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()
156 const TYPE_NAME: &'static CStr = crate::TYPE_PL011; variable683 const TYPE_NAME: &'static CStr = crate::TYPE_PL011_LUMINARY; variable
844 const TYPE_NAME: &'static CStr = crate::TYPE_HPET; variable