Searched defs:CStr (Results 1 – 7 of 7) 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()
15 const TYPE_NAME: &'static CStr; variable16 const PARENT_TYPE_NAME: Option<&'static CStr>; variable
59 const TYPE_NAME: &'static CStr = c_str!("dummy"); in test_device_decl_macros() variable60 const PARENT_TYPE_NAME: Option<&'static CStr> = Some(device_class::TYPE_DEVICE); in test_device_decl_macros() variable
109 const TYPE_NAME: &'static CStr = crate::TYPE_PL011; variable110 const PARENT_TYPE_NAME: Option<&'static CStr> = Some(TYPE_SYS_BUS_DEVICE); variable663 const TYPE_NAME: &'static CStr = crate::TYPE_PL011_LUMINARY; variable664 const PARENT_TYPE_NAME: Option<&'static CStr> = Some(crate::TYPE_PL011); 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()