Searched refs:AsRef (Results 1 – 16 of 16) sorted by relevance
| /linux/rust/kernel/ |
| H A D | str.rs | 68 pub fn strip_prefix(&self, pattern: impl AsRef<Self>) -> Option<&BStr> { 167 impl AsRef<BStr> for [u8] { 173 impl AsRef<BStr> for BStr { 388 impl AsRef<BStr> for CStr { 154 impl AsRef<BStr> for [u8] { global() impl
|
| H A D | usb.rs | 364 impl<Ctx: device::DeviceContext> AsRef<device::Device<Ctx>> for Interface<Ctx> { in as_ref() 375 impl<Ctx: device::DeviceContext> AsRef<Device> for Interface<Ctx> { in as_ref() 452 impl<Ctx: device::DeviceContext> AsRef<device::Device<Ctx>> for Device<Ctx> { in as_ref() 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 | 582 impl<Ctx: DeviceContext> AsRef<Device<Ctx>> for Device<Ctx> { impl 600 pub unsafe trait AsBusDevice<Ctx: DeviceContext>: AsRef<Device<Ctx>> {
|
| H A D | auxiliary.rs | 398 impl<Ctx: device::DeviceContext> AsRef<device::Device<Ctx>> for Device<Ctx> { in drop() 311 impl<Ctx: device::DeviceContext> AsRef<device::Device<Ctx>> for Device<Ctx> { global() impl
|
| H A D | pci.rs | 492 impl<Ctx: device::DeviceContext> AsRef<device::Device<Ctx>> for Device<Ctx> { in as_ref() 489 impl<Ctx: device::DeviceContext> AsRef<device::Device<Ctx>> for Device<Ctx> { global() impl
|
| H A D | platform.rs | 549 impl<Ctx: device::DeviceContext> AsRef<device::Device<Ctx>> for Device<Ctx> { impl
|
| H A D | i2c.rs | 505 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 | 58 pub trait Device<'a>: AsRef<device::Device<Core<'a>>> {
|
| /linux/rust/kernel/drm/ |
| H A D | device.rs | 381 impl<T: drm::Driver, C: DeviceContext> AsRef<device::Device> for Device<T, C> {
|
| /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/zerocopy/src/ |
| H A D | byteorder.rs | 694 impl<O> AsRef<[u8; $bytes]> for $name<O> { impl 1102 FromBytes + IntoBytes + Immutable + Copy + AsRef<[u8]> + AsMut<[u8]> + Debug + Default + Eq
|
| /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>,
|