Searched refs:AsRef (Results 1 – 14 of 14) sorted by relevance
| /linux/rust/kernel/ |
| H A D | str.rs | 55 pub fn strip_prefix(&self, pattern: impl AsRef<Self>) -> Option<&BStr> { in strip_prefix() 154 impl AsRef<BStr> for [u8] { impl 160 impl AsRef<BStr> for BStr { 372 impl AsRef<BStr> for CStr {
|
| H A D | usb.rs | 345 impl<Ctx: device::DeviceContext> AsRef<device::Device<Ctx>> for Interface<Ctx> { impl 356 impl<Ctx: device::DeviceContext> AsRef<Device> for Interface<Ctx> { 433 impl<Ctx: device::DeviceContext> AsRef<device::Device<Ctx>> for Device<Ctx> { impl
|
| H A D | faux.rs | 53 impl AsRef<device::Device> for Registration {
|
| H A D | auxiliary.rs | 280 impl<Ctx: device::DeviceContext> AsRef<device::Device<Ctx>> for Device<Ctx> { impl
|
| H A D | pci.rs | 473 impl<Ctx: device::DeviceContext> AsRef<device::Device<Ctx>> for Device<Ctx> { impl
|
| H A D | device.rs | 608 pub unsafe trait AsBusDevice<Ctx: DeviceContext>: AsRef<Device<Ctx>> {
|
| H A D | platform.rs | 496 impl<Ctx: device::DeviceContext> AsRef<device::Device<Ctx>> for Device<Ctx> { impl
|
| H A D | dma.rs | 33 pub trait Device: AsRef<device::Device<Core>> {
|
| H A D | i2c.rs | 498 impl<Ctx: device::DeviceContext> AsRef<device::Device<Ctx>> for I2cClient<Ctx> { impl
|
| /linux/rust/kernel/list/ |
| H A D | arc.rs | 435 impl<T, const ID: u64> AsRef<Arc<T>> for ListArc<T, ID> impl
|
| /linux/rust/syn/ |
| H A D | lit.rs | 1264 pub(crate) fn byte<S: AsRef<[u8]> + ?Sized>(s: &S, idx: usize) -> u8 { in byte() 1616 S: Index<RangeFrom<usize>, Output = S> + AsRef<[u8]> + ?Sized, in backslash_x() 1639 S: Index<RangeFrom<usize>, Output = S> + AsRef<[u8]> + ?Sized, in backslash_u()
|
| /linux/rust/proc-macro2/ |
| H A D | lib.rs | 1011 T: ?Sized + AsRef<str>,
|
| H A D | fallback.rs | 877 T: ?Sized + AsRef<str>,
|
| H A D | wrapper.rs | 730 T: ?Sized + AsRef<str>,
|