Searched refs:AsRef (Results 1 – 15 of 15) 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 { 375 impl AsRef<BStr> for CStr {
|
| H A D | usb.rs | 361 impl<Ctx: device::DeviceContext> AsRef<device::Device<Ctx>> for Interface<Ctx> { 372 impl<Ctx: device::DeviceContext> AsRef<Device> for Interface<Ctx> { 449 impl<Ctx: device::DeviceContext> AsRef<device::Device<Ctx>> for Device<Ctx> { 363 impl<Ctx: device::DeviceContext> AsRef<device::Device<Ctx>> for Interface<Ctx> { global() impl 451 impl<Ctx: device::DeviceContext> AsRef<device::Device<Ctx>> for Device<Ctx> { global() impl
|
| H A D | faux.rs | 62 impl AsRef<device::Device> for Registration {
|
| H A D | device.rs | 108 /// Bus devices should also implement the following [`AsRef`] implementation, such that users can 112 /// impl<Ctx: device::DeviceContext> AsRef<device::Device<Ctx>> for Device<Ctx> { 141 /// Class devices should also implement the following [`AsRef`] implementation, such that users can 145 /// impl<T: class::Driver> AsRef<device::Device> for Device<T> { 615 impl<Ctx: DeviceContext> AsRef<Device<Ctx>> for Device<Ctx> { 633 pub unsafe trait AsBusDevice<Ctx: DeviceContext>: AsRef<Device<Ctx>> { in from_device() 604 impl<Ctx: DeviceContext> AsRef<Device<Ctx>> for Device<Ctx> { global() impl
|
| H A D | auxiliary.rs | 311 impl<Ctx: device::DeviceContext> AsRef<device::Device<Ctx>> for Device<Ctx> { impl
|
| H A D | pci.rs | 489 impl<Ctx: device::DeviceContext> AsRef<device::Device<Ctx>> for Device<Ctx> { impl
|
| H A D | platform.rs | 527 impl<Ctx: device::DeviceContext> AsRef<device::Device<Ctx>> for Device<Ctx> { impl
|
| H A D | i2c.rs | 506 impl<Ctx: device::DeviceContext> AsRef<device::Device<Ctx>> for I2cClient<Ctx> { 507 impl<Ctx: device::DeviceContext> AsRef<device::Device<Ctx>> for I2cClient<Ctx> { global() impl
|
| H A D | dma.rs | 50 pub trait Device: AsRef<device::Device<Core>> {
|
| /linux/rust/kernel/drm/ |
| H A D | device.rs | 245 impl<T: drm::Driver> AsRef<device::Device> for Device<T> {
|
| /linux/rust/kernel/list/ |
| H A D | arc.rs | 436 impl<T, const ID: u64> AsRef<Arc<T>> for ListArc<T, ID> 435 impl<T, const ID: u64> AsRef<Arc<T>> for ListArc<T, ID> global() 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 | 1015 T: ?Sized + AsRef<str>,
|
| H A D | fallback.rs | 877 T: ?Sized + AsRef<str>,
|
| H A D | wrapper.rs | 730 T: ?Sized + AsRef<str>,
|