Searched refs:AsRef (Results 1 – 7 of 7) sorted by relevance
46 pub fn strip_prefix(&self, pattern: impl AsRef<Self>) -> Option<&BStr> { in strip_prefix()145 impl AsRef<BStr> for [u8] { impl151 impl AsRef<BStr> for BStr {489 impl AsRef<BStr> for CStr {
53 impl AsRef<device::Device> for Registration {
226 impl AsRef<device::Device> for Device {
458 impl AsRef<device::Device> for Device {
435 impl<T, const ID: u64> AsRef<Arc<T>> for ListArc<T, ID> impl
420 impl<T: ?Sized> AsRef<T> for Arc<T> {
284 impl AsRef<kernel::device::Device> for Device {